GNU bug report logs -
#22561
25.0.90; dired alphabetic sort of listing handles leading '.' strangely on MS Windows
Previous Next
Reported by: Kevin Gallagher <kevin.gal <at> verizon.net>
Date: Fri, 5 Feb 2016 00:12:01 UTC
Severity: normal
Tags: notabug
Found in version 25.0.90
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On 2/5/2016 3:58 PM, Eli Zaretskii wrote:
>> Date: Fri, 5 Feb 2016 12:00:53 -0800 (PST)
>> From: Drew Adams <drew.adams <at> oracle.com>
>> Cc: kevin.gal <at> verizon.net, 22561 <at> debbugs.gnu.org
>>
>>>>> *** The ls-lisp package uses `string-collate-lessp' to sort file
>>> names.
>>>>> If you want the old, locale-independent sorting, customize the new
>>>>> option `ls-lisp-use-string-collate' to a nil value.
>>>>>
>>>>> OK to close this bug?
>>>> Why was the default behavior changed?
>>> Because it's a better default.
>> Why? What supporting reasons?
> It's closer to what Emacs does on GNU/Linux. It is also closer to
> what the Windows Explorer does.
>
>> Was there discussion about that, or did someone just decide
>> it without discussion?
> There were lots of discussions when this was introduced.
>
OK, since the change is documented, I agree it is clearly not a bug.
But I would submit that, when using Emacs on Windows, having dired
display a directory precisely the same way Windows Explorer displays it
is a better default. To accomplish this, the following two
customizations suffice.
In the Ls Lisp group, do the following:
-- toggle Ls Lisp Uca Like Collation to off (nil)
-- toggle Ls Lisp Dirs First to on (non-nil)
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
This bug report was last modified 9 years and 186 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.