From: Shahab Shahsavari Alavidjeh <zzgraph@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Using AltGr as standard modifier key in emacs
Date: Tue, 13 Oct 2015 21:14:46 +0330 [thread overview]
Message-ID: <87zizm4q9d.fsf@fedora22.zzgraph> (raw)
In-Reply-To: <902f4b3f-2c82-4d07-b940-67278871bde3@googlegroups.com> (Rusi's message of "Tue, 13 Oct 2015 10:05:27 -0700 (PDT)")
Rusi <rustompmody@gmail.com> writes:
> On Tuesday, October 13, 2015 at 10:27:52 PM UTC+5:30, Rusi wrote:
>> On Tuesday, October 13, 2015 at 8:05:33 PM UTC+5:30, Shahab Shahsavari Alavidjeh 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.
>> Does this work for you (outside of and independent of emacs)?
>>
>> $ setxkbmap -layout "us,ir" -option "grp:lalt_lshift_toggle,grp_led:scroll"
>>
>> If yes then you can see how to arrange for emacs to call that based on mode (switching)?
>
> Just to clarify:
> That command (on my ubuntu 15.4 box) switches from us to ir(ani)¹ when given
> a l-alt, l-shift chord. Same switches back ie its a toggle
>
> ¹ Well actually not sure about the Irani! Emacs says its Arabic!
Thanks for reply,
There's no problem with keyboard switcher, the problem is I want to use
built-in input method in Emacs (Which I can switch it with `(kbd
"\C-\\")'),
Why? because in Emacs everything is keyboard driven and when
I want to copy or kill or save I have to switch back to en layout, press
shortcuts and again switch the layout. By Emacs quail input methods I
can easily use keybindings and shortcuts without switching layout (It's
smart).
Keyboard layouts works fine outside of Emacs, I have my AltGr key
working outside of Emacs and inside of it both correctly working out of
the box and I layout switcher works perfect (though I'm using gnome-3.??
and the keybinding is Super-Space) I can use ir or any other keyboard
layout even inside Emacs (ir stands for Iran, the name of the language
is Farsi or Persian which makes the codename fa_IR just like United
States and English which makes the codename en_US)
So my problem is not that I can not switch keyboard layout, the problem
is that I want to have a working state which I can use 3rd level shift
from inside Emacs input method or a workaround which give me ability to
use Emacs keybindings (C- M- stuff) without changing keyboard layouts.
next prev parent reply other threads:[~2015-10-13 17:44 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.229.1444746928.7904.help-gnu-emacs@gnu.org>
2015-10-13 16:57 ` Using AltGr as standard modifier key in emacs Rusi
2015-10-13 17:05 ` Rusi
2015-10-13 17:44 ` Shahab Shahsavari Alavidjeh [this message]
[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
2015-10-13 13:11 Shahab Shahsavari Alavidjeh
2015-10-14 6:05 ` Yuri Khan
2015-10-14 6:47 ` Shahab Shahsavari Alavidjeh
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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zizm4q9d.fsf@fedora22.zzgraph \
--to=zzgraph@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.