GNU bug report logs -
#54838
28.1; Buffers are not updated when a directory is renamed in dired
Previous Next
Reported by: Nicolas Martyanoff <khaelin <at> gmail.com>
Date: Sun, 10 Apr 2022 15:26:01 UTC
Severity: normal
Found in version 28.1
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi,
Following an update from 27.2 to 28.1, when a directory is renamed in
dired, buffers visiting files located in this directory are not updated
to visit the file at its new location.
To reproduce the problem in emacs -Q:
- C-x C-f /tmp/dir1/file
- C-x C-s
Answer 'y' to the prompt to create the directory. At this point the
buffer 'file' visits /tmp/dir1/file, and the file exists on the disk.
- Run dired in /tmp.
- Rename /tmp/dir1 into /tmp/dir2, e.g. using 'R'.
- Switch to the 'file' buffer. It still visits /tmp/dir1/file even
though the file is now located in /tmp/dir2.
--
Nicolas Martyanoff
http://snowsyn.net
khaelin <at> gmail.com
This bug report was last modified 3 years and 39 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.