GNU bug report logs - #12044
24.1; ls does not support --dired

Previous Next

Package: emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Wed, 25 Jul 2012 10:14:01 UTC

Severity: minor

Tags: moreinfo

Found in version 24.1

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 12044 <at> debbugs.gnu.org
Subject: bug#12044: 24.1; ls does not support --dired
Date: Tue, 31 Jul 2012 00:02:55 +0200
Am 30.07.2012 um 20:58 schrieb Glenn Morris:

> Either customize dired-use-ls-dired to nil, to suppress the message and
> go back to how it used to be, or it seems on your system you can set
> insert-directory-program to "gls", which is GNU ls I assume.

	(setq insert-directory-program "gls") 

still seems to do the job – and it silences the report. This "gls" is indeed GNU ls (8.17). But… 'emacs -Q' shows the report on ls and starts the dired buffer with:

  /Users/pete:
  total used in directory 1149800 available 159246008
  drwxr-xr-x+ 92 pete   admin      23188 29 Jul 22:50 .

When I execute

	(setq insert-directory-program "gls") 

in *scratch* buffer, then the opened dired buffer starts with:

  /Users/pete:
  insgesamt 574900
  drwxr-xr-x+ 92 pete  admin     23188 29. Jul 22:50 .

For both cases this is valid:

	dired-listing-switches is a variable defined in `dired.el'.
	Its value is "-al"

The latter output is from gls, the former from the ls emulation?

--
Greetings

  Pete

Time flies like an error – but fruit flies like a banana!
				- (almost) Groucho Marx





This bug report was last modified 12 years and 287 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.