|
From: | Michael Albinus |
Subject: | bug#31068: 27.0.50; Renaming archives fails due to tramp-archive |
Date: | Thu, 05 Apr 2018 14:33:14 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Allen Li <darkfeline@felesatra.moe> writes: > 1. touch /tmp/foo.7z > 2. emacs -Q > 3. C-x C-f /tmp RET > 4. Use R to rename foo.7z to bar.7z > > An error is signaled. The debug output: The relevant parts are > dired-fun-in-all-buffers("/tmp/bar.7z/" nil dired-rename-subdir-1 > "/tmp/bar.7z/" "/tmp/foo.7z/") > dired-rename-subdir("/tmp/bar.7z" "/tmp/foo.7z") > dired-rename-file("/tmp/bar.7z" "/tmp/foo.7z" nil) Why does `dired-rename-file' calls `dired-rename-subdir'? "/tmp/bar.7z" is just a file. Best regards, Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |