diff 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
line wrap: on
line diff
--- a/etc/NEWS	Fri Oct 22 22:51:33 1999 +0000
+++ b/etc/NEWS	Sat Oct 23 08:26:16 1999 +0000
@@ -377,6 +377,10 @@
 derived from sh and rc.  The indentation style is customizeable, and
 sh-script can attempt to "learn" the current buffer's style.
 
+** Emacs now attempts to determine the initial language environment
+and preferred and locale coding systems systematically from the
+LC_ALL, LC_CTYPE, and LANG environment variables during startup.
+
 ** New language environments `Latin-8' and `Latin-9'.
 These correspond respectively to the ISO character sets 8859-14
 (Celtic) and 8859-15 (updated Latin-1, with the Euro sign).  There is
@@ -483,6 +487,24 @@
 When you add a new item, please add it without either +++ or ---
 so I will know I still need to look at it -- rms.
 
+** New functions and variables for locales.
+
+The new variable `locale-coding-system' specifies how to encode and
+decode strings passed to low-level message functions like strerror and
+time functions like strftime.  The new variables `messages-locale' and
+`time-locale' give the system locales to be used during the next
+invocations of these two types of functions; the new variables
+`previous-messages-locale' and `previous-time-locale' give the locales
+most recently used.
+
+The new function `set-locale-environment' sets the language
+environment, preferred coding system, and locale coding system from
+the system locale as specified by the LC_ALL, LC_CTYPE, and LANG
+environment variables.  It is normally invoked during startup.  It
+uses the new variables `locale-language-names',
+`locale-charset-language-names', and `locale-preferred-coding-systems'
+to make its decisions.
+
 ** syntax tables now understand nested comments.
 To declare a comment syntax as allowing nesting, just add an `n'
 modifier to either of the characters of the comment end and the comment