[gollem] relative paths
kevin mcgowan
clunis at umich.edu
Thu May 8 18:07:01 PDT 2003
On Thursday, May 8, 2003, at 04:42 PM, Chuck Hagenbuch wrote:
> Can you say why you think the latter is more theoretically sound? In my
> experience, a ~ has to be at the beginning of a path to be
> processed/recognized correctly; I'm not sure why we'd want to process
> them
> *inside* paths...
I agree with that completely, actually. I think reaching into the
middle of a path to find a tilde is pretty ridiculous/gross. At the
same time, though, I feel that getNativePath is the right place to do
tilde expansion. I'd be happy to change my mind on that if people who
know the VFS stuff better disagree.
Perhaps the relative paths patch could not prepend current working
directory if the argument to the change directory command begins with a
tilde ( maybe based on a configuration option )? This puts tilde
expansion in the file backend without breaking relative paths ( unless,
of course, someone has a relative path that is supposed to begin with
an actual tilde ).
Kevin
... "i am filled with solutions!"
...
More information about the gollem
mailing list