From: Anders Lennartsson <anders@lennartsson.se>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Emacs, mutt and a problem with locales
Date: Tue, 26 Dec 2006 15:16:32 +0100 [thread overview]
Message-ID: <20061226141632.GE5177@lennartsson.se> (raw)
In-Reply-To: <20061224111826.GA4316@terra.es>
I asked essentially the same question in October. There are some
helpful comments from others in that thread [1] [2].
I essentially added the following lines to my .emacs based on
information given by others but interpreted by me:
(prefer-coding-system locale-coding-system)
(when (not window-system)
(set-keyboard-coding-system locale-coding-system)
(set-terminal-coding-system locale-coding-system)
)
The first one is for general use, but if you start emacs in a terminal
window you may need the other lines. With the environment variable
LANG=en_US.UTF-8 now everything works nicely with mutt and emacs, both
in sarge, etch and sid.
I also had to convert my alias file to utf-8, otherwise mutt wouldn't
understand the character encoding when putting in the expanded
addresses.
Anders
[1] http://lists.debian.org/debian-user/2006/10/msg03418.html
[2] http://lists.debian.org/debian-user/2006/11/msg00023.html
next prev parent reply other threads:[~2006-12-26 14:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-24 11:18 Emacs, mutt and a problem with locales Ismael Valladolid Torres
2006-12-24 17:44 ` macondo
2006-12-26 14:16 ` Anders Lennartsson [this message]
[not found] <mailman.2308.1166959163.2155.help-gnu-emacs@gnu.org>
2006-12-24 12:48 ` Charles philip Chan
2006-12-24 17:05 ` Ismael Valladolid Torres
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=20061226141632.GE5177@lennartsson.se \
--to=anders@lennartsson.se \
--cc=help-gnu-emacs@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.
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).