GNU bug report logs - #52384
26.3; dired buffer navigation tweak

Previous Next

Package: emacs;

Reported by: Michael Perry <amperry <at> provide.net>

Date: Thu, 9 Dec 2021 01:00:02 UTC

Severity: wishlist

Found in version 26.3

Full log


Message #52 received at 52384 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Arthur Miller <arthur.miller <at> live.com>
Cc: "52384 <at> debbugs.gnu.org" <52384 <at> debbugs.gnu.org>,
 Stefan Kangas <stefan <at> marxist.se>, Drew Adams <drew.adams <at> oracle.com>,
 Michael Perry <amperry <at> provide.net>
Subject: Re: bug#52384: [External] : bug#52384: 26.3; dired buffer
 navigation tweak
Date: Sun, 12 Dec 2021 21:28:29 +0200
>> Maybe then like there is a user option `ls-lisp-dirs-first'
>> for ls-lisp.el, a similar option should be added to dired as well,
>> so users won't need to manually add "--group-directories-first"
>> to `dired-listing-switches'.  Do you agree?
>
> After I posted my comment to Drew, I realized later, that
> '--group-directories-first' does not exist in all 'ls' implementations. Bsd ls
> does not seem to have it, correct me if I am wrong, so I am not sure it can be a
> default for Emacs.

Maybe such 'ls' implementations could be detected using something like
'grep-probe'?

> Unless Emacs defaults to ls-lisp.el on all platforms but gnu/Linux?

Dired defaults to ls-lisp.el on ms-dos and windows-nt, and
'ls-lisp-dirs-first' default to t when 'ls-lisp-emulation' is 'MS-Windows'.




This bug report was last modified 3 years and 247 days ago.

Previous Next


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