On Mon, Oct 16, 2006 at 07:47:24AM +0200, Joost Verburg wrote: > Enrico Forestieri wrote: > > 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. > > You are talking about a Cygwin specific situation here. On Windows, the > detection of UNIX applications doesn't make any sense.
I don't agree with this statement. Not all possible file formats have a viewer or editor registered with Windows and in this case it makes sense trying to detect some default. > What is the correct behavior on Cygwin? Should the Cygwin UNIX tools get > priority or the Windows file associations? No, the consensus is that if there is a program associated to a format at the OS level, than that is to be preferred. Pay attention that you can still override the association by explicitly selecting a specifing program in preferences. > Are there any Cygwin > guidelines for this? The same guidelines as those on Linux should be used for Cygwin, but Cygwin runs on top of Windows and we can take advantage of this. -- Enrico
