From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rusi Newsgroups: gmane.emacs.help Subject: Re: Using AltGr as standard modifier key in emacs Date: Wed, 14 Oct 2015 18:47:53 -0700 (PDT) Message-ID: References: <87wpuqzzf7.fsf@fedora22.zzgraph> <113e5ac1-2eea-4d88-ad2e-7864e79a6cc6@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1444873910 18537 80.91.229.3 (15 Oct 2015 01:51:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Oct 2015 01:51:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 15 03:51:50 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZmXhr-0006Rf-Mc for geh-help-gnu-emacs@m.gmane.org; Thu, 15 Oct 2015 03:51:47 +0200 Original-Received: from localhost ([::1]:45356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmXhq-0003Z1-LJ for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Oct 2015 21:51:46 -0400 X-Received: by 10.13.228.133 with SMTP id n127mr5266767ywe.37.1444873673451; Wed, 14 Oct 2015 18:47:53 -0700 (PDT) X-Received: by 10.50.131.162 with SMTP id on2mr165702igb.4.1444873673407; Wed, 14 Oct 2015 18:47:53 -0700 (PDT) Original-Path: usenet.stanford.edu!z77no9665470qge.1!news-out.google.com!z4ni21271ign.0!nntp.google.com!kq10no18633822igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <113e5ac1-2eea-4d88-ad2e-7864e79a6cc6@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=117.195.42.48; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 117.195.42.48 User-Agent: G2/1.0 Injection-Date: Thu, 15 Oct 2015 01:47:53 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:215362 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:107646 Archived-At: 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. >=20 > I find this behavior at least anomalous, maybe a bug. >=20 > $ setxkbmap -layout "us,gr" -option "grp:lalt_lshift_toggle,grp_led:scrol= l" >=20 > gets a greek keyboard after lshift-lalt >=20 > Now inside emacs the normal keys produce greek thus: > abcdefghijkl produces =CE=B1=CE=B2=CF=88=CE=B4=CE=B5=CF=86=CE=B3=CE=B7=CE= =B9=CE=BE=CE=BA=CE=BB >=20 > So far so good >=20 > C-a produces a=20 > C-=CE=B1 is undefined > message >=20 > However M-x (ie Alt-x) works alright >=20 > 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