From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: An ls that does not understand --dired Date: Mon, 23 Jul 2012 09:00:46 +0200 Message-ID: <877gtvhsgx.fsf@thinkpad.tsdh.de> References: <87liibb9tc.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1343026897 28702 80.91.229.3 (23 Jul 2012 07:01:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2012 07:01:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 23 09:01:36 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1StCdv-0002ur-Sw for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Jul 2012 09:01:24 +0200 Original-Received: from localhost ([::1]:42660 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StCdu-0006sZ-UD for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Jul 2012 03:01:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StCdl-0006sH-IN for help-gnu-emacs@gnu.org; Mon, 23 Jul 2012 03:01:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1StCdh-0007hJ-MH for help-gnu-emacs@gnu.org; Mon, 23 Jul 2012 03:01:13 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:52270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1StCdh-0007hC-FF for help-gnu-emacs@gnu.org; Mon, 23 Jul 2012 03:01:09 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1StCdc-0002ZE-U1 for help-gnu-emacs@gnu.org; Mon, 23 Jul 2012 09:01:04 +0200 Original-Received: from tsdh.uni-koblenz.de ([141.26.67.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Jul 2012 09:01:04 +0200 Original-Received: from tassilo by tsdh.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Jul 2012 09:01:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: tsdh.uni-koblenz.de User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:Riz4ek3vSNILyPoGjAneuSfcLrE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85976 Archived-At: 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