On Mon, 13 Oct 2003, Angus Leeming wrote:
> Joao Luis Meloni Assirati wrote: > > > See the last email in the thread on the lyxsocket. I have arguments > > in favour of my choice, but if people thint that it must change, > > I'll do it. > > No, I think your points about afs are enough. I didn't realise that > lyxclient will search for the socket. To be robust, it would have to > ascertain that the user is using /tmp as the lyx temp directory. Ie, > it would have to parse ~/.lyx/preferences looking for > \use_tempdir false > \tempdir_path "/tmp2" Yes, I think about this. It would not be difficult to parse user configuration, but in the first approximation I decided not to do this. Instead, you can pass the option -t <tmp dir> to specify /tmp2 as the tempdir where to look for lyx_tmpdir... In regard to '\use_tempdir false', even in this case lyx creates lyx_tmpdir... in /tmp (but it doesn't use it to store temporary .tex, .dvi, etc), so I think that there is no problem in still using it. > Of course, here I have my preferences in ~/.lyx-1.3.x/preferences > because I passed --with-version-suffix to configure... So if lyxclient is to be parsing user configuration, the --with-version-suffix must also modify lyxclient configuration. Not difficult to do, but we may postpone, don't you think? Regards, João.