diff options
| author | Eli Zaretskii | 2014-08-25 18:55:46 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-08-25 18:55:46 +0300 |
| commit | 015ea0ffdb4f446e3bd263fe5e42b35aafdf1e5b (patch) | |
| tree | 0242e9b0aa25996e40802ee33aa6929efc3effae /etc | |
| parent | 8661ebaa6c0ef3f9517c5288855657b274c723d6 (diff) | |
| download | emacs-015ea0ffdb4f446e3bd263fe5e42b35aafdf1e5b.tar.gz emacs-015ea0ffdb4f446e3bd263fe5e42b35aafdf1e5b.zip | |
Implement locale-sensitive string collation for MS-Windows. (Bug#18051)
src/w32proc.c (get_lcid_callback, get_lcid, w32_compare_strings):
New functions.
src/w32.h (w32_compare_strings): Add prototype.
src/w32.c <g_b_init_compare_string_w>: New global flag.
(globals_of_w32): Initialize it.
src/sysdep.c (str_collate) [WINDOWSNT]: Implementation for MS-Windows.
src/fns.c (Fstring_collate_lessp, Fstring_collate_equalp)
[WINDOWSNT]: Call str_collate on MS-Windows.
etc/NEWS: Mention that string-collate-* functions are supported on
MS-Windows as well.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/ChangeLog | 5 | ||||
| -rw-r--r-- | etc/NEWS | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog index 40eb5f11252..72c8334d3df 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-08-25 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * NEWS: Mention that string-collate-* functions are supported on | ||
| 4 | MS-Windows as well. | ||
| 5 | |||
| 1 | 2014-08-08 Jan Nieuwenhuizen <janneke@gnu.org> | 6 | 2014-08-08 Jan Nieuwenhuizen <janneke@gnu.org> |
| 2 | 7 | ||
| 3 | * compilation.txt (file): Add Guile backtrace example. | 8 | * compilation.txt (file): Add Guile backtrace example. |
| @@ -68,9 +68,9 @@ variable `read-hide-char'. | |||
| 68 | 68 | ||
| 69 | ** The new functions `string-collate-lessp' and `string-collate-equalp' | 69 | ** The new functions `string-collate-lessp' and `string-collate-equalp' |
| 70 | preserve the collation order as defined by the system's locale(1) | 70 | preserve the collation order as defined by the system's locale(1) |
| 71 | environment. For the time being this is implemented for POSIX systems | 71 | environment. For the time being this is implemented for modern POSIX |
| 72 | only, for other systems they fall back to their counterparts | 72 | systems and for MS-Windows, for other systems they fall back to their |
| 73 | `string-lessp' and `string-equal'. | 73 | counterparts `string-lessp' and `string-equal'. |
| 74 | 74 | ||
| 75 | 75 | ||
| 76 | * Editing Changes in Emacs 24.5 | 76 | * Editing Changes in Emacs 24.5 |