Re: dired and wdired problems

Madhu via "Emacs development discussions." <[email protected]> Mon, 27 Jul 2026 12:25:11 +0530
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
The current dired behaviour on master when reading a wildcard which
doesn't exist is thus:

mkdir /tmp/a
emacs -Q /tmp/a

  - this starts up with dired with a single window showing the empty
    directory /tmp/a

M-x dired /tmp/a/*nonexist* RET

This results in two windows, and shows *scratch* in the top window and
*ls error* in the bottom window. now repeat the same command:

M-x dired /tmp/a/*nonexist* RET

This switches the buffer in the top window to show `/tmp/a' again

The behaviour I expect is that if dired cannot display the directory it
shouln't switch the buffer currently being displayed.  What do you
think?