From: Nicolas Martyanoff <khaelin@gmail.com>
To: 54838@debbugs.gnu.org
Subject: bug#54838: 28.1; Buffers are not updated when a directory is renamed in dired
Date: Sun, 10 Apr 2022 17:25:40 +0200 [thread overview]
Message-ID: <87ilrh55aj.fsf@valhala.localdomain> (raw)
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@gmail.com
next reply other threads:[~2022-04-10 15:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-10 15:25 Nicolas Martyanoff [this message]
2022-04-10 17:14 ` bug#54838: 28.1; Buffers are not updated when a directory is renamed in dired Eli Zaretskii
2022-04-10 17:19 ` Tassilo Horn
2022-04-10 17:38 ` Eli Zaretskii
2022-04-11 7:59 ` Nicolas Martyanoff
2022-04-11 11:33 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ilrh55aj.fsf@valhala.localdomain \
--to=khaelin@gmail.com \
--cc=54838@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).