From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Erik Iverson Newsgroups: gmane.emacs.help Subject: Re: dired and `ls' flags Date: Fri, 03 Sep 2010 16:34:20 -0500 Message-ID: <4C8169DC.7050306@ccbr.umn.edu> References: <87zkvyv7vc.fsf@newsguy.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1283549700 8705 80.91.229.12 (3 Sep 2010 21:35:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Sep 2010 21:35:00 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Harry Putnam Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 03 23:34:58 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OrduT-0003kt-DA for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Sep 2010 23:34:57 +0200 Original-Received: from localhost ([127.0.0.1]:58940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrduS-00085p-PQ for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Sep 2010 17:34:56 -0400 Original-Received: from [140.186.70.92] (port=43593 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ordu1-00084l-1r for help-gnu-emacs@gnu.org; Fri, 03 Sep 2010 17:34:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ordtw-0003t2-IS for help-gnu-emacs@gnu.org; Fri, 03 Sep 2010 17:34:28 -0400 Original-Received: from walleye.ccbr.umn.edu ([128.101.116.11]:2389) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ordtw-0003su-CZ for help-gnu-emacs@gnu.org; Fri, 03 Sep 2010 17:34:24 -0400 Original-Received: from tadpole.ccbr.umn.edu (tadpole.ccbr.umn.edu [128.101.116.26]) by walleye.ccbr.umn.edu (8.9.3p2/8.9.3) with ESMTP id QAA09781; Fri, 3 Sep 2010 16:34:23 -0500 (CDT) Original-Received: from iron.ccbr.umn.edu (iron.ccbr.umn.edu [128.101.116.194]) by tadpole.ccbr.umn.edu (8.9.3/8.9.3) with ESMTP id QAA05057; Fri, 3 Sep 2010 16:34:21 -0500 (CDT) User-Agent: Thunderbird 2.0.0.23 (X11/20090812) In-Reply-To: <87zkvyv7vc.fsf@newsguy.com> X-detected-operating-system: by eggs.gnu.org: NMAP syn scan (4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74869 Archived-At: Harry Putnam wrote: > I've pounded away in the dired section of the manual but haven't > uncovered the technique required to change what the buffer looks like. > I guess its some way of telling emacs to use different `ls' flags. > > If user wants to change the display of a directory to something more > like `ls' (no `-l' (no long list)) > How is that done? > > dired-listing-switches is a variable defined in `dired.el'. Its value is "-al" Documentation: Switches passed to `ls' for Dired. MUST contain the `l' option. May contain all other options that don't contradict `-l'; may contain even `F', `b', `i' and `s'. See also the variable `dired-ls-F-marks-symlinks' concerning the `F' switch. On systems such as MS-DOS and MS-Windows, which use `ls' emulation in Lisp, some of the `ls' switches are not supported; see the doc string of `insert-directory' in `ls-lisp.el' for more details. However, see: http://www.emacswiki.org/emacs/DiredDetails for a possibility.