From: Maxim Nikulin <firstname.lastname@example.org> To: email@example.com Subject: Re: About multilingual documents Date: Thu, 6 May 2021 23:22:09 +0700 [thread overview] Message-ID: <firstname.lastname@example.org> (raw) In-Reply-To: <email@example.com> On 05/05/2021 01:55, Aleksandar Dimitrov wrote: > Yeah, I know the issue, which is why I rely on XCompose for Latin > scripts. For Cyrillic, alas, that is impossible. It means that I > basically can't control Emacs while using a Cyrillic layout, which is a > pity. I have no good workaround. Generally, the idea is to enable layout (Xkb group) per window and to reset layout to English if active window is Emacs. I have not tried recipes with managing Xkb group from emacs itself, e.g. https://github.com/lislon/emacs-switch-lang https://github.com/Mihara/kbd-indicator.el Another approach it to set global hotkey and if Emacs is focused, send some special key event that is bound to switching of input method. I have some links but the pages are not in English. Personally, I have not fully polished my setup, however it works with some limitations. I started from bash script calling xdotool, xvkbd, and xprop. Then I realized that C code is not dramatically longer but it allows to avoid struggling with limitations of such tools. Tim Cross suggested me to raise the question concerning keymaps in emacs-devel once more, but I still do not feel that I am ready to discussion of technical aspects (e.g. hotkey handling in applications that fixed similar issues several years ago) https://firstname.lastname@example.org
next prev parent reply other threads:[~2021-05-06 16:43 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-05-02 20:20 Juan Manuel Macías 2021-05-03 6:58 ` Aleksandar Dimitrov 2021-05-03 17:47 ` Greg Minshall 2021-05-04 7:30 ` Aleksandar Dimitrov 2021-05-04 17:09 ` Maxim Nikulin 2021-05-04 18:55 ` Aleksandar Dimitrov 2021-05-06 16:22 ` Maxim Nikulin [this message] 2021-05-04 8:19 ` Eric S Fraga 2021-05-04 8:29 ` Input methods [was: Re: About multilingual documents] Joost Kremers 2021-05-04 9:36 ` Eric S Fraga 2021-05-03 18:48 ` About multilingual documents Joost Kremers 2021-05-04 8:00 ` Aleksandar Dimitrov 2021-05-03 20:33 ` Juan Manuel Macías 2021-05-04 1:00 ` Tom Gillespie 2021-05-04 8:13 ` Aleksandar Dimitrov 2021-05-04 8:44 ` Aleksandar Dimitrov 2021-05-06 11:11 ` Juan Manuel Macías 2021-05-04 11:43 autofrettage
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.orgmode.org/ * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --email@example.com' \ --firstname.lastname@example.org \ --email@example.com \ --subject='Re: About multilingual documents' \ /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
Code repositories for project(s) associated with this inbox: https://git.savannah.gnu.org/cgit/emacs/org-mode.git 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).