unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Shahab Shahsavari Alavidjeh <zzgraph@gmail.com>
To: Yuri Khan <yuri.v.khan@gmail.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: Using AltGr as standard modifier key in emacs
Date: Wed, 14 Oct 2015 10:17:45 +0330	[thread overview]
Message-ID: <87mvvmosj2.fsf@fedora22.zzgraph> (raw)
In-Reply-To: <CAP_d_8W=A4L_ru-snz9RfvpsdsWZr=gLA0b8_RNPH33EjdAJMQ@mail.gmail.com> (Yuri Khan's message of "Wed, 14 Oct 2015 12:05:18 +0600")

Yuri Khan <yuri.v.khan@gmail.com> writes:

> On Tue, Oct 13, 2015 at 7:11 PM, Shahab Shahsavari Alavidjeh
> <zzgraph@gmail.com> wrote:
>> Why I don't simply use my D.E. input method support and keyboard layout
>> switcher instead?
>>
>> I'm currently using it, that's my best option right now, but then I
>> should switch keyboard layouts whenever I want to run a command in emacs
>> or even when I want to save a file to disk.
>

>
>
> It would be a great help if modifiers and certain prefixes caused
> Emacs to ignore the active layout and interpret the base keys
> according to the primary layout, which will be one of Latin layouts in
> most cases. (Which exact Latin layout will vary from user to user — US
> QWERTY, German QWERTZ, French AZERTY, Dvorak, Colemak, etc.)
>

Thanks Yuri

I completely agree with you on that, this approach is way better and
more practical. And it can completely solve my problem.

> There are workarounds involving key-translation-map to make Emacs
> pretend that it got C-q when it gets C-й, but they are ugly,
> unreliable, and incomplete. Ideally, it should happen at the
> underlying OS integration boundary.

While it's bound to C-q to pass non-ASCII characters to Emacs as
keybindings, which is briefly documented here

   https://www.gnu.org/software/emacs/manual/html_node/emacs/Init-Non_002dASCII.html#Init-Non_002dASCII

There should be no problem for Emacs to accept other combinations of
M- C- with non-ASCII characters as ASCII equivalent to the key pressed
on relevant primary keyboard layout.

But I think the problem with AltGr still is a valid problem, because it
makes huge inconsistency between Emacs's own quail layouts, where many
of them already standardized with AltGr as modifier in graphical
environment layouts.

IMO what you proposed is a very good and practical feature to get
implemented in Emacs. And it will make life a lot easier for people
using non-Latin scripts to use Emacs. But I think of AltGr problem as a
bug, which if get resolved can temporarily solve the problem for these
people (if there's any besides me!) before the feature you proposed get
implemented.



  reply	other threads:[~2015-10-14  6:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-13 13:11 Using AltGr as standard modifier key in emacs Shahab Shahsavari Alavidjeh
2015-10-14  6:05 ` Yuri Khan
2015-10-14  6:47   ` Shahab Shahsavari Alavidjeh [this message]
2015-10-14  9:54   ` tomas
     [not found] ` <mailman.289.1444802784.7904.help-gnu-emacs@gnu.org>
2015-10-14 12:17   ` Rusi
2015-10-15  1:47     ` Rusi
2015-10-15  2:23       ` Yuri Khan
     [not found]       ` <mailman.347.1444875907.7904.help-gnu-emacs@gnu.org>
2015-10-15  2:42         ` Rusi
     [not found] <mailman.229.1444746928.7904.help-gnu-emacs@gnu.org>
2015-10-13 16:57 ` Rusi
2015-10-13 17:05   ` Rusi
2015-10-13 17:44     ` Shahab Shahsavari Alavidjeh
     [not found]     ` <mailman.256.1444758367.7904.help-gnu-emacs@gnu.org>
2015-10-13 18:19       ` Javier
2015-10-13 18:43         ` Javier
2015-10-13 19:42           ` Shahab Shahsavari Alavidjeh
     [not found]           ` <mailman.265.1444765466.7904.help-gnu-emacs@gnu.org>
2015-10-13 20:17             ` Javier
2015-10-14  5:18               ` Shahab Shahsavari Alavidjeh
2015-10-13 19:20         ` Shahab Shahsavari Alavidjeh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mvvmosj2.fsf@fedora22.zzgraph \
    --to=zzgraph@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=yuri.v.khan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).