unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9655: 24.0.50; `set-locale-environment' should use completion
@ 2011-10-02 19:45 Drew Adams
  2011-10-03  7:14 ` Eli Zaretskii
  2011-10-03 13:35 ` Stefan Monnier
  0 siblings, 2 replies; 7+ messages in thread
From: Drew Adams @ 2011-10-02 19:45 UTC (permalink / raw)
  To: 9655

The doc string says "LOCALE-NAME should be a string which is the name of
a locale supported by the system."  Isn't the set of locales supported
by the system something that Emacs can determine, and then make these
available as completion candidates?  Why should a user have to
investigate or guess which locales are choosable?
 
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?
 
Some of the code looks as if it is specific to UNIX/Gnu/Linux/X-Window.
Should the setting of `locale-translation-file-name' be specific to such
systems, for instance?
 
It also looks like the code for this command should be split
up/factored.  Much of the command body is apparently about
non-interactive use (e.g. nil LOCALE-NAME) - factor that out, for
instance.
 

In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2011-09-19 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt'
 
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default enable-multibyte-characters: t
 






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-08-25 15:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2021-08-25 15:34         ` Lars Ingebrigtsen
2011-10-03 13:35 ` Stefan Monnier

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).