unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Vollmar <vollmar@nf.mpg.de>
To: Tassilo Horn <tassilo@member.fsf.org>, Peter_Dyballa@Web.DE
Cc: David Reitter <david.reitter@gmail.com>,
	help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: An ls that does not understand --dired
Date: Wed, 25 Jul 2012 00:44:26 +0200	[thread overview]
Message-ID: <B144557A-6F36-4C51-94D6-D764B439CA39@nf.mpg.de> (raw)
In-Reply-To: <877gtvhsgx.fsf@thinkpad.tsdh.de>

[-- Attachment #1: Type: text/plain, Size: 1467 bytes --]

Dear Tassilo,
dear Ellen,
dear Peter,

I am afraid that adding "-dired" to dired-listing-switches did not solve the problem, at least not for current versions of Aquamacs 3 (it looks like an Emacs 24 Mac-specific problem). However, 

(setq dired-use-ls-dired nil)

does (error message gone). There is a caveat about "unusual" file names (e.g. those with leading spaces) in the documentation of dired-use-ls-dired, so maybe this solution is not for everybody.

Warm regards,
Stefan


On 23.07.2012, at 09:00, Tassilo Horn wrote:

> 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
> 
> 

-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: vollmar@nf.mpg.de   http://www.nf.mpg.de







[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4409 bytes --]

  reply	other threads:[~2012-07-24 22:44 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
2012-07-24 22:44     ` Stefan Vollmar [this message]
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

  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=B144557A-6F36-4C51-94D6-D764B439CA39@nf.mpg.de \
    --to=vollmar@nf.mpg.de \
    --cc=Peter_Dyballa@Web.DE \
    --cc=david.reitter@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tassilo@member.fsf.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.
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).