unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: drew.adams@oracle.com
Cc: 9655@debbugs.gnu.org
Subject: bug#9655: 24.0.50; `set-locale-environment' should use completion
Date: Mon, 03 Oct 2011 03:26:24 -0400	[thread overview]
Message-ID: <E1RAcuu-0002FH-Us@fencepost.gnu.org> (raw)
In-Reply-To: <E1RAcje-00016M-LZ@fencepost.gnu.org> (message from Eli Zaretskii on Mon, 03 Oct 2011 03:14:46 -0400)

> Date: Mon, 03 Oct 2011 03:14:46 -0400
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 9655@debbugs.gnu.org
> Reply-To: Eli Zaretskii <eliz@gnu.org>
> 
> > From: "Drew Adams" <drew.adams@oracle.com>
> > Date: Sun, 2 Oct 2011 12:45:03 -0700
> > 
> > It also says: "The locale names supported by your system can typically
> > be found in a directory named `/usr/share/locale' or `/usr/lib/locale'."
> > This does not help users who are not on a UNIX/Gnu/Linux platform.
> > Where can they be found on Windows, for instance?
> 
> Nowhere a mere mortal can see it.  The OS maintains the list of
> supported locales, and will divulge it via a certain C-level API.  But
> you cannot find that list by searching files or directories, AFAIK.
> As an interactive user, you can see the list in the Control Panel, but
> programmatically the list is available only through that API.

Forgot to mention that this API has a Lisp binding in Emacs:
w32-get-valid-locale-ids.  E.g., try

  (mapcar 'w32-get-locale-info (w32-get-valid-locale-ids))






  reply	other threads:[~2011-10-03  7:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-02 19:45 bug#9655: 24.0.50; `set-locale-environment' should use completion Drew Adams
2011-10-03  7:14 ` Eli Zaretskii
2011-10-03  7:26   ` Eli Zaretskii [this message]
2021-08-25 12:36     ` Lars Ingebrigtsen
2021-08-25 12:44       ` Eli Zaretskii
2021-08-25 15:34         ` Lars Ingebrigtsen
2011-10-03 13:35 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1RAcuu-0002FH-Us@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=9655@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).