From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/elisp/locales.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 devdocs/elisp/locales.html (limited to 'devdocs/elisp/locales.html') diff --git a/devdocs/elisp/locales.html b/devdocs/elisp/locales.html new file mode 100644 index 00000000..b738736b --- /dev/null +++ b/devdocs/elisp/locales.html @@ -0,0 +1,21 @@ +

Locales

In POSIX, locales control which language to use in language-related features. These Emacs variables control how Emacs interacts with these features.

Variable: locale-coding-system +
+

This variable specifies the coding system to use for decoding system error messages and—on X Window system only—keyboard input, for sending batch output to the standard output and error streams, for encoding the format argument to format-time-string, and for decoding the return value of format-time-string.

+
+
Variable: system-messages-locale +

This variable specifies the locale to use for generating system error messages. Changing the locale can cause messages to come out in a different language or in a different orthography. If the variable is nil, the locale is specified by environment variables in the usual POSIX fashion.

+
Variable: system-time-locale +

This variable specifies the locale to use for formatting time values. Changing the locale can cause messages to appear according to the conventions of a different language. If the variable is nil, the locale is specified by environment variables in the usual POSIX fashion.

+
Function: locale-info item +
+

This function returns locale data item for the current POSIX locale, if available. item should be one of these symbols:

codeset
+

Return the character set as a string (locale item CODESET).

days
+

Return a 7-element vector of day names (locale items DAY_1 through DAY_7);

months
+

Return a 12-element vector of month names (locale items MON_1 through MON_12).

paper

Return a list (width height) of 2 integers, for the default paper size measured in millimeters (locale items _NL_PAPER_WIDTH and _NL_PAPER_HEIGHT).

If the system can’t provide the requested information, or if item is not one of those symbols, the value is nil. All strings in the return value are decoded using locale-coding-system. See Locales in The GNU Libc Manual, for more information about locales and locale items.

+
+
+

+ Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
+ https://www.gnu.org/software/emacs/manual/html_node/elisp/Locales.html +

+
-- cgit v1.2.3