From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Using AltGr as standard modifier key in emacs Date: Wed, 14 Oct 2015 11:54:14 +0200 Message-ID: <20151014095414.GD16469@tuxteam.de> References: <87wpuqzzf7.fsf@fedora22.zzgraph> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1444821139 26118 80.91.229.3 (14 Oct 2015 11:12:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Oct 2015 11:12:19 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" , Shahab Shahsavari Alavidjeh To: Yuri Khan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 14 13:12:12 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 1ZmJyd-0004Ve-Lk for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Oct 2015 13:12:11 +0200 Original-Received: from localhost ([::1]:41492 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmJKt-0002ko-14 for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Oct 2015 06:31:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmJJ6-0002HK-0f for help-gnu-emacs@gnu.org; Wed, 14 Oct 2015 06:29:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmJJ0-0006fw-Ua for help-gnu-emacs@gnu.org; Wed, 14 Oct 2015 06:29:15 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:59296 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmJJ0-0006fA-Ob for help-gnu-emacs@gnu.org; Wed, 14 Oct 2015 06:29:10 -0400 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1ZmIlC-0004Ze-C1; Wed, 14 Oct 2015 11:54:14 +0200 In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 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:107635 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Oct 14, 2015 at 12:05:18PM +0600, Yuri Khan wrote: [...] Thanks for your lucid exposition of the problem. > In light of (2), it is desirable that (a) the layouts in Emacs and the > desktop environment are identical, (b) the keys to switch layouts are > identical, and (c) the scope of layout switching is consistent. All > three conditions are easiest satisfied by exclusively using the > desktop-provided keyboard layout mechanism and ignoring Emacs input > methods completely [...] > desktop’s layouts using Emacs input methods, but I believe that is a > dead end approach. There should be one, and preferably only one, > implementation of keyboard layout mechanism over the whole desktop.) > > 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. There are other costs -- among them that Emacs' input methods are usually more advanced (and better integrated in Emacs) that whatever the desktop can offer. regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlYeJkYACgkQBcgs9XrR2kZ/KQCcDO0x28sKujYfhoDEzGgFtLOt YB4AmwSHs2Vc8SOlBK18H23F0FUVt3OY =PCU8 -----END PGP SIGNATURE-----