|
From: | Paul Eggert |
Subject: | bug#28156: Emacs quietly munges symlink contents |
Date: | Mon, 21 Aug 2017 10:34:27 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
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
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |