Joao Luis Meloni Assirati wrote: > > Hello Angus! > > On Mon, 13 Oct 2003, Angus Leeming wrote: > >> João, I am not going to commit this patch as it stands. >> I think that you should think about Lars' suggestion to place the >> socket files in ~/.lyx/socket.#pid. Doing so would mean you >> changing getBufferFromTmp to getBufferFromPID or similar. > > 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" Of course, here I have my preferences in ~/.lyx-1.3.x/preferences because I passed --with-version-suffix to configure... If only life were simple... -- Angus