From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: merlyn@stonehenge.com (Randal L. Schwartz) Newsgroups: gmane.emacs.bugs Subject: bug#9039: 24.0.50; dired "f" fails on directory that begins with a space Date: Wed, 13 Jul 2011 11:11:56 -0700 Message-ID: <86vcv6gidv.fsf@red.stonehenge.com> References: <86ei1yswoi.fsf@red.stonehenge.com> <86aacmsvvz.fsf@red.stonehenge.com> <8dliw6500t.fsf@fencepost.gnu.org> <8662nasvis.fsf@red.stonehenge.com> <838vs6on1i.fsf@gnu.org> <86tyaurfwi.fsf@red.stonehenge.com> <03oc0yawrg.fsf@fencepost.gnu.org> <86aacihxbx.fsf@red.stonehenge.com> <1z1uxukqdg.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1310584002 28414 80.91.229.12 (13 Jul 2011 19:06:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jul 2011 19:06:42 +0000 (UTC) Cc: 9039@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 13 21:06:37 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 1Qh4lZ-0005dw-FJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jul 2011 21:06:37 +0200 Original-Received: from localhost ([::1]:58003 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh4lY-0001bT-EL for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Jul 2011 15:06:36 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh3vn-0004XK-DR for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2011 14:13:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qh3vj-00012P-BY for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2011 14:13:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh3vi-00012F-TZ for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2011 14:13:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qh3vi-0001gg-Di; Wed, 13 Jul 2011 14:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: merlyn@stonehenge.com (Randal L. Schwartz) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jul 2011 18:13:02 +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.13105807266425 (code B ref 9039); Wed, 13 Jul 2011 18:13:02 +0000 Original-Received: (at 9039) by debbugs.gnu.org; 13 Jul 2011 18:12:06 +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 1Qh3um-0001fa-Re for submit@debbugs.gnu.org; Wed, 13 Jul 2011 14:12:05 -0400 Original-Received: from lax-gw09.mailroute.net ([199.89.0.109] helo=mail.mroute.net) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh3ul-0001f6-Ge for 9039@debbugs.gnu.org; Wed, 13 Jul 2011 14:12:04 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by lax-gw09.mroute.net (Postfix) with ESMTP id 14E42138487; Wed, 13 Jul 2011 18:11:58 +0000 (GMT) X-Virus-Scanned: by MailRoute Original-Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by lax-gw09.mroute.net (Postfix) with ESMTP id E2264138600; Wed, 13 Jul 2011 18:11:56 +0000 (GMT) Original-Received: by red.stonehenge.com (Postfix, from userid 1001) id C6BBF39F7; Wed, 13 Jul 2011 11:11:56 -0700 (PDT) x-mayan-date: Long count = 12.19.18.9.13; tzolkin = 10 Ben; haab = 1 Xul In-Reply-To: <1z1uxukqdg.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 13 Jul 2011 14:05:47 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 13 Jul 2011 14:13:02 -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:48918 Archived-At: >>>>> "GM" == Glenn Morris writes: GM> Randal L. Schwartz wrote: >> What I'm confused about is if setting the other switch always does the >> right thing (and faster, without forking), why would dired *ever* use >> "ls --dired"? GM> In the doc of dired-use-ls-dired, I mention that ls-lisp does not GM> support as many options as GNU ls. So what features of dired break? All I see in the docs for that var is: dired-use-ls-dired is a variable defined in `dired.el'. Its value is unspecified Documentation: Non-nil means Dired should use "ls --dired". The special value of `unspecified' means to check explicitly, and save the result in this variable. This is performed the first time `dired-insert-directory' is called. You can customize this variable. Ahh, in ls-lisp.el, I see ;; RESTRICTIONS ====================================================== ;; * A few obscure ls switches are still ignored: see the docstring of ;; `insert-directory'. ;; TO DO ============================================================= ;; Complete handling of F switch (if/when possible). ;; FJW: May be able to sort much faster by consing the sort key onto ;; the front of each list element, sorting and then stripping the key ;; off again! Is that what you're talking about? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion