GNU bug report logs - #52004
dired-rename-subdir-2: Expected to find ‘/tmp/a/./’ in headerline of /tmp/a/

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sat, 20 Nov 2021 18:57:02 UTC

Severity: minor

Tags: confirmed

Merged with 21537, 30578

Found in versions 24.5, 26.0

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: 52004 <at> debbugs.gnu.org
Subject: bug#52004: dired-rename-subdir-2: Expected to find ‘/tmp/a/./’ in headerline of /tmp/a/
Date: Sun, 21 Nov 2021 02:56:42 +0800
$ mkdir /tmp/a /tmp/b
$ emacs -Q /tmp/a
Put the cursor on the "." line, and hit R and try and move it to /tmp/b .
Overwrite ‘/tmp/b’? [Type yn!q or C-h] y
dired-rename-subdir-2: Expected to find ‘/tmp/a/./’ in headerline of /tmp/a/

Yes, on /tmp we can move /tmp/a to /tmp/b (creating /tmp/a/b/) easily.

But still, the above problem should be detected earlier, before the
question is shown to the user.

emacs-version "27.1"




This bug report was last modified 2 years and 237 days ago.

Previous Next


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