aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii2015-11-29 19:52:16 +0200
committerEli Zaretskii2015-11-29 19:52:16 +0200
commit36255fba58b6c73fcf1c810877cc128091fa2a68 (patch)
tree425398ceaa2701c4d010b77dd77b1f7c7f51b687 /etc
parentf3bd8262a2f5ea104ca0394683098e3c2efe3024 (diff)
downloademacs-36255fba58b6c73fcf1c810877cc128091fa2a68.tar.gz
emacs-36255fba58b6c73fcf1c810877cc128091fa2a68.zip
Improve documentation of string-collate-* functions
* doc/lispref/strings.texi (Text Comparison): Improve wording and indexing of 'string-collate-equalp' and 'string-collate-lessp'. * etc/NEWS: Move the entry of 'string-collate-equalp' and 'string-collate-lessp' to "Lisp Changes" section and mark it as documented.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS37
1 files changed, 20 insertions, 17 deletions
diff --git a/etc/NEWS b/etc/NEWS
index dc3758f8eb2..180e48ffc36 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -181,23 +181,6 @@ for use in Emacs bug reports.
181hiding character but the default `.' can be used by let-binding the 181hiding character but the default `.' can be used by let-binding the
182variable `read-hide-char'. 182variable `read-hide-char'.
183 183
184** The new functions `string-collate-lessp' and `string-collate-equalp'
185preserve the collation order as defined by the system's locale(1)
186environment. For the time being this is implemented for modern POSIX
187systems and for MS-Windows, for other systems they fall back to their
188counterparts `string-lessp' and `string-equal'.
189
190*** The ls-lisp package uses `string-collate-lessp' to sort file names.
191If you want the old, locale-independent sorting, customize the new
192option `ls-lisp-use-string-collate' to a nil value.
193
194*** The MS-Windows specific variable `w32-collate-ignore-punctuation',
195if set to a non-nil value, causes the above 2 functions to ignore
196symbol and punctuation characters when collating strings. This
197emulates the behavior of modern Posix platforms when the locale's
198codeset is "UTF-8" (as in "en_US.UTF-8"). This is needed because
199MS-Windows doesn't support UTF-8 as codeset in its locales.
200
201+++ 184+++
202** The new function `bidi-find-overridden-directionality' allows to 185** The new function `bidi-find-overridden-directionality' allows to
203find characters whose directionality was, perhaps maliciously, 186find characters whose directionality was, perhaps maliciously,
@@ -1199,6 +1182,26 @@ evaluated (and should return a string) when the closure is built.
1199** New function `string-greaterp', which return the opposite result of 1182** New function `string-greaterp', which return the opposite result of
1200`string-lessp'. 1183`string-lessp'.
1201 1184
1185+++
1186** The new functions `string-collate-lessp' and `string-collate-equalp'
1187preserve the collation order as defined by the system's locale(1)
1188environment. For the time being this is implemented for modern POSIX
1189systems and for MS-Windows, for other systems they fall back to their
1190counterparts `string-lessp' and `string-equal'.
1191
1192---
1193*** The ls-lisp package uses `string-collate-lessp' to sort file names.
1194If you want the old, locale-independent sorting, customize the new
1195option `ls-lisp-use-string-collate' to a nil value.
1196
1197+++
1198*** The MS-Windows specific variable `w32-collate-ignore-punctuation',
1199if set to a non-nil value, causes the above 2 functions to ignore
1200symbol and punctuation characters when collating strings. This
1201emulates the behavior of modern Posix platforms when the locale's
1202codeset is "UTF-8" (as in "en_US.UTF-8"). This is needed because
1203MS-Windows doesn't support UTF-8 as codeset in its locales.
1204
1202** New function `alist-get', which is also a valid place (aka lvalue). 1205** New function `alist-get', which is also a valid place (aka lvalue).
1203 1206
1204** New function `funcall-interactively', which works like `funcall' 1207** New function `funcall-interactively', which works like `funcall'