[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: symlink weirdness
From: |
Stefan Monnier |
Subject: |
Re: symlink weirdness |
Date: |
Tue, 14 Sep 2004 21:09:29 GMT |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) |
>> ln -s `relpath $C $B` $C
> Though I can't off the top of my head think of any other tools that
> might benefit from it, I like that idea.
It's sufficiently useful for Emacs to have a function that does just that:
file-relative-name. It doesn't pay attention to symlinks, tho (more to the
point, the function is a pure string-manipulation and works without even
looking at the file system AFAIK) so the result might not work.
Stefan
- symlink weirdness, Roger Dahl, 2004/09/13
- Re: symlink weirdness, Barry Margolin, 2004/09/13
- Re: symlink weirdness, Sam Holden, 2004/09/13
- Re: symlink weirdness, Roger Dahl, 2004/09/14
- Re: symlink weirdness,
Stefan Monnier <=
- Re: symlink weirdness, Roger Dahl, 2004/09/15
- Re: symlink weirdness, Stefan Monnier, 2004/09/15
- Re: symlink weirdness, Roger Dahl, 2004/09/16
- Re: symlink weirdness, Paul Jarc, 2004/09/16
- Re: symlink weirdness, Barry Margolin, 2004/09/18
Re: symlink weirdness, Barry Margolin, 2004/09/13
Re: symlink weirdness, Tim Smith, 2004/09/14