unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#7546: 23.2; [dired] leading spaces in directory names
Date: Fri, 03 Dec 2010 22:52:14 -0700	[thread overview]
Message-ID: <idckuf$erd$1@dough.gmane.org> (raw)
In-Reply-To: <gnmxomo3a9.fsf@fencepost.gnu.org>

On 12/3/10 4:16 PM, Glenn Morris wrote:
> Ken Brown wrote:
>
>> Wouldn't it make more sense to initialize dired-use-ls-dired based on
>> system-type?
>
> To me, it makes most sense to test what options ls actually supports:

Agreed, but

> (with-temp-buffer
>   (call-process "ls" nil t nil "--help")
>   (and (re-search-backward "--dired" nil t) t))

perhaps should be

(equal (call-process "ls" nil nil nil "--dired" "--directory" ".") 0)

-- 
Kevin Rodgers
Denver, Colorado, USA






  parent reply	other threads:[~2010-12-04  5:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-03 20:43 bug#7546: 23.2; [dired] leading spaces in directory names Dave Abrahams
2010-12-03 20:56 ` Glenn Morris
2010-12-03 21:45   ` Andreas Schwab
2010-12-03 22:30     ` Glenn Morris
2010-12-03 23:13       ` Ken Brown
2010-12-03 23:16         ` Glenn Morris
2010-12-04  3:29           ` Ken Brown
2010-12-04  5:52           ` Kevin Rodgers [this message]
2010-12-04 22:10           ` Chong Yidong

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='idckuf$erd$1@dough.gmane.org' \
    --to=kevin.d.rodgers@gmail.com \
    --cc=bug-gnu-emacs@gnu.org \
    /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).