From unknown Mon Jun 16 15:49:11 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#9039 <9039@debbugs.gnu.org> To: bug#9039 <9039@debbugs.gnu.org> Subject: Status: 24.0.50; dired "f" fails on directory that begins with a space Reply-To: bug#9039 <9039@debbugs.gnu.org> Date: Mon, 16 Jun 2025 22:49:11 +0000 retitle 9039 24.0.50; dired "f" fails on directory that begins with a space reassign 9039 emacs submitter 9039 merlyn@stonehenge.com severity 9039 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 22:21:17 2011 Received: (at submit) by debbugs.gnu.org; 10 Jul 2011 02:21:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qfje0-0003O9-9F for submit@debbugs.gnu.org; Sat, 09 Jul 2011 22:21:16 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qfjdy-0003Nt-Kp for submit@debbugs.gnu.org; Sat, 09 Jul 2011 22:21:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qfjdr-0000dl-VY for submit@debbugs.gnu.org; Sat, 09 Jul 2011 22:21:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:43224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfjdr-0000dg-S7 for submit@debbugs.gnu.org; Sat, 09 Jul 2011 22:21:07 -0400 Received: from eggs.gnu.org ([140.186.70.92]:60908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfjdp-0006Bk-Vv for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2011 22:21:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qfjdo-0000d0-0k for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2011 22:21:05 -0400 Received: from lax-gw12.mailroute.net ([199.89.0.112]:33119 helo=mail.mroute.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfjdn-0000cU-CW for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2011 22:21:03 -0400 Received: from localhost (localhost [127.0.0.1]) by lax-gw12.mroute.net (Postfix) with ESMTP id 6BD4532706C1 for ; Sun, 10 Jul 2011 02:21:02 +0000 (UTC) X-Virus-Scanned: by MailRoute Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by lax-gw12.mroute.net (Postfix) with ESMTP id BBF8932706BE for ; Sun, 10 Jul 2011 02:21:01 +0000 (UTC) Received: by red.stonehenge.com (Postfix, from userid 1001) id A83293BFC; Sat, 9 Jul 2011 19:21:01 -0700 (PDT) From: merlyn@stonehenge.com To: bug-gnu-emacs@gnu.org Subject: 24.0.50; dired "f" fails on directory that begins with a space Date: Sat, 09 Jul 2011 19:21:01 -0700 Message-ID: <86ei1yswoi.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgement at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': Create a directory that begins with space. Visit the parent directory in dired. Move to the line that references the space-beginning directory hit "f" Emacs fails to descend. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /Users/merlyn/Applications/Emacs.app/Contents/Resources/etc/DEBUG. In GNU Emacs 24.0.50.1 (x86_64-apple-darwin10.8.0, NS apple-appkit-1038.36) of 2011-07-09 on Locohost.local Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--with-ns' '--without-x' '--without-dbus' '--prefix=/tmp/emacs'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Dired by name Minor modes in effect: show-paren-mode: t global-auto-revert-mode: t display-time-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f ~ f x r e p o r t - e m a c s - b u g Recent messages: Loading time...done Loading autorevert...done Loading avoid...done Loading paren...done dired-get-file-for-visit: File no longer exists; type `g' to update dired buffer Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug dired jka-compr uniquify advice help-fns advice-preload paren avoid autorevert time cus-start cus-load server objj-mode derived objc-c-mode cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 22:33:55 2011 Received: (at 9039) by debbugs.gnu.org; 10 Jul 2011 02:33:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfjqF-0003iR-0t for submit@debbugs.gnu.org; Sat, 09 Jul 2011 22:33:55 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfjqC-0003iG-C0 for 9039@debbugs.gnu.org; Sat, 09 Jul 2011 22:33:53 -0400 Received: from localhost ([127.0.0.1]:47905) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfjq5-0008RS-9w; Sat, 09 Jul 2011 22:33:45 -0400 From: Glenn Morris To: merlyn@stonehenge.com Subject: Re: bug#9039: 24.0.50; dired "f" fails on directory that begins with a space References: <86ei1yswoi.fsf@red.stonehenge.com> X-Spook: Bush Wired Albanian Chobetsu fundamentalist M-14 wire X-Ran: wU!DShyj5`QWpoE#Y*3K]h`cq&8xiRjK,~#%_8B6@Yvb;ohJp4sS'sf^E`i}W+*7}mbF.4 X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 09 Jul 2011 22:33:44 -0400 In-Reply-To: <86ei1yswoi.fsf@red.stonehenge.com> (merlyn@stonehenge.com's message of "Sat, 09 Jul 2011 19:21:01 -0700") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9039 Cc: 9039@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) merlyn@stonehenge.com wrote: > Create a directory that begins with space. > Visit the parent directory in dired. > Move to the line that references the space-beginning directory > hit "f" > Emacs fails to descend. What is the value of `dired-use-ls-dired'? If it is nil, I think this kind of problem is expected. What is the result of evaluating: (call-process insert-directory-program nil nil nil "--dired") > In GNU Emacs 24.0.50.1 (x86_64-apple-darwin10.8.0, NS > apple-appkit-1038.36) > of 2011-07-09 on Locohost.local > Windowing system distributor `Apple', version 10.3.1038 > configured using `configure '--with-ns' '--without-x' '--without-dbus' > '--prefix=/tmp/emacs'' From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 22:38:19 2011 Received: (at 9039) by debbugs.gnu.org; 10 Jul 2011 02:38:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfjuV-0003re-6Z for submit@debbugs.gnu.org; Sat, 09 Jul 2011 22:38:19 -0400 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 1QfjuQ-0003rO-UP for 9039@debbugs.gnu.org; Sat, 09 Jul 2011 22:38:16 -0400 Received: from localhost (localhost [127.0.0.1]) by lax-gw09.mroute.net (Postfix) with ESMTP id 6E7E313850B; Sun, 10 Jul 2011 02:38:09 +0000 (GMT) X-Virus-Scanned: by MailRoute Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by lax-gw09.mroute.net (Postfix) with ESMTP id 7D2C41384DB; Sun, 10 Jul 2011 02:38:08 +0000 (GMT) Received: by red.stonehenge.com (Postfix, from userid 1001) id 58EDA3C1D; Sat, 9 Jul 2011 19:38:08 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: Glenn Morris Subject: Re: bug#9039: 24.0.50; dired "f" fails on directory that begins with a space References: <86ei1yswoi.fsf@red.stonehenge.com> x-mayan-date: Long count = 12.19.18.9.9; tzolkin = 6 Muluc; haab = 17 Tzec Date: Sat, 09 Jul 2011 19:38:08 -0700 In-Reply-To: (Glenn Morris's message of "Sat, 09 Jul 2011 22:33:44 -0400") Message-ID: <86aacmsvvz.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 9039 Cc: 9039@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >>>>> "GM" == Glenn Morris writes: GM> What is the value of `dired-use-ls-dired'? GM> If it is nil, I think this kind of problem is expected. nil. The default. GM> What is the result of evaluating: GM> (call-process insert-directory-program nil nil nil "--dired") 1 So, why is the *default* behavior *wrong*? Can that be fixed? And my "ls" doesn't have a --dired switch, so I can't change that value. Must be a GNU-ism. What can you do with POSIX-based tools? -- 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 22:42:51 2011 Received: (at 9039) by debbugs.gnu.org; 10 Jul 2011 02:42:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qfjys-0003yK-SD for submit@debbugs.gnu.org; Sat, 09 Jul 2011 22:42:51 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qfjyq-0003y9-Pl for 9039@debbugs.gnu.org; Sat, 09 Jul 2011 22:42:49 -0400 Received: from localhost ([127.0.0.1]:58541) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfjyl-0000X9-CC; Sat, 09 Jul 2011 22:42:43 -0400 From: Glenn Morris To: merlyn@stonehenge.com (Randal L. Schwartz) Subject: Re: bug#9039: 24.0.50; dired "f" fails on directory that begins with a space References: <86ei1yswoi.fsf@red.stonehenge.com> <86aacmsvvz.fsf@red.stonehenge.com> X-Spook: Mafia lynch sniper Kennedy Axis of Evil smuggle DES condor X-Ran: d^.qH-DCJ)0gg'|TSv$P#qO)Q^&85bQsJeTys~"=96C-kj'CK!@WgW^=o7!j4+6lV`g+o: X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 09 Jul 2011 22:42:42 -0400 In-Reply-To: <86aacmsvvz.fsf@red.stonehenge.com> (Randal L. Schwartz's message of "Sat, 09 Jul 2011 19:38:08 -0700") Message-ID: <8dliw6500t.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9039 Cc: 9039@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) Randal L. Schwartz wrote: > GM> What is the value of `dired-use-ls-dired'? > GM> If it is nil, I think this kind of problem is expected. > > nil. The default. The default is `unspecified'. > GM> What is the result of evaluating: > > GM> (call-process insert-directory-program nil nil nil "--dired") > > 1 OK, your dired doesn't support the --dired option. In this case, dired is known to not perform as well, especially with regards to file names with spaces. If you install GNU ls, it will work better. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 22:46:06 2011 Received: (at 9039) by debbugs.gnu.org; 10 Jul 2011 02:46:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qfk22-00043W-6C for submit@debbugs.gnu.org; Sat, 09 Jul 2011 22:46:06 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qfk20-00042x-PZ for 9039@debbugs.gnu.org; Sat, 09 Jul 2011 22:46:05 -0400 Received: from localhost ([127.0.0.1]:58596) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qfk1u-0000kC-T0; Sat, 09 Jul 2011 22:45:59 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19993.4710.603662.731507@fencepost.gnu.org> Date: Sat, 9 Jul 2011 22:45:58 -0400 From: Glenn Morris To: Randal L. Schwartz , 9039@debbugs.gnu.org Subject: Re: bug#9039: 24.0.50; dired "f" fails on directory that begins with a space In-Reply-To: <8dliw6500t.fsf@fencepost.gnu.org> References: <86ei1yswoi.fsf@red.stonehenge.com> <86aacmsvvz.fsf@red.stonehenge.com> <8dliw6500t.fsf@fencepost.gnu.org> X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: blue X-Ran: B6-2Q"Wlcs~gINe}&E\cWfu!A79j]M8L`PHKx/eK$I_~Max$~wgHVReD^'"\S4L)ksE7r8 X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9039 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) Glenn Morris wrote (on Sat, 9 Jul 2011 at 22:42 -0400): > OK, your dired doesn't support the --dired option. s/dired/ls From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 22:46:12 2011 Received: (at 9039) by debbugs.gnu.org; 10 Jul 2011 02:46:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qfk28-00043o-Do for submit@debbugs.gnu.org; Sat, 09 Jul 2011 22:46:12 -0400 Received: from lax-gw12.mailroute.net ([199.89.0.112] helo=mail.mroute.net) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qfk25-00043Q-PS for 9039@debbugs.gnu.org; Sat, 09 Jul 2011 22:46:10 -0400 Received: from localhost (localhost [127.0.0.1]) by lax-gw12.mroute.net (Postfix) with ESMTP id 2B7E932706C8; Sun, 10 Jul 2011 02:46:04 +0000 (UTC) X-Virus-Scanned: by MailRoute Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by lax-gw12.mroute.net (Postfix) with ESMTP id A406332706C4; Sun, 10 Jul 2011 02:46:03 +0000 (UTC) Received: by red.stonehenge.com (Postfix, from userid 1001) id 91D763C38; Sat, 9 Jul 2011 19:46:03 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: Glenn Morris Subject: Re: bug#9039: 24.0.50; dired "f" fails on directory that begins with a space References: <86ei1yswoi.fsf@red.stonehenge.com> <86aacmsvvz.fsf@red.stonehenge.com> <8dliw6500t.fsf@fencepost.gnu.org> x-mayan-date: Long count = 12.19.18.9.9; tzolkin = 6 Muluc; haab = 17 Tzec Date: Sat, 09 Jul 2011 19:46:03 -0700 In-Reply-To: <8dliw6500t.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sat, 09 Jul 2011 22:42:42 -0400") Message-ID: <8662nasvis.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 9039 Cc: 9039@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >>>>> "GM" == Glenn Morris writes: >> nil. The default. GM> The default is `unspecified'. How so? I have nothing to set it, and it comes up nil. How is that not the defaul then? 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. Why isn't GNU Emacs using readdir() and stat() internally? Why is it depending on an external ls? -- 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 23:04:55 2011 Received: (at 9039) by debbugs.gnu.org; 10 Jul 2011 03:04:55 +0000 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 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 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) 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) Date: Sun, 10 Jul 2011 06:02:49 +0300 From: Eli Zaretskii Subject: Re: bug#9039: 24.0.50; dired "f" fails on directory that begins with a space In-reply-to: <8662nasvis.fsf@red.stonehenge.com> X-012-Sender: halo1@inter.net.il To: merlyn@stonehenge.com (Randal L. Schwartz) 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> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 9039 Cc: rgm@gnu.org, 9039@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 23:08:55 2011 Received: (at 9039) by debbugs.gnu.org; 10 Jul 2011 03:08:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfkO7-0004YM-Db for submit@debbugs.gnu.org; Sat, 09 Jul 2011 23:08:55 -0400 Received: from lax-gw08.mailroute.net ([199.89.0.108] helo=mail.mroute.net) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QfkO4-0004Y9-Cr for 9039@debbugs.gnu.org; Sat, 09 Jul 2011 23:08:53 -0400 Received: from localhost (localhost [127.0.0.1]) by lax-gw08.mroute.net (Postfix) with ESMTP id A2EB3299DFE; Sun, 10 Jul 2011 03:08:46 +0000 (GMT) X-Virus-Scanned: by MailRoute Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by lax-gw08.mroute.net (Postfix) with ESMTP id DEB2E299DFB; Sun, 10 Jul 2011 03:08:45 +0000 (GMT) Received: by red.stonehenge.com (Postfix, from userid 1001) id CABE73C71; Sat, 9 Jul 2011 20:08:45 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: Eli Zaretskii Subject: Re: bug#9039: 24.0.50; dired "f" fails on directory that begins with a space 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> x-mayan-date: Long count = 12.19.18.9.9; tzolkin = 6 Muluc; haab = 17 Tzec Date: Sat, 09 Jul 2011 20:08:45 -0700 In-Reply-To: <838vs6on1i.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 10 Jul 2011 06:02:49 +0300") Message-ID: <86tyaurfwi.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 9039 Cc: rgm@gnu.org, 9039@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >>>>> "Eli" == Eli Zaretskii writes: >> Why isn't GNU Emacs using readdir() and stat() internally? Why is it >> depending on an external ls? Eli> It was always like that with Dired on Posix platforms. If you want a Eli> Lisp emulation of `ls', try loading ls-lisp, maybe you will find it Eli> better for your taste. As I said on the dev-list: By the way, (directory-files-and-attributes "~") does the right thing with respect to this directory. So it still looks like dired is doing the Wrong Thing. Not only would it be faster, it'd be more portable. So that's the bug here. Dired should be using the low-level routines, not forking a lot. -- 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 10 00:43:59 2011 Received: (at 9039) by debbugs.gnu.org; 10 Jul 2011 04:44:00 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qfls7-0006d3-6V for submit@debbugs.gnu.org; Sun, 10 Jul 2011 00:43:59 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qfls4-0006cp-Gl for 9039@debbugs.gnu.org; Sun, 10 Jul 2011 00:43:57 -0400 Received: from localhost ([127.0.0.1]:33092) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qflrx-0002HU-F6; Sun, 10 Jul 2011 00:43:49 -0400 From: Glenn Morris To: merlyn@stonehenge.com (Randal L. Schwartz) Subject: Re: bug#9039: 24.0.50; dired "f" fails on directory that begins with a space References: <86ei1yswoi.fsf@red.stonehenge.com> <86aacmsvvz.fsf@red.stonehenge.com> <8dliw6500t.fsf@fencepost.gnu.org> <8662nasvis.fsf@red.stonehenge.com> X-Spook: United Nations Abbas Aldergrove subversive mindwar 64 X-Ran: ;'}?*x}$;KN3@th@PZdO;[4L{qDm@]J.DIbwB83&\Z{e,FAP=mr};kz]iY_$bA|hj;>rO( X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sun, 10 Jul 2011 00:43:48 -0400 In-Reply-To: <8662nasvis.fsf@red.stonehenge.com> (Randal L. Schwartz's message of "Sat, 09 Jul 2011 19:46:03 -0700") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9039 Cc: 9039@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) Randal L. Schwartz wrote: > How so? I have nothing to set it, and it comes up nil. How is that not > the defaul then? Because it's probed for the first time you actually run dired, to see whether your ls supports --dired. If it does, it gets set to t, if not, to nil. If you do C-h v dired-use-ls-dired this is very obvious: dired-use-ls-dired is a variable defined in `dired.el'. Its value is t Original value was 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. > Why isn't GNU Emacs using readdir() and stat() internally? Why is it > depending on an external ls? I don't know. It's a long-standing design decision AFAIK. There certainly has been no change in this regard for several years, since at least Emacs 22.1. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 11:08:36 2011 Received: (at 9039) by debbugs.gnu.org; 13 Jul 2011 15:08:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh13C-0006UX-Rb for submit@debbugs.gnu.org; Wed, 13 Jul 2011 11:08:36 -0400 Received: from smtp-tls1.univ-nantes.fr ([193.52.101.145] helo=smtp-tls.univ-nantes.fr) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QgwGj-0001bO-Kn for 9039@debbugs.gnu.org; Wed, 13 Jul 2011 06:02:16 -0400 Received: from localhost (debian [127.0.0.1]) by smtp-tls.univ-nantes.fr (Postfix) with ESMTP id 0BC0294E1F; Wed, 13 Jul 2011 12:02:08 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at univ-nantes.fr Received: from smtp-tls.univ-nantes.fr ([127.0.0.1]) by localhost (smtp-tls1.d101.univ-nantes.fr [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Y4+WyhJRVyTd; Wed, 13 Jul 2011 12:02:07 +0200 (CEST) Received: from K (unknown [172.16.13.134]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-tls.univ-nantes.fr (Postfix) with ESMTPSA id EC86094DB3; Wed, 13 Jul 2011 12:02:07 +0200 (CEST) From: Manuel Giraud To: merlyn@stonehenge.com Subject: Re: bug#9039: 24.0.50; dired "f" fails on directory that begins with a space Date: Wed, 13 Jul 2011 12:02:07 +0200 Message-ID: <8762n6ebxc.fsf@univ-nantes.fr> User-Agent: Gnus/5.1299999999999999 (Gnus v5.13) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: 9039 X-Mailman-Approved-At: Wed, 13 Jul 2011 11:08:34 -0400 Cc: rgm@gnu.org, eliz@gnu.org, 9039@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) This issue may be already sorted out. But anyway, I have put these 2 lines in my .emacs and that does the trick: (require 'ls-lisp) (setq ls-lisp-use-insert-directory-program nil) Now, dired will use a lisp implementation of ls (which in fact, uses directory-files-and-attributes internally). It works for me on OpenBSD. -- Manuel Giraud From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 13:58:05 2011 Received: (at 9039) by debbugs.gnu.org; 13 Jul 2011 17:58:05 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh3hF-0000RS-2r for submit@debbugs.gnu.org; Wed, 13 Jul 2011 13:58:05 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh3hC-0000Qy-8R for 9039@debbugs.gnu.org; Wed, 13 Jul 2011 13:58:03 -0400 Received: from localhost ([127.0.0.1]:40244) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh3h6-00022T-65; Wed, 13 Jul 2011 13:57:56 -0400 From: Glenn Morris To: merlyn@stonehenge.com (Randal L. Schwartz) Subject: Re: bug#9039: 24.0.50; dired "f" fails on directory that begins with a space 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> X-Spook: assassination JFK Ortega SCUD missile industrial X-Ran: `eFN09Js{T=kPoneHQRp=RxpH)#rH#!f489H3>A#UO!,&_uN`onP4/|?=,2eD=mDQINBh7 X-Hue: yellow X-Attribution: GM Date: Wed, 13 Jul 2011 13:57:55 -0400 In-Reply-To: <86tyaurfwi.fsf@red.stonehenge.com> (Randal L. Schwartz's message of "Sat, 09 Jul 2011 20:08:45 -0700") Message-ID: <03oc0yawrg.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9039 Cc: 9039@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) I've improved the manual and the doc of dired-use-ls-dired, as well as making dired give a message the first time it it used if --dired is not found to be supported. Personally, I'm inclined to close this report now. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 14:04:23 2011 Received: (at 9039) by debbugs.gnu.org; 13 Jul 2011 18:04:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh3nK-0001Qw-NX for submit@debbugs.gnu.org; Wed, 13 Jul 2011 14:04:23 -0400 Received: from lax-gw06.mailroute.net ([199.89.0.106] helo=mail.mroute.net) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh3nG-0001Qe-HR for 9039@debbugs.gnu.org; Wed, 13 Jul 2011 14:04:21 -0400 Received: from localhost (localhost [127.0.0.1]) by lax-gw06.mroute.net (Postfix) with ESMTP id 67842C5EC; Wed, 13 Jul 2011 18:04:02 +0000 (GMT) X-Virus-Scanned: by MailRoute Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by lax-gw06.mroute.net (Postfix) with ESMTP id B8784C5E0; Wed, 13 Jul 2011 18:03:46 +0000 (GMT) Received: by red.stonehenge.com (Postfix, from userid 1001) id A5DCF39DE; Wed, 13 Jul 2011 11:03:46 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: Glenn Morris Subject: Re: bug#9039: 24.0.50; dired "f" fails on directory that begins with a space 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> x-mayan-date: Long count = 12.19.18.9.13; tzolkin = 10 Ben; haab = 1 Xul Date: Wed, 13 Jul 2011 11:03:46 -0700 In-Reply-To: <03oc0yawrg.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 13 Jul 2011 13:57:55 -0400") Message-ID: <86aacihxbx.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 9039 Cc: 9039@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >>>>> "GM" == Glenn Morris writes: GM> I've improved the manual and the doc of dired-use-ls-dired, as well GM> as making dired give a message the first time it it used if --dired GM> is not found to be supported. Personally, I'm inclined to close this GM> report now. 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"? -- 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 14:05:44 2011 Received: (at 9039) by debbugs.gnu.org; 13 Jul 2011 18:05:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh3oe-0001TT-Gu for submit@debbugs.gnu.org; Wed, 13 Jul 2011 14:05:44 -0400 Received: from lax-gw08.mailroute.net ([199.89.0.108] helo=mail.mroute.net) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh3oc-0001TA-LU for 9039@debbugs.gnu.org; Wed, 13 Jul 2011 14:05:43 -0400 Received: from localhost (localhost [127.0.0.1]) by lax-gw08.mroute.net (Postfix) with ESMTP id 0B60C299E11; Wed, 13 Jul 2011 18:05:37 +0000 (GMT) X-Virus-Scanned: by MailRoute Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by lax-gw08.mroute.net (Postfix) with ESMTP id 35794299E0D; Wed, 13 Jul 2011 18:05:36 +0000 (GMT) Received: by red.stonehenge.com (Postfix, from userid 1001) id 5129B39E8; Wed, 13 Jul 2011 11:05:35 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: Manuel Giraud Subject: Re: bug#9039: 24.0.50; dired "f" fails on directory that begins with a space References: <8762n6ebxc.fsf@univ-nantes.fr> x-mayan-date: Long count = 12.19.18.9.13; tzolkin = 10 Ben; haab = 1 Xul Date: Wed, 13 Jul 2011 11:05:35 -0700 In-Reply-To: <8762n6ebxc.fsf@univ-nantes.fr> (Manuel Giraud's message of "Wed, 13 Jul 2011 12:02:07 +0200") Message-ID: <8662n6hx8w.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 9039 Cc: rgm@gnu.org, eliz@gnu.org, 9039@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >>>>> "Manuel" == Manuel Giraud writes: Manuel> This issue may be already sorted out. But anyway, I have put these 2 Manuel> lines in my .emacs and that does the trick: Manuel> (require 'ls-lisp) Manuel> (setq ls-lisp-use-insert-directory-program nil) Yeah, why isn't this the default? -- 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 14:05:55 2011 Received: (at 9039) by debbugs.gnu.org; 13 Jul 2011 18:05:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh3oo-0001Tq-SK for submit@debbugs.gnu.org; Wed, 13 Jul 2011 14:05:55 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh3on-0001Tf-Kw for 9039@debbugs.gnu.org; Wed, 13 Jul 2011 14:05:54 -0400 Received: from localhost ([127.0.0.1]:44240) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh3oh-0002md-E8; Wed, 13 Jul 2011 14:05:47 -0400 From: Glenn Morris To: merlyn@stonehenge.com (Randal L. Schwartz) Subject: Re: bug#9039: 24.0.50; dired "f" fails on directory that begins with a space 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> X-Spook: Ft. Bragg import quiche John Kerry Clinton clones Telex X-Ran: })fgI4NTw?d-Z&z7|L&.y*_iImAk%T!z+c\^4!FJr|50[:PZ\k1o48ZIyb1HWIvcCmywNg X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 13 Jul 2011 14:05:47 -0400 In-Reply-To: <86aacihxbx.fsf@red.stonehenge.com> (Randal L. Schwartz's message of "Wed, 13 Jul 2011 11:03:46 -0700") Message-ID: <1z1uxukqdg.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9039 Cc: 9039@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) 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"? In the doc of dired-use-ls-dired, I mention that ls-lisp does not support as many options as GNU ls. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 14:12:05 2011 Received: (at 9039) by debbugs.gnu.org; 13 Jul 2011 18:12:06 +0000 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 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 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 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) Received: by red.stonehenge.com (Postfix, from userid 1001) id C6BBF39F7; Wed, 13 Jul 2011 11:11:56 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: Glenn Morris Subject: Re: bug#9039: 24.0.50; dired "f" fails on directory that begins with a space 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> x-mayan-date: Long count = 12.19.18.9.13; tzolkin = 10 Ben; haab = 1 Xul Date: Wed, 13 Jul 2011 11:11:56 -0700 In-Reply-To: <1z1uxukqdg.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 13 Jul 2011 14:05:47 -0400") Message-ID: <86vcv6gidv.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 9039 Cc: 9039@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) >>>>> "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 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 13 15:19:43 2011 Received: (at 9039) by debbugs.gnu.org; 13 Jul 2011 19:19:43 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh4yE-0004uF-RS for submit@debbugs.gnu.org; Wed, 13 Jul 2011 15:19:42 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qh4yB-0004u1-NL for 9039@debbugs.gnu.org; Wed, 13 Jul 2011 15:19:41 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LOA00200DHSAQ00@a-mtaout22.012.net.il> for 9039@debbugs.gnu.org; Wed, 13 Jul 2011 22:19:24 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.229.156.102]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LOA0013DDOB6IN0@a-mtaout22.012.net.il>; Wed, 13 Jul 2011 22:19:24 +0300 (IDT) Date: Wed, 13 Jul 2011 22:21:29 +0300 From: Eli Zaretskii Subject: Re: bug#9039: 24.0.50; dired "f" fails on directory that begins with a space In-reply-to: <8662n6hx8w.fsf@red.stonehenge.com> X-012-Sender: halo1@inter.net.il To: merlyn@stonehenge.com (Randal L. Schwartz) Message-id: <83sjqadm12.fsf@gnu.org> References: <8762n6ebxc.fsf@univ-nantes.fr> <8662n6hx8w.fsf@red.stonehenge.com> X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 9039 Cc: rgm@gnu.org, manuel.giraud@univ-nantes.fr, 9039@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > From: merlyn@stonehenge.com (Randal L. Schwartz) > Cc: eliz@gnu.org, rgm@gnu.org, 9039@debbugs.gnu.org > Date: Wed, 13 Jul 2011 11:05:35 -0700 > > Manuel> (require 'ls-lisp) > Manuel> (setq ls-lisp-use-insert-directory-program nil) > > Yeah, why isn't this the default? Because using `ls' is faster, and because `ls' support options that ls-lisp.el does not. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 19 16:31:45 2011 Received: (at control) by debbugs.gnu.org; 19 Jul 2011 20:31:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QjGxF-00032h-7Z for submit@debbugs.gnu.org; Tue, 19 Jul 2011 16:31:45 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QjGxD-00032V-5e for control@debbugs.gnu.org; Tue, 19 Jul 2011 16:31:43 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1QjGx7-00048T-Ll for control@debbugs.gnu.org; Tue, 19 Jul 2011 16:31:37 -0400 Date: Tue, 19 Jul 2011 16:31:37 -0400 Message-Id: Subject: control message for bug 9039 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) close 9039 From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 20 21:09:41 2011 Received: (at control) by debbugs.gnu.org; 21 Jul 2011 01:09:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qjhll-0005gp-EO for submit@debbugs.gnu.org; Wed, 20 Jul 2011 21:09:41 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qjhlk-0005ge-3G for control@debbugs.gnu.org; Wed, 20 Jul 2011 21:09:40 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Qjhle-0005qx-RE for control@debbugs.gnu.org; Wed, 20 Jul 2011 21:09:34 -0400 Date: Wed, 20 Jul 2011 21:09:34 -0400 Message-Id: Subject: control message for bug 4044 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) forcemerge 9039 4044 From unknown Mon Jun 16 15:49:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 18 Aug 2011 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 19 23:33:30 2011 Received: (at control) by debbugs.gnu.org; 20 Sep 2011 03:33:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R5r5O-00049X-Cs for submit@debbugs.gnu.org; Mon, 19 Sep 2011 23:33:30 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R5r5N-00049R-3b for control@debbugs.gnu.org; Mon, 19 Sep 2011 23:33:29 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R5r0S-00063h-BL for control@debbugs.gnu.org; Mon, 19 Sep 2011 23:28:24 -0400 Date: Mon, 19 Sep 2011 23:28:24 -0400 Message-Id: Subject: control message for bug 5597 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) unarchive 9039 forcemerge 9039 5597 From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 05 21:43:54 2011 Received: (at control) by debbugs.gnu.org; 6 Oct 2011 01:43:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBd06-000068-JK for submit@debbugs.gnu.org; Wed, 05 Oct 2011 21:43:54 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBd05-000062-Ad for control@debbugs.gnu.org; Wed, 05 Oct 2011 21:43:54 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RBczz-0002Nw-Bs for control@debbugs.gnu.org; Wed, 05 Oct 2011 21:43:47 -0400 Date: Wed, 05 Oct 2011 21:43:47 -0400 Message-Id: Subject: control message for bug 3710 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) forcemerge 9039 3710 From unknown Mon Jun 16 15:49:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 03 Nov 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator