aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii2014-09-01 17:57:21 +0300
committerEli Zaretskii2014-09-01 17:57:21 +0300
commit0360ec583aa754eb746ca6772ca6ca0f0212d546 (patch)
treee6e94a7d099ac6d826f7045e11d7c280ac363992 /etc
parent8d033ecb9d8189a7e6b1230e86dacb253dedb055 (diff)
downloademacs-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/ChangeLog4
-rw-r--r--etc/NEWS4
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 @@
12014-09-01 Eli Zaretskii <eliz@gnu.org>
2
3 * NEWS: Mention that ls-lisp uses string-collate-lessp.
4
12014-09-01 Paul Eggert <eggert@cs.ucla.edu> 52014-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.
diff --git a/etc/NEWS b/etc/NEWS
index 100214f1108..1d9f8ca850f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -75,6 +75,10 @@ environment. For the time being this is implemented for modern POSIX
75systems and for MS-Windows, for other systems they fall back to their 75systems and for MS-Windows, for other systems they fall back to their
76counterparts `string-lessp' and `string-equal'. 76counterparts `string-lessp' and `string-equal'.
77 77
78*** The ls-lisp package uses `string-collate-lessp' to sort file names.
79If you want the old, locale-independent sorting, customize the new
80option `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',
79if set to a non-nil value, causes the above 2 functions to ignore 83if set to a non-nil value, causes the above 2 functions to ignore
80symbol and punctuation characters when collating strings. This 84symbol and punctuation characters when collating strings. This