GNU bug report logs - #31068
27.0.50; Renaming archives fails due to tramp-archive

Previous Next

Package: emacs;

Reported by: Allen Li <darkfeline <at> felesatra.moe>

Date: Thu, 5 Apr 2018 07:33:01 UTC

Severity: normal

Found in version 27.0.50

Fixed in version 27.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Allen Li <darkfeline <at> felesatra.moe>
Cc: 31068 <at> debbugs.gnu.org
Subject: bug#31068: 27.0.50; Renaming archives fails due to tramp-archive
Date: Thu, 05 Apr 2018 14:33:14 +0200
Allen Li <darkfeline <at> 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.




This bug report was last modified 7 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.