From: "Drew Adams" <drew.adams@oracle.com>
To: "'Chong Yidong'" <cyd@stupidchicken.com>
Cc: 4792@emacsbugs.donarmstrong.com
Subject: bug#4792: 23.1; dired-insert-directory: doesn't indent header lines if no files
Date: Sat, 24 Oct 2009 12:07:19 -0700 [thread overview]
Message-ID: <C752015B80B34CC4ABFFBE5B4A0A03E9@us.oracle.com> (raw)
In-Reply-To: <87zl7geib9.fsf@stupidchicken.com>
> > emacs -q
> > C-x d some-directory-that-does-not-exist
>
> > The listing looks like this:
> > c:/Emacs-23.1/lisp:
> > wildcard some-directory-that-does-not-exist
> > (No match)
> > total used in directory 0 available 26402560
>
> I can't reproduce this. C-x d
> some-directory-that-does-not-exist gives an error
>
> "Reading directory: no such file or directory, some-directory"
>
> This is both with and without ls-lisp loaded.
Hey, what can I say? Did you actually try it on MS Windows?
This is 100% reproducible for me, using emacs -Q in 23.1.
And I don't think it _should_ be raising an error. You should be able to use any
wildcard expression (and that's what this is, in fact), and a Dired buffer
should be opened showing you the matches - even if there are none.
IOW, using `some-directory-that-does-not-exist' is no different from using
`*.jjjjjjjjj'. If there are no matches for the pattern, then you should get a
listing like what I wrote above - except the header info should be indented
properly.
next prev parent reply other threads:[~2009-10-24 19:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-24 18:51 bug#4792: 23.1; dired-insert-directory: doesn't indent header lines if no files Chong Yidong
2009-10-24 19:07 ` Drew Adams [this message]
2009-10-24 19:10 ` Juanma Barranquero
-- strict thread matches above, loose matches on Subject: below --
2009-10-23 18:19 Drew Adams
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=C752015B80B34CC4ABFFBE5B4A0A03E9@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=4792@emacsbugs.donarmstrong.com \
--cc=cyd@stupidchicken.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).