[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (git); tramp-convert-file-attributes added remove of double sl
Re: tramp (git); tramp-convert-file-attributes added remove of double slash in symlink
Fri, 28 Aug 2015 18:39:49 +0200
KMail/4.14.9 (Linux/4.1.6-200.fc22.x86_64; KDE/4.14.9; x86_64; ; )
> address@hidden (Pierre Téchoueyres) writes:
> > Hello,
> Hi Pierre,
> > Commit 0eb3e58 introduced the remove of double slash in symlink
> > origin. Is this behavior really wanted ? This introduce a difference
> > in dired between in local and remote directories.
> I believe, in the local case it shall do it as well.
In local dired (at least with 24.5) this is displayed as :
lrwxrwxrwx 1 ptechoueyres users 12 20.08.2015 22:45 tmp -> /tmp/..//tmp
With ssh dired on the same dir :
lrwxrwxrwx 1 ptechoueyres users 12 20.08.2015 22:45 tmp -> /tmp/../tmp
> > I think it's better to leave the symlink "as is".
> Does it cause a problem?
Yes, and no. No as nothing goes wrong, but IMO tramp should not try to
correct/hide users mistakes.
In fact I think hidding such thing make it harder to correct them.
If I see an uncorrected link I could ask the admin to correct them. If I don't
see them ...
Just my 0.002€ :-)
Best regards, Pierre