Jean-Marc Lasgouttes wrote:
> Angus> 2. LyX currently doesn't behave too well if the root temp
> Angus> directory does not exist. I guess that it should try to create
> Angus> it and exit if it fails.
>>>  In which cases does this happen?
> 
> Angus> When the temp directory is specified as "C:/tmp", as happens by
> Angus> default on Windows ATM without this packaging patch. Or when
> Angus> the user specifies the temp directory using LyXRC as, say,
> Angus> "$HOME/tmp".
> 
> I see. It may be better to exit without even trying to create the
> directory. I do not like much programs that create directories outside
> of their own sandbox.

Then let's do that then.

Just for reference, here's my list of pending items:

* setEnvPath and adding the path to the LyX binary to PATH for MacOSX and
Windows. That's in the pipeline.

* Define and use LyXRC::path_prefix and get rid of the hard-coded MacOSX
nastiness in lyx_main.C.

* Augment the 1.3.x version of LibScriptSearch to recognize $$s, just like
the 1.4.x version does. (Just backport the 1.4.x code, actually.) We've
been getting reports from the Windows users that things like
convertDefault.sh and lyx2lyx aren't starting and that's entirely because
of the way they're invoked.

* Exit if the Package::temp_dir() does not exist and the user has
LyXRC::use_tempdir == true (use_tempdir is used only on 1.3.x).

* Kayvan's cygwin_path_fix thingie.

Once that little lot is done, I'll revisit Ruurd's patch and see what's
left to do there.

-- 
Angus

Reply via email to