[Top][All Lists]

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

Re: New key binding syntax

From: Alexandre Garreau
Subject: Re: New key binding syntax
Date: Fri, 05 Nov 2021 06:41:15 +0100

Le vendredi 5 novembre 2021, 04:57:32 CET Richard Stallman a écrit :
> [[[ 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. ]]]
>   > > In this case, John is asking: "Does this mean that there must be
>   > > one
>   > > and only one space character separating the key strokes?"
>   > 
>   > If that's what he's asking, the answer is "yes".
> Is it good to require one-space-and-only-one?  We could change that
> code, or we could keep it the same.

currently, even worse, it supports 0-spaces, and it works just the same 
(you have to put a dash, so no dash has counter-intuitively more 
precedence than the dash), so my proposition of stating “C-M-ab” for a 
chord doesn’t even hold without introducing a backward-incompatibility.

Please note also that any unknown modifier will cause the dash to have the 
meaning of a dash (that is writing (kbd "c-c") will mean “hit c, then hit 
-, then hit c again), which is counter intuitive to me (because depending 
of the context (not even the syntax, but the lexic) the dash has a 
different meaning, I would expected that to be written “c - c”, or else to 
trigger some error.  There’s some forward-compat’ design though that could 
be useful there.

reply via email to

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