[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Feature Request: make sane symlinks on remote host.
From: |
Kai Großjohann |
Subject: |
Re: Feature Request: make sane symlinks on remote host. |
Date: |
Thu, 18 Jul 2002 10:20:14 +0200 |
User-agent: |
Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu) |
Steve Youngs <address@hidden> writes:
> (make-symbolic-link "/address@hidden/path/file"
> "/path/symlink")
> => FILENAME -> remote; LINKNAME -> local
>
> (make-symbolic-link "/path/file"
> "/address@hidden/path/symlink")
> => FILENAME -> local; LINKNAME -> remote
>
> (make-symbolic-link "/address@hidden/path/file"
> "/address@hidden/path/symlink")
> => FILENAME -> remote; LINKNAME -> remote
The current implementation produces something strange (an error,
perhaps) for the first case, and it creates a symlink pointing from
the file /address@hidden/path/symlink to the file /address@hidden/path/file
in the other two cases.
For the other two cases, this means that logging in as address@hidden,
then doing "ls -l /path/symlink" will show something like
"symlink -> /path/file" in the current implementation.
I think you want the behavior for the first case to differ: you want
the first statement to have the same effect as the third statement.
I disagree with both the current implementation and with your
suggestion (or what I think your suggestion is). In my opinion,
after calling make-symbolic-link with "STRING" as the first argument,
"ls -l" should *always* print "foo -> STRING", regardless of what
characters STRING contains. So if STRING is "/][][@@@address@hidden", then the
"ls -l" output should be "foo -> /][][@@@address@hidden". Only when
_following_ the symlink is it interpreted as a filename, relative to
the source of the symlink. This would be aligned with the spirit of
the "ls -s" command in Unix, in my opinion.
kai
--
A large number of young women don't trust men with beards. (BFBS Radio)
- Re: Feature Request: make sane symlinks on remote host., (continued)
- Re: Feature Request: make sane symlinks on remote host., Kai Großjohann, 2002/07/09
- Re: Feature Request: make sane symlinks on remote host., Steve Youngs, 2002/07/10
- Re: Feature Request: make sane symlinks on remote host., Kai Großjohann, 2002/07/10
- Re: Feature Request: make sane symlinks on remote host., Steve Youngs, 2002/07/10
- Re: Feature Request: make sane symlinks on remote host., Kai Großjohann, 2002/07/11
- Re: Feature Request: make sane symlinks on remote host., Steve Youngs, 2002/07/12
- Re: Feature Request: make sane symlinks on remote host., Kai Großjohann, 2002/07/13
- Re: Feature Request: make sane symlinks on remote host., Steve Youngs, 2002/07/14
- Re: Feature Request: make sane symlinks on remote host., Kai Großjohann, 2002/07/14
- Re: Feature Request: make sane symlinks on remote host., Steve Youngs, 2002/07/17
- Re: Feature Request: make sane symlinks on remote host.,
Kai Großjohann <=