Hans Meine wrote:
Am Montag, 28. Januar 2008 12:21:15 schrieb Jean-Marc Lasgouttes:
[EMAIL PROTECTED] writes:
Author: rgheck
Date: Sat Jan 26 21:41:19 2008
New Revision: 22687

URL: http://www.lyx.org/trac/changeset/22687
Log:
Fix some problems in makeAbsPath():
i.  It didn't handle a leading "~"
Is it really supposed to? This tilde is only used for nice display
right now, and is not an 'official' syntax of unix files (only some
convenience from several shells AFAIK).

Furthermore, if ~/foo.lyx is supported, ~his/foo.lyx should be, too IMHO.
Looking at http://www.lyx.org/trac/changeset/22687, it suggests that expandPath() does not, either?

That's right: I was trying to bring makeAbsPath into line with expandPath. It's clear why the latter supports "~": Because one might want to configure the path to, say, the lyxpipe as: ~/.lyx/lyxpipe. How useful it is in the other case, I'm not sure, but I was surprised when it didn't work during my testing, so....

Richard

Reply via email to