From: timo.myyra@gmail.com (Timo Myyrä)
To: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Problem with umlaut printing
Date: Mon, 04 May 2009 14:34:42 +0300 [thread overview]
Message-ID: <87my9tt831.fsf@gmail.com> (raw)
In-Reply-To: <E72769A4-ECD7-4EE8-87CF-0C19102CE27E@Web.DE> (Peter Dyballa's message of "Mon, 4 May 2009 11:01:28 +0200")
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> Am 03.05.2009 um 19:39 schrieb Timo Myyrä:
>
>> Snippet of my ~/.emacs:
>> (set-language-environment "utf-8")
>> (prefer-coding-system 'utf-8)
>> (set-keyboard-coding-system 'utf-8)
>> (set-terminal-coding-system 'utf-8)
>
> I'd only use the second setting and provide the environment from which
> GNU Emacs launches with the environment variable LC_CTYPE pointing to
> some UTF-8 locale.
>
> Another option is to press in *scratch* buffer C-q ä to see what GNU
> Emacs sees as input. Double-check this with the output provided by
> xev.
>
> --
> Greetings
>
> Pete
>
> The mathematician who pursues his studies without clear views of this
> matter, must often have the uncomfortable feeling that his paper and
> pencil surpass him in intelligence.
> – Ernst Mach
I use same config on Linux and OpenBSD. OpenBSD doesn't use locales so I
specify the options in the config file.
Pressing the C-q ä in *scratch* printed ä on buffer immidiately after
pressing the ä so it seems to work correctly.
xev gives following output:
KeyPress event, serial 28, synthetic NO, window 0xe00001,
root 0x125, subw 0xe00002, time 4227595, (61,56), root:(62,57),
state 0x10, keycode 94 (keysym 0xe4, adiaeresis), same_screen YES,
XLookupString gives 2 bytes: (c3 a4) "ä"
XmbLookupString gives 2 bytes: (c3 a4) "ä"
XFilterEvent returns: False
Timo
next prev parent reply other threads:[~2009-05-04 11:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-03 17:39 Problem with umlaut printing Timo Myyrä
2009-05-04 9:01 ` Peter Dyballa
2009-05-04 11:34 ` Timo Myyrä [this message]
2009-05-04 12:10 ` Peter Dyballa
[not found] ` <d55a4d160905040648n2e5d33e1wf9c54413f4e03dd8@mail.gmail.com>
[not found] ` <BAE5BA5B-8F76-4B8E-BBFC-B0FADAB513F5@web.de>
2009-05-04 19:23 ` Timo Myyrä
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=87my9tt831.fsf@gmail.com \
--to=timo.myyra@gmail.com \
--cc=Peter_Dyballa@Web.DE \
--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.
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.