From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9039: 24.0.50; dired "f" fails on directory that begins with a space Date: Sun, 10 Jul 2011 06:02:49 +0300 Message-ID: <838vs6on1i.fsf@gnu.org> References: <86ei1yswoi.fsf@red.stonehenge.com> <86aacmsvvz.fsf@red.stonehenge.com> <8dliw6500t.fsf@fencepost.gnu.org> <8662nasvis.fsf@red.stonehenge.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1310267122 26018 80.91.229.12 (10 Jul 2011 03:05:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Jul 2011 03:05:22 +0000 (UTC) Cc: 9039@debbugs.gnu.org To: merlyn@stonehenge.com (Randal L. Schwartz) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 10 05:05:18 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QfkKb-0007uV-Ma for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jul 2011 05:05:17 +0200 Original-Received: from localhost ([::1]:35976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfkKa-0002k3-R1 for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jul 2011 23:05:16 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfkKN-0002iS-9k for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2011 23:05:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QfkKM-000739-Aj for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2011 23:05:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QfkKM-00072x-9C for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2011 23:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QfkKL-0004TH-Mh; Sat, 09 Jul 2011 23:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jul 2011 03:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9039 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9039-submit@debbugs.gnu.org id=B9039.131026709517174 (code B ref 9039); Sun, 10 Jul 2011 03:05:01 +0000 Original-Received: (at 9039) by debbugs.gnu.org; 10 Jul 2011 03:04:55 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfkKF-0004Sx-6w for submit@debbugs.gnu.org; Sat, 09 Jul 2011 23:04:55 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfkKC-0004Sk-Oh for 9039@debbugs.gnu.org; Sat, 09 Jul 2011 23:04:54 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LO300B00KF4WG00@a-mtaout21.012.net.il> for 9039@debbugs.gnu.org; Sun, 10 Jul 2011 06:04:46 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.156.102]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LO300B8UKJXWB40@a-mtaout21.012.net.il>; Sun, 10 Jul 2011 06:04:46 +0300 (IDT) In-reply-to: <8662nasvis.fsf@red.stonehenge.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 09 Jul 2011 23:05:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:48445 Archived-At: > From: merlyn@stonehenge.com (Randal L. Schwartz) > Date: Sat, 09 Jul 2011 19:46:03 -0700 > Cc: 9039@debbugs.gnu.org > > GM> OK, your dired doesn't support the --dired option. In this case, dired > GM> is known to not perform as well, especially with regards to file names > GM> with spaces. If you install GNU ls, it will work better. > > And yet, "find-file" finds the directory with a space just fine, and > even autocompletes it. find-file does not use `ls'. > Why isn't GNU Emacs using readdir() and stat() internally? Why is it > depending on an external ls? It was always like that with Dired on Posix platforms. If you want a Lisp emulation of `ls', try loading ls-lisp, maybe you will find it better for your taste.