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 05:17:23 -0700 (PDT) Message-ID: <113e5ac1-2eea-4d88-ad2e-7864e79a6cc6@googlegroups.com> References: <87wpuqzzf7.fsf@fedora22.zzgraph> 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 1444825312 29403 80.91.229.3 (14 Oct 2015 12:21:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Oct 2015 12:21:52 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 14 14:21:49 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 1ZmL40-0007cE-S9 for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Oct 2015 14:21:49 +0200 Original-Received: from localhost ([::1]:42084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmL40-0002Bu-1D for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Oct 2015 08:21:48 -0400 X-Received: by 10.107.165.5 with SMTP id o5mr2836716ioe.5.1444825043933; Wed, 14 Oct 2015 05:17:23 -0700 (PDT) X-Received: by 10.50.152.98 with SMTP id ux2mr60549igb.17.1444825043890; Wed, 14 Oct 2015 05:17:23 -0700 (PDT) Original-Path: usenet.stanford.edu!kq10no21172113igb.0!news-out.google.com!n2ni29913igy.0!nntp.google.com!kq10no18453981igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=117.195.51.231; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 117.195.51.231 User-Agent: G2/1.0 Injection-Date: Wed, 14 Oct 2015 12:17:23 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:215352 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:107636 Archived-At: 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 =CE=B1=CE=B2=CF=88=CE=B4=CE=B5=CF=86=CE=B3=CE=B7=CE= =B9=CE=BE=CE=BA=CE=BB So far so good C-a produces a=20 C-=CE=B1 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?