From: Peter Dyballa <Peter_Dyballa@web.de>
Cc: emacs-devel@gnu.org
Subject: Re: set-language-environment
Date: Fri, 4 Aug 2006 14:07:33 +0200 [thread overview]
Message-ID: <2DC08470-36EB-4457-8C39-7EB438D1EB48@web.de> (raw)
In-Reply-To: <E1G8xZf-0001lX-00@etlken>
Am 04.08.2006 um 13:10 schrieb Kenichi Handa:
> Emacs is in German language environment and the default
> coding system is set to iso-8859-15.
Definitely not in my copy of GNU Emacs 22.0.50:
In GNU Emacs 22.0.50.1 (powerpc-apple-darwin8.7.0, X toolkit, Xaw3d
scroll bars)
of 2006-08-03 on Latsche
X server distributor `The XFree86 Project, Inc', version 11.0.40400000
configured using `configure '--without-carbon' '--with-x' '--without-
sound' '--without-pop' '--with-xpm' '--with-jpeg' '--with-tiff' '--
with-gif' '--with-png' '--enable-locallisppath=/Library/Application
Support/Emacs/calendar22:/Library/Application Support/Emacs/preview:/
Library/Application Support/Emacs/auctex/images:/Library/Application
Support/Emacs/auctex:/Library/Application Support/Emacs' 'CFLAGS=-
ggdb -pipe -fPIC -mcpu=7450 -fast -mtune=7450 -mpim-altivec -ftree-
vectorize -fomit-frame-pointer -foptimize-register-move -fcprop-
registers -frename-registers -freorder-blocks -fpeephole -fno-
crossjumping' 'CPPFLAGS=-no-cpp-precomp -I/usr/include/openssl -I/usr/
local/include -I/sw/include' 'LDFLAGS=-dead_strip -L/usr/X11R6/lib -L/
usr/local/lib -L/sw/lib/ncurses -L/sw/lib''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: de_DE.UTF-8
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: de_DE.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
TeX-PDF-mode: t
shell-dirtrack-mode: t
display-time-mode: t
desktop-save-mode: t
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Having in .emacs
(set-language-environment 'German)
*scratch*, *Messages*, *mail*, dired buffers ... have a modeline
starting with
-1:
which does not stand for ISO 8859-15. '0' stands stands for ISO
8859-15. And relying on LC_CTYPE or LANG, as usual, I get utf-8
encoded buffers, just as I wish and prefer.
When I first used this statement I thought that GNU Emacs would set a
few things 'right,' and prefer German man pages, too, or messages/
tool tips/comand output/holidays/calendar would come in German. It
took a long time for me to understand that this particular statement
was resetting what I had prepared with shell environment variables.
Could be set-language-environment is an obsolete function now that
GNU Emacs understands LC_ALL or LANG ...
--
Greetings
Pete
Sometimes I think the surest sign that intelligent life exists
elsewhere in the universe is that none of it has tried to contact us.
-- Bill Watterson, in his comic strip Calvin and
Hobbes
next prev parent reply other threads:[~2006-08-04 12:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-04 10:45 set-language-environment Peter Dyballa
2006-08-04 11:02 ` set-language-environment David Kastrup
2006-08-04 11:05 ` set-language-environment David Kastrup
2006-08-04 11:10 ` set-language-environment Kenichi Handa
2006-08-04 12:07 ` Peter Dyballa [this message]
2006-08-04 18:42 ` set-language-environment Richard Stallman
-- strict thread matches above, loose matches on Subject: below --
2003-07-05 17:20 set-language-environment Yoichi NAKAYAMA
2003-07-11 2:45 ` set-language-environment Kenichi Handa
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=2DC08470-36EB-4457-8C39-7EB438D1EB48@web.de \
--to=peter_dyballa@web.de \
--cc=emacs-devel@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 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).