emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New key binding syntax


From: Richard Stallman
Subject: Re: New key binding syntax
Date: Fri, 05 Nov 2021 23:20:39 -0400

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > That sounds nice, but using non-modifier keys as modifiers has an
  > > inherent problem: those keys are supposed to do rollover.
  > > If you press a, and while holding it down, press b, that is supposed
  > > to mean a followed by b.
  > >
  > > To make that count as "b modified by a", we would need to change how
  > > the keyboard handles the a key.

  > These days, the keyboard does not handle this kind of rollover.
  > The rollover behavior works entirely on the application side,

You're talking about implementation details; I'm talking about
the user-level behavior -- which is rollover.  The issue is,
what does it mean to press and release keys in a certain order.

If you want a-down b-down b-up a-up to act lie "b with the a modifier
key" instead of "a followed by b", making a key binding for "b with
the a modifier key" is not going to be enough.

But it might make sense to define a syntax for chords,
and a Lisp representation for them, in case we ever decide
to make them function.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]