GNU bug report logs - #66272
Dired: Reverting buffers of renamed directories

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Sat, 30 Sep 2023 03:30:02 UTC

Severity: normal

Found in version 30.0.50

Full log


Message #8 received at 66272 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: 66272 <at> debbugs.gnu.org
Subject: Re: bug#66272: 30.0.50; Dired fails to revert when wildchars in path
Date: Sun, 01 Oct 2023 03:27:22 +0200
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

>   1. dired /home/micha/Treasure/today/test?dir/a [I see the three
>      files as expected]
>   2. Rename directory "a" to "b".  I did that from a second dired buffer
>      of "test?dir" using wdired, but it should not matter.
>   3. Go back to the first dired buffer and hit g.  Then my buffer
>      only displays these contents:
>
> | ls: cannot access 'test?dir/b/': No such file or directory
> | //DIRED-OPTIONS// --quoting-style=literal

Hmm - reverting seems to fail always (dired doesn't know that the
directory name changed), but in the case of a name without special
wildcard patterns dired just complains that the file doesn't exist.  The
way of failing seems to be different in these cases, which confused me.

Can we make it so that the failing behavior is the same in both cases?

Michael.




This bug report was last modified 1 year and 255 days ago.

Previous Next


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