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

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

Re: Cannot remap umlaut keys


From: Stefan Monnier
Subject: Re: Cannot remap umlaut keys
Date: Wed, 12 Nov 2003 13:53:46 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>> My .emacs is encoded in ASCII.  I encoded it in Latin-1 when I
>>> experimented with [?ö].  I also tried UTF-8.
>> 
>> Have you tried putting a -*- coding: latin-1 -*- on the first line
>> to make sure that it is read with the proper coding system ?

> I should have thought of setting the coding explicitly.  I use -*-
> coding: utf-8 -*- in a lot of other files.

The -*- coding -*- thingy should not be necessary.  It seems to work OK for
me with Emacs-CVS and LANG=fr_CH.iso-8859-1, but if you could check it
yourself it would be helpful.

> There's still the problem that I have to use (local-set-key [246] "(")
> on the Linux text console in addition to (local-set-key [?ö] "("),
> which only works under X.  But I can live with this minor problem.

(local-set-key [?ö] "(") should work in the console as well, although it
might require a (set-keyboard-coding-system 'latin-1) or something
like that (in Emacs-CVS, the keyboard coding-system should be set
automatically based on the locale).


        Stefan


reply via email to

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