emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54838: closed (28.1; Buffers are not updated when a directory is ren


From: GNU bug Tracking System
Subject: bug#54838: closed (28.1; Buffers are not updated when a directory is renamed in dired)
Date: Mon, 11 Apr 2022 11:34:01 +0000

Your message dated Mon, 11 Apr 2022 14:33:18 +0300
with message-id <83wnfv6eip.fsf@gnu.org>
and subject line Re: bug#54838: 28.1; Buffers are not updated when a directory 
is renamed in dired
has caused the debbugs.gnu.org bug report #54838,
regarding 28.1; Buffers are not updated when a directory is renamed in dired
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
54838: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54838
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 28.1; Buffers are not updated when a directory is renamed in dired Date: Sun, 10 Apr 2022 17:25:40 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
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



--- End Message ---
--- Begin Message --- Subject: Re: bug#54838: 28.1; Buffers are not updated when a directory is renamed in dired Date: Mon, 11 Apr 2022 14:33:18 +0300
> From: Nicolas Martyanoff <khaelin@gmail.com>
> Cc: Nicolas Martyanoff <khaelin@gmail.com>,  Tassilo Horn <tsdh@gnu.org>,
>   54838@debbugs.gnu.org
> Date: Mon, 11 Apr 2022 09:59:03 +0200
> 
> With your patch applied on HEAD, directory renaming seems to be working
> correctly (tested with direct children and with nested directories).
> 
> Thank you so much for such a quick patch!

Thanks for testing.  I've now installed the changes on the emacs-28
branch, and they will appear in Emacs 28.2.  I'm therefore closing
this bug.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]