>>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:

Angus> This is a clean-up of Ruurd's code replacing "/dev/null" in
Angus> user code with os::nulldev() and GetEnvPath("HOME") with
Angus> os::homepath().

That's OK with me.

In the future, it would be nice to abstract the value of user_lyxdir
in a better way, since we want different things for different
environments:

- ~/.lyx for unix (and fink and maybe cygwin)
- ~/Library/Preferences/LyX for LyX/Mac (but not fink)
- User Data/whatever for LyX/win (but maybe not cygwin)

Similarly, the choice of the system_lyxdir should be abstracted. The
problem is that in the case of OSX, the LyX kernel does not know
whether we build LyX/Mac or plain LyX. So we proabably need a notion
of packaging different from the notion of os.

Jut something to keep in mind.

JMarc

Reply via email to