emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tim Cross <theophilusx@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: OT: M-S-$ Not Working
Date: Sun, 07 Feb 2021 04:18:46 +1100	[thread overview]
Message-ID: <87wnvlw0c5.fsf@gmail.com> (raw)
In-Reply-To: <rvmf9e$6lo$1@ciao.gmane.io>


Maxim Nikulin <manikulin@gmail.com> writes:

> On 06/02/2021 13:28, Tim Cross wrote:
>>
>> In general, standard Emacs key bindings are robust and reliable. If a
>> standard key binding like M-S $ doesn't work, first step is to try emacs
>> -Q.
>
> Sorry, but I do not agree that key bindings are robust in emacs. I use
> English and Russian keyboard layouts. Last years most of application
> could handle shortcuts independently of active layout (E.g. Ctrl+C and
> Ctrl+V works for copy-paste even if Russian layout is currently chosen.)
> In Emacs, only Control + Latin C works, Control + Cyrillic S (the same
> physical key) is undefined. Location of punctuation symbols depends on
> active layout, "$" is absent in Russian layout at all. It is extremely
> inconvenient to switch to US layout before any shortcut. Emacs uses its
> own input methods, but it means that desktop environment should treat
> emacs in a special way in respect to keyboard layouts. I have a kind of
> solution, I found its variants in blog posts. It is quite tricky, so I
> do not consider it as reliable and suitable for any user.

As I'm limited by the weakness of only understanding one alphabet, I
don't have any experience of things once you move away from an 'english'
based alphabet. However, I do find it surprising there isn't a simpler
solution to switch between the different layouts in a consistent way
which updates key bindings to something appropriate. I've not seen many
editors with the same level of support for different alphabets and
writing direction as Emacs and there are many keyborad layouts which
don't include the '$' key. At the end of the day, it really just comes
down to mapping of key codes - the 'image' on the key itself (and even
the location) is largely irrelevant. I imagine 'live' switching between
different input methods could be very complicated, but making the
complicated easy is something Emacs tends to be good at.

Were you able to get any assistance with this on the Emacs devel list?
Like it or not, computers are very english centric (and US english at
that). Maybe the issues you have encountered just need to be highlighted
and for there to be someone able to assist to enable the situation to be
improved? It may be a simple as improving the mapping of key codes and
tweaking the key translation table to improve the situation? If you
haven't done so, I would encourage you to start a new thread on
emacs-devel where you outline your key binding issues. I have frequently
found solutions on blogs and other forums only to find later there is a
far easier solution. I would expect many Russian speaking users have
encountered the same challenges. The Emacs devs have always seemed
pretty open to improving support for different languages and character
sets and once they understand the issue, will typically respond with
improvements fairly quickly provided someone is will ing to help test
etc. The hard part is defining the issue - once it is understood, a
solution is often not too far away.

--
Tim Cross


  reply	other threads:[~2021-02-06 17:52 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-04 23:25 OT: M-S-$ Not Working Bo Grimes
2021-02-05  3:20 ` Tim Cross
2021-02-05 14:34   ` Bo Grimes
2021-02-05 14:40 ` Maxim Nikulin
2021-02-05 17:38   ` [Resolved]Re: " Bo Grimes
2021-02-06 15:52     ` Maxim Nikulin
2021-02-06 19:18       ` Bo Grimes
2021-02-08 14:31       ` Robert Pluim
2021-02-06  6:13 ` Marcin Borkowski
2021-02-06  6:28   ` Tim Cross
2021-02-06 15:53     ` Bo Grimes
2021-02-06 16:14     ` Maxim Nikulin
2021-02-06 17:18       ` Tim Cross [this message]
2021-02-10 17:15         ` Maxim Nikulin
2021-02-10 18:42           ` Tim Cross

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 \
    --in-reply-to=87wnvlw0c5.fsf@gmail.com \
    --to=theophilusx@gmail.com \
    --cc=emacs-orgmode@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 public 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).