Mercurial > emacs
comparison etc/NEWS @ 26140:068f7ad41d40
Describe new functions and variables for locales.
author | Paul Eggert <eggert@twinsun.com> |
---|---|
date | Sat, 23 Oct 1999 08:26:16 +0000 |
parents | 5eb182b0c724 |
children | 8fee653decdf |
comparison
equal
deleted
inserted
replaced
26139:ca31ffbed318 | 26140:068f7ad41d40 |
---|---|
375 | 375 |
376 Shell script mode (sh-script) can now indent scripts for shells | 376 Shell script mode (sh-script) can now indent scripts for shells |
377 derived from sh and rc. The indentation style is customizeable, and | 377 derived from sh and rc. The indentation style is customizeable, and |
378 sh-script can attempt to "learn" the current buffer's style. | 378 sh-script can attempt to "learn" the current buffer's style. |
379 | 379 |
380 ** Emacs now attempts to determine the initial language environment | |
381 and preferred and locale coding systems systematically from the | |
382 LC_ALL, LC_CTYPE, and LANG environment variables during startup. | |
383 | |
380 ** New language environments `Latin-8' and `Latin-9'. | 384 ** New language environments `Latin-8' and `Latin-9'. |
381 These correspond respectively to the ISO character sets 8859-14 | 385 These correspond respectively to the ISO character sets 8859-14 |
382 (Celtic) and 8859-15 (updated Latin-1, with the Euro sign). There is | 386 (Celtic) and 8859-15 (updated Latin-1, with the Euro sign). There is |
383 currently no specific input method support for them. | 387 currently no specific input method support for them. |
384 | 388 |
480 | 484 |
481 Note that +++ before an item means the Lisp manual has been updated. | 485 Note that +++ before an item means the Lisp manual has been updated. |
482 --- means that I have decided it does not need to be in the Lisp manual. | 486 --- means that I have decided it does not need to be in the Lisp manual. |
483 When you add a new item, please add it without either +++ or --- | 487 When you add a new item, please add it without either +++ or --- |
484 so I will know I still need to look at it -- rms. | 488 so I will know I still need to look at it -- rms. |
489 | |
490 ** New functions and variables for locales. | |
491 | |
492 The new variable `locale-coding-system' specifies how to encode and | |
493 decode strings passed to low-level message functions like strerror and | |
494 time functions like strftime. The new variables `messages-locale' and | |
495 `time-locale' give the system locales to be used during the next | |
496 invocations of these two types of functions; the new variables | |
497 `previous-messages-locale' and `previous-time-locale' give the locales | |
498 most recently used. | |
499 | |
500 The new function `set-locale-environment' sets the language | |
501 environment, preferred coding system, and locale coding system from | |
502 the system locale as specified by the LC_ALL, LC_CTYPE, and LANG | |
503 environment variables. It is normally invoked during startup. It | |
504 uses the new variables `locale-language-names', | |
505 `locale-charset-language-names', and `locale-preferred-coding-systems' | |
506 to make its decisions. | |
485 | 507 |
486 ** syntax tables now understand nested comments. | 508 ** syntax tables now understand nested comments. |
487 To declare a comment syntax as allowing nesting, just add an `n' | 509 To declare a comment syntax as allowing nesting, just add an `n' |
488 modifier to either of the characters of the comment end and the comment | 510 modifier to either of the characters of the comment end and the comment |
489 start sequences. | 511 start sequences. |