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

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

Re: Translating keys


From: Pascal Bourguignon
Subject: Re: Translating keys
Date: Tue, 18 Oct 2005 18:50:28 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Mounir AITTAHAR" <downwater@free.fr> writes:

> Okay, emacs -nw (with "(set-keyboard-system latin-1)" + Xterm Meta
> sends escape) and emacs/X11 have the same behaviour when type "é" in a
> Azerty keyboard.
>
> So this line :
> (local-set-key (kbd "é") (lambda()(interactive)(insert "e acute")))
>
> Or this one :
> (local-set-key (kbd "é") (lambda()(interactive)(insert "e acute")))
>
> don't insert e acute. :(

Of course not.


I don't see the difference between the two lines:
> (local-set-key (kbd "é") (lambda()(interactive)(insert "e acute")))
> (local-set-key (kbd "é") (lambda()(interactive)(insert "e acute")))

After:

(local-set-key (kbd "é") (lambda()(interactive)(insert "e acute")))

Type: C-x C-e C-x 8 ' e

Or perhaps, if the mode you're using rebinds C-x C-e:

M-x eval-last-sexp RET C-x 8 ' e



-- 
"Debugging?  Klingons do not debug! Our software does not coddle the
weak."


reply via email to

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