|
From: | Michael Albinus |
Subject: | bug#28156: Emacs quietly munges symlink contents |
Date: | Sun, 20 Aug 2017 20:28:15 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Paul Eggert <eggert@cs.ucla.edu> writes: >> We have quoting for these cases. > > 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. (make-symbolic-link "~/.emacs" "/:/tmp/~eggert") # ls -l /tmp [...] lrwxrwxrwx 1 albinus albinus 20 Aug 20 20:24 ~eggert -> /home/albinus/.emacs (rename-file "/:/tmp/~eggert" "/:/tmp/~albinus") # ls -l /tmp [...] lrwxrwxrwx 1 albinus albinus 20 Aug 20 20:24 ~albinus -> /home/albinus/.emacs Best regards, Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |