[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dired and `ls' flags

From: Erik Iverson
Subject: Re: dired and `ls' flags
Date: Fri, 03 Sep 2010 16:34:20 -0500
User-agent: Thunderbird (X11/20090812)

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"

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:
for a possibility.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]