>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> Bo Peng wrote: >>> Here's the output from my linux box together with a small fix. >>> >>> $ diff -u -Bbw ../build/lib/lyxrc.defaults . > lyxrc.diff $ diff >>> -u configure_orig.py configure.py > configure.diff >> How do you like the attached new version? checkProg() now handles >> rc file and all info about checked program is now complete at one >> function call. Angus> It's looking good, but it occurs to me that you're trying to Angus> replace the LyX 1.3.6 version of configure. You should really Angus> be looking to the 1.4.0CVS version... I agree to both remarks. Concerning Bo's remark that a lot of win32/mac specific code is going to be added, we should think a bit about that before actually doing it. One solution would be to add code at LyX level to use OS-provided hooks for opening documents. Then we could decide that these OS-provided hooks override what LyX wants to do. The other solution is to do it in the python script. However, I do not know what abilities python has to discover these things. I do not like much the code that searches the registry in windows. JMarc