GNU bug report logs - #21537
24.5; dired R rename of current directory

Previous Next

Package: emacs;

Reported by: Kevin Ryde <user42_kevin <at> yahoo.com.au>

Date: Wed, 23 Sep 2015 11:12:01 UTC

Severity: minor

Tags: confirmed

Merged with 30578, 52004

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: Kevin Ryde <user42_kevin <at> yahoo.com.au>
To: 21537 <at> debbugs.gnu.org
Subject: bug#21537: 24.5; dired R rename of current directory
Date: Wed, 23 Sep 2015 21:04:34 +1000
In dired, attempting to "R" rename the current directory gets an error,

   mkdir /tmp/foo
   emacs -Q /tmp/foo
   p, p               # move point to "." entry
   R /tmp/bar
   =>
   dired-rename-subdir-2: Expected to find `/tmp/foo/./' in headerline of /tmp/foo/

The directory is successfully renamed to "bar", but apparently something
in the refresh of the buffer does not recognise it.  It'd be good if the
notion of current directory in the buffer followed to the new name.


In GNU Emacs 24.5.1 (i586-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2015-06-29 on x86-csail-01, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11702000
Configured using:
 `configure --build i586-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
 --build i586-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --localstatedir=/var/lib
 --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
 --with-x=yes --with-x-toolkit=lucid --with-toolkit-scroll-bars
 --without-gconf --without-gsettings 'CFLAGS=-g -O2
 -fstack-protector-strong -Wformat -Werror=format-security -Wall'
 CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-z,relro'




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

Previous Next


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