diff options
| author | Eli Zaretskii | 2014-09-01 17:57:21 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-09-01 17:57:21 +0300 |
| commit | 0360ec583aa754eb746ca6772ca6ca0f0212d546 (patch) | |
| tree | e6e94a7d099ac6d826f7045e11d7c280ac363992 /etc | |
| parent | 8d033ecb9d8189a7e6b1230e86dacb253dedb055 (diff) | |
| download | emacs-0360ec583aa754eb746ca6772ca6ca0f0212d546.tar.gz emacs-0360ec583aa754eb746ca6772ca6ca0f0212d546.zip | |
Use the new string-collate-lessp function in ls-lisp.el.
lisp/ls-lisp.el (ls-lisp-use-string-collate)
(ls-lisp-UCA-like-collation): New defcustoms.
(ls-lisp-string-lessp): Use them to control sorting by file
names.
etc/NEWS: Mention that ls-lisp uses string-collate-lessp.
Fixes: debbugs:18051
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/ChangeLog | 4 | ||||
| -rw-r--r-- | etc/NEWS | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index ff00659cba0..8dbdb46c826 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-09-01 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * NEWS: Mention that ls-lisp uses string-collate-lessp. | ||
| 4 | |||
| 1 | 2014-09-01 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2014-09-01 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 6 | ||
| 3 | --enable-silent-rules now suppresses more chatter. | 7 | --enable-silent-rules now suppresses more chatter. |
| @@ -75,6 +75,10 @@ environment. For the time being this is implemented for modern POSIX | |||
| 75 | systems and for MS-Windows, for other systems they fall back to their | 75 | systems and for MS-Windows, for other systems they fall back to their |
| 76 | counterparts `string-lessp' and `string-equal'. | 76 | counterparts `string-lessp' and `string-equal'. |
| 77 | 77 | ||
| 78 | *** The ls-lisp package uses `string-collate-lessp' to sort file names. | ||
| 79 | If you want the old, locale-independent sorting, customize the new | ||
| 80 | option `ls-lisp-use-string-collate' to a nil value. | ||
| 81 | |||
| 78 | *** The MS-Windows specific variable `w32-collate-ignore-punctuation', | 82 | *** The MS-Windows specific variable `w32-collate-ignore-punctuation', |
| 79 | if set to a non-nil value, causes the above 2 functions to ignore | 83 | if set to a non-nil value, causes the above 2 functions to ignore |
| 80 | symbol and punctuation characters when collating strings. This | 84 | symbol and punctuation characters when collating strings. This |