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

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

Re: Alt_L and Alt_R are not the same


From: Ehud Karni
Subject: Re: Alt_L and Alt_R are not the same
Date: Tue, 2 Oct 2001 14:27:23 +0200

On Tue, 02 Oct 2001 02:17:32 +0200, Alex Schroeder <alex@gnu.org> wrote:
> 
> I just remapped two of my keys in .Xmodmap as follows:
> 
> keycode 115 = Alt_L
> keycode 116 = Alt_R
> 
> When I run xmodmap, these changes are reflected:
> 
> ~$ xmodmap -pk
> ...
>     115       0xffe9 (Alt_L)  
>     116       0xffea (Alt_R)  
> ...
> 
> Emacs, however, seems to recognize only Alt_L as "A-" modifier.
> When I use C-h k and then Alt_L + q I get:
> 
>   A-q is undefined
> 
> When I use C-h k and then Alt_R + q I get:
> 
>   q runs the command self-insert-command
> 
> I think Emacs should treat both Alt_L and Alt_R as "A-" and therefore
> I expected Emacs to respond as before:
> 
>   A-q is undefined

Let me guess that you work with German keyboard where the right-Alt is
used for composing German characters. I think that Emacs never gets
the events of pressing/releasing the right-Alt.

Can you check with `xev' what are the events when you press right-Alt
+ q and compare it to pressing left-Alt + q ?

Ehud.


-- 
 Ehud Karni     Mivtach - Simon  Insurance   /"\
 Tel: +972-3-7966-561 Fax: +972-3-7966-667   \ /  ASCII Ribbon Campaign
 (USA) Fax and  voice  mail: 1-815-5509341    X   Against  HTML  Mail
     Better     Safe     Than     Sorry      / \
     mailto:ehud@unix.simonwiesel.co.il    http://www.simonwiesel.co.il



reply via email to

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