[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: An ls that does not understand --dired
From: |
Stefan Vollmar |
Subject: |
Re: An ls that does not understand --dired |
Date: |
Wed, 25 Jul 2012 00:44:26 +0200 |
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
smime.p7s
Description: S/MIME cryptographic signature