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

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

Re: Emacs on WinXP and Italian keyboard


From: B. T. Raven
Subject: Re: Emacs on WinXP and Italian keyboard
Date: Sat, 28 Mar 2009 19:23:06 -0600
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

Andrea Taverna wrote:
Hello everyone,

I've installed Emacs w32 port on my windows box and I've got the following problem. My keyboard has an Italian-105-keys layout and no '~' character on it. Under X I type AltGr+ì to get the character but on windows I need to enter the ASCII sequence as (IIRC) Alt+126. Problem is that Alt is already caught by Emacs as meta character.

If you don't touch type on the Italian keyboard yet, you could use
another layout via Control Panel > Keyboard. Alternatively, if you can
do without the vertical bar character (| pipe directive) then try this:

(global-set-key "\|" (lambda () (interactive) (insert  ?~)))

This is where tilde is on English keyboard (to far left of number key
row -- shifted backslash on Italian keyboard). Since you don't really
need § or £ within Emacs it might be better to use something like:


(define-key global-map  (kbd "£")   (lambda () (interactive) (insert  ?~ )))

This symbol is only for pound sterling and not lire, right? Has anyone seen any lire recently?

Maybe you could do something like this with AltGr but I can't simulate that here since all my right and left modifiers are synonymous.


How can I fix the problem? It would be nice if I could set the X layout on WinXP.

Do you know other advices for using Emacs on WinXP?


Google on TweakKey for system wide key reassignments.


thanks in advance,

Andrea Taverna


reply via email to

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