From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 9655@debbugs.gnu.org
Subject: bug#9655: 24.0.50; `set-locale-environment' should use completion
Date: Wed, 25 Aug 2021 14:36:19 +0200 [thread overview]
Message-ID: <87r1ehitvg.fsf@gnus.org> (raw)
In-Reply-To: <E1RAcuu-0002FH-Us@fencepost.gnu.org> (Eli Zaretskii's message of "Mon, 03 Oct 2011 03:26:24 -0400")
Eli Zaretskii <eliz@gnu.org> writes:
> 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))
Looking at `set-locale-environment', it already has a bunch of hacks
that depend on Unix-related stuff:
(setq locale-translation-file-name
(let ((files
'("/usr/share/X11/locale/locale.alias" ; e.g. X11R7
I wonder whether we should just add an equally hacky `get-locale-names'
function that would call that w32 function (if defined), and if not,
just parse the output of "locale -a" (if "locale" exists on the system).
Any opinions?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-08-25 12:36 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
2021-08-25 12:36 ` Lars Ingebrigtsen [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r1ehitvg.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=9655@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.