From: Eli Zaretskii <eliz@gnu.org>
To: Nicolas Martyanoff <khaelin@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Possible regression in dired when renaming directories
Date: Sun, 10 Apr 2022 17:58:01 +0300 [thread overview]
Message-ID: <83a6ct6l52.fsf@gnu.org> (raw)
In-Reply-To: <87pmlp56y9.fsf@valhala.localdomain> (message from Nicolas Martyanoff on Sun, 10 Apr 2022 16:49:50 +0200)
> From: Nicolas Martyanoff <khaelin@gmail.com>
> Date: Sun, 10 Apr 2022 16:49:50 +0200
> Cc: Nicolas Martyanoff <khaelin@gmail.com>, emacs-devel@gnu.org
>
> - 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.
Right, thanks.
Please report a bug using "M-x report-emacs-bug RET", with this
recipe. I don't think this was intended, but I will investigate.
prev parent reply other threads:[~2022-04-10 14:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-10 13:28 Possible regression in dired when renaming directories Nicolas Martyanoff
2022-04-10 14:00 ` Eli Zaretskii
2022-04-10 14:49 ` Nicolas Martyanoff
2022-04-10 14:58 ` Eli Zaretskii [this message]
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=83a6ct6l52.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=khaelin@gmail.com \
/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).