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

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

Re: Using AltGr as standard modifier key in emacs


From: Rusi
Subject: Re: Using AltGr as standard modifier key in emacs
Date: Wed, 14 Oct 2015 18:47:53 -0700 (PDT)
User-agent: G2/1.0

On Wednesday, October 14, 2015 at 5:47:26 PM UTC+5:30, Rusi wrote:
> On Wednesday, October 14, 2015 at 11:36:26 AM UTC+5:30, Yuri Khan wrote:
> > However, this comes at a cost. Because of the way modifiers work in
> > Emacs when running as a GUI application, the user has no way of
> > pressing e.g. C-c or C-x or M-x when a non-Latin layout is active.
> > Instead, Emacs interprets the keypresses as being C- or M-modified
> > letters of the active layout.
> 
> I find this behavior at least anomalous, maybe a bug.
> 
> $ setxkbmap -layout "us,gr" -option "grp:lalt_lshift_toggle,grp_led:scroll"
> 
> gets a greek keyboard after lshift-lalt
> 
> Now inside emacs the normal keys produce greek thus:
> abcdefghijkl produces αβψδεφγηιξκλ
> 
> So far so good
> 
> C-a produces a 
> C-α is undefined
> message
> 
> However M-x (ie Alt-x) works alright
> 
> So why does C- go through the current layout
> Whereas M- stays within us/Ascii?

And with emacs -nw
its the other way round: M-x doesnt work, C-x does


reply via email to

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