all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: help-gnu-emacs@gnu.org
Subject: Re: An ls that does not understand --dired
Date: Mon, 23 Jul 2012 09:00:46 +0200	[thread overview]
Message-ID: <877gtvhsgx.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: 87liibb9tc.fsf@gmail.com

Ellen Taylor < ellen@nospam.invalid > writes:

Hi!

>> /bin/ls in Mac OS X 10.6.8 (and maybe more releases) does not
>> understand "--dired", only "-dired". Is there a way to make dired use
>> "-dired" instead of "--dired"? (Besides using gls from GNU
>> Coreutils.)

The use of "--dired" is hard-coded in `dired-insert-directory'.

> You need to set 'dired-listing-switches'.

Dired checks if ls supports --dired.  In Peter's case, it'll determine
that it's not supported.  So adding "-dired" to `dired-listing-switches'
should in fact do the job.

Bye,
Tassilo




  reply	other threads:[~2012-07-23  7:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5387.1342996177.855.help-gnu-emacs@gnu.org>
2012-07-23  0:27 ` An ls that does not understand --dired Ellen Taylor
2012-07-23  7:00   ` Tassilo Horn [this message]
2012-07-24 22:44     ` Stefan Vollmar
2012-07-25  9:37       ` Peter Dyballa
2012-07-25 11:32       ` Peter Dyballa
2012-07-22 22:29 Peter Dyballa

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877gtvhsgx.fsf@thinkpad.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=help-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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.