]> git.eshelyaron.com Git - emacs.git/commitdiff
(General Variables): Update the docs according to current behavior
authorEli Zaretskii <eliz@gnu.org>
Fri, 30 Mar 2001 10:43:54 +0000 (10:43 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 30 Mar 2001 10:43:54 +0000 (10:43 +0000)
wrt LC_* environment variables.  From Paul Eggert.

man/cmdargs.texi

index 22eb7fe09187dd6b94334a3caf597d71217798a0..6a8ab415923d7813c855c3df46f0323273704f45 100644 (file)
@@ -362,18 +362,24 @@ to search for files.
 @item INFOPATH
 A colon-separated list of directories in which to search for Info files.
 @item LC_ALL
+@itemx LC_COLLATE
 @itemx LC_CTYPE
+@itemx LC_MESSAGES
+@itemx LC_MONETARY
+@itemx LC_NUMERIC
+@itemx LC_TIME
 @itemx LANG
-The user's preferred locale.  (The first of these environment
-variables with a nonempty value specifies the locale.)  A locale name
-which contains @samp{8859-@var{n}}, @samp{8859_@var{n}} or
-@samp{8859@var{n}}, where @var{n} is between 1 and 4, automatically
-specifies the @samp{Latin-@var{n}} language environment when Emacs
-starts up.  There are a few extensions: if @var{n} is 9, that specifies
-@samp{Latin-5}, and if @var{n} is 14 or 15, that specifies
-@samp{Latin-8} and @samp{Latin-9}, respectively.
-
-The locale value you specify with one of these three variables is
+The user's preferred locale.  The locale has six categories, specified
+by the environment variables @env{LC_COLLATE} for sorting,
+@env{LC_CTYPE} for character encoding, @env{LC_MESSAGES} for system
+messages, @env{LC_MONETARY} for monetary formats, @env{LC_NUMERIC} for
+numbers, and @env{LC_TIME} for dates and times.  If one of these
+variables is not set, the category defaults to the value of the
+@env{LANG} environment variable, or to the default @samp{C} locale if
+@env{LANG} is not set.  But if @env{LC_ALL} is specified, it overrides
+the settings of all the other locale environment variables.
+
+The value of the LC_CTYPE category is
 matched against entries in @code{locale-language-names},
 @code{locale-charset-language-names}, and
 @code{locale-preferred-coding-systems}, to select a default language