From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 9655@debbugs.gnu.org
Subject: bug#9655: 24.0.50; `set-locale-environment' should use completion
Date: Wed, 25 Aug 2021 15:44:00 +0300 [thread overview]
Message-ID: <83eeahvgmn.fsf@gnu.org> (raw)
In-Reply-To: <87r1ehitvg.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 25 Aug 2021 14:36:19 +0200)
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: drew.adams@oracle.com, 9655@debbugs.gnu.org
> Date: Wed, 25 Aug 2021 14:36:19 +0200
>
> > (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?
Before invoking 'locale -a', wouldn't it be better to use
locale-translation-file-name?
Otherwise sounds like a plan ;-)
next prev parent reply other threads:[~2021-08-25 12:44 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
2021-08-25 12:44 ` Eli Zaretskii [this message]
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=83eeahvgmn.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=9655@debbugs.gnu.org \
--cc=larsi@gnus.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.