From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <87zl7geib9.fsf@stupidchicken.com> Reply-To: Drew Adams , 4792@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1256412454 15655 80.91.229.12 (24 Oct 2009 19:27:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Oct 2009 19:27:34 +0000 (UTC) Cc: 4792@emacsbugs.donarmstrong.com To: "'Chong Yidong'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 24 21:27:27 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N1mGs-0003Hc-Hl for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Oct 2009 21:27:27 +0200 Original-Received: from localhost ([127.0.0.1]:33032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1mGs-0000sX-28 for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Oct 2009 15:27:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N1mGn-0000rp-2N for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2009 15:27:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N1mGi-0000ph-Gb for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2009 15:27:20 -0400 Original-Received: from [199.232.76.173] (port=37331 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1mGi-0000pc-90 for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2009 15:27:16 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58149) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N1mGh-00066R-OY for bug-gnu-emacs@gnu.org; Sat, 24 Oct 2009 15:27:16 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9OJRD4V029220; Sat, 24 Oct 2009 12:27:13 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9OJF5df027411; Sat, 24 Oct 2009 12:15:05 -0700 Resent-Date: Sat, 24 Oct 2009 12:15:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sat, 24 Oct 2009 19:15:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4792 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4792-submit@emacsbugs.donarmstrong.com id=B4792.125641123726598 (code B ref 4792); Sat, 24 Oct 2009 19:15:05 +0000 Original-Received: (at 4792) by emacsbugs.donarmstrong.com; 24 Oct 2009 19:07:17 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from rgminet11.oracle.com (rcsinet11.oracle.com [148.87.113.123]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9OJ7FeO026581 for <4792@emacsbugs.donarmstrong.com>; Sat, 24 Oct 2009 12:07:16 -0700 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n9OJ8ac8027272 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 24 Oct 2009 19:08:37 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n9OICaiG024144; Sat, 24 Oct 2009 19:08:21 GMT Original-Received: from abhmt015.oracle.com by acsmt358.oracle.com with ESMTP id 20600848741256411212; Sat, 24 Oct 2009 14:06:52 -0500 Original-Received: from dradamslap1 (/24.5.184.158) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 24 Oct 2009 12:06:52 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87zl7geib9.fsf@stupidchicken.com> Thread-Index: AcpU2xiNuBw2lXckSSyumyLl576n3AAAPsWQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt355.oracle.com [141.146.40.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090202.4AE3505A.00F4:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 24 Oct 2009 15:27:20 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32207 Archived-At: > > 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.