Subject: Re: bug#22561: 25.0.90; dired alphabetic sort of listing handles leading '.' strangely on MS Windows

From: Kevin Gallagher <[email-masked]>
Date: Sat, 06 Feb 2016 17:17:23 -0600

On 2/5/2016 3:58 PM, Eli Zaretskii wrote:
>> Date: Fri, 5 Feb 2016 12:00:53 -0800 (PST)
>> From: Drew Adams <[email-masked]>
>> Cc: [email-masked], [email-masked]
>>
>>>>>    *** 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