On Mon, Oct 16, 2006 at 12:23:53AM +0200, Joost Verburg wrote: > Enrico Forestieri wrote: > > No, this is not acceptable because you are changing the behaviour on > > the other systems (currently only cygwin and OSX). > > So the Windows file associations are also used on Cygwin? I added that > to the attached patch. > > I think we don't have auto-detection for Mac OS X. Or am I overlooking > something?
Yes, both Cygwin and OSX use the same mechanism used on Windows. > > Moreover, I think that configure.py should still try to find some > > suitable application for a given task, such that, when no defaults > > are set in the OS, the ones find by the lookup can be used. > > It has been decided that the OS settings will be used for viewers. It is > not the task of LyX to detect specific ones. Yes, I agree with that. My point is that the detection performed by configure.py is still useful in case a default is not set in the OS. Indeed, in this case you still have a viewer instead of nothing. This is most important on Cygwin because one could use tetex, which does not register any viewer for DVI, as an example. So, I do not agree with the philosophy of the patch. -- Enrico
