GNU bug report logs - #22561
25.0.90; dired alphabetic sort of listing handles leading '.' strangely on MS Windows

Previous Next

Package: emacs;

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


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

From: Drew Adams <drew.adams <at> oracle.com>
To: Eli Zaretskii <eliz <at> gnu.org>, Kevin Gallagher <kevin.gal <at> verizon.net>
Cc: 22561 <at> debbugs.gnu.org
Subject: RE: bug#22561: 25.0.90;	dired alphabetic sort of listing handles
 leading '.' strangely on MS	Windows
Date: Fri, 5 Feb 2016 07:32:08 -0800 (PST)
> > I believe the listing in Emacs 24.5 is preferable. It 25.0.90, it is as if
> > the initial period in any file/directory entry is
> > being ignored when sorting alphabetically. Also, upper and lower case are
> > also being ignored.
> 
> It's a new feature, meant to emulate more closely what Emacs and 'ls'
> do on GNU/Linux.  From NEWS:
> 
>   *** 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?  Why not let Windows _users_
choose to sort in this new way?  If, after several years of that,
users are clamouring for the default behavior to change, emacs-devel
can discuss that possibility and perhaps change to using
`string-collate-lessp' by default.

It should be:

  If you want the new, locale-dependent sorting, customize the new
  option `ls-lisp-use-string-collate' to a non-nil value.




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.