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

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

Re: displaying the Eurosign at all


From: Stefan Monnier
Subject: Re: displaying the Eurosign at all
Date: Mon, 07 Mar 2005 09:58:57 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> Klaus Berndl wrote:
> ...
>> (global-set-key (kbd "\200") 'insert-euro)

To bind a command to the euro key, I'd recommend something like:

  (global-set-key "€" 'insert-euro)

Also instead of `insert-euro' I'd just use:

  (global-set-key "€" 'self-insert-command)

But since "€" is already bound to self-insert-command by default, I'd
recommend you don't change anything at all.

BTW 128 (aka \200) is not the latin-9 encoding of the euro sign (it's 164,
aka \244), AFAIK, so the problem is most likely that you haven't correctly
described the coding-system used by your keyboard, which doesn't seem to be
latin-9.


        Stefan


reply via email to

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