GNU bug report logs -
#28156
Emacs quietly munges symlink contents
Previous Next
Reported by: Paul Eggert <eggert <at> cs.ucla.edu>
Date: Sun, 20 Aug 2017 10:29:01 UTC
Severity: normal
Tags: patch
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
>> Quoting does not work for these cases. If I try to rename a symlink to the
>> literal string '~eggert' on my machine, Emacs will misbehave as described and
>> there is no way to quote the string naming the symlink to fix this.
>
> That is but one use case of many. In other cases, quoting does work.
My point is that there is a bug in some cases. I agree that in other cases,
make-symbolic-link does work.
> your proposed changes will disallow some of the
> users' capabilities to do what you want.
With the proposed changes a user can create a local symlink to an any string
supported by the operating system. This change increases users' capabilities,
compared to what they can do now. This change does not take away any capabilities.
> they seem to
> sacrifice a very common interactive use case on behalf of a much more
> rare and obscure one. I'm talking about a user typing this:
>
> M-x make-symbolic-link RET ~/foo/bar RET /toto/quux RET
Good suggestion, also made by others. Revised patch attached.
[0001-Do-not-munge-contents-of-local-symbolic-links.patch (text/x-patch, attachment)]
This bug report was last modified 7 years and 270 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.