bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set-locale-environment


From: Alex Schroeder
Subject: set-locale-environment
Date: Sun, 04 Nov 2001 18:35:41 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.1.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2001-10-31 on confusibombus
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: de_CH.ISO-8859-1
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

The info manual node "Language Environments" says this:

       If you modify the `LC_ALL', `LC_CTYPE', or `LANG' environment
    variables while running Emacs, you may want to invoke the
    `set-locale-environment' function afterwards to readjust the language
    environment from the new locale.

The help text of set-locale-environment says this:

    If LOCALE-NAME is nil, its value is taken from the environment.

That's why I suggest that the definition of set-locale-environment be
changed:

1. make it interactive
2. make the argument optional

It is necessary to make it interactive because its use is suggested in
the manual.  In fact, after reading the manual I used M-x setenv to
set the LANG variable, and then I wanted to do M-x
set-locale-environment.  The argument should be optional because the
manual suggests that you can just "call it" after setting the
environment variable.

I suggest that the manual refer to function setenv as well, although
that is not strictly necessary.

Alex.
-- 
http://www.geocities.com/kensanata/
Coffee should be black as hell, strong as death and sweet as love.
        -- Turkish proverb



reply via email to

[Prev in Thread] Current Thread [Next in Thread]