Sujet : Re: VI* on VMS
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.vmsDate : 23. Oct 2024, 02:52:13
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vf9ksd$1nq7q$3@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
User-Agent : Pan/0.160 (Toresk; )
On Tue, 22 Oct 2024 21:06:13 -0400, Arne Vajhøj wrote:
On 10/22/2024 6:06 PM, Lawrence D'Oliveiro wrote:
>
You want some kind of additional hook on every keypress?
That was what is needed to do a check every time position is changed
without modifying all the position moving procedures and without the
dirty 0.1 sec AST.
In Emacs, every key is bound to a command; a key that inserts a
literal character that represents itself is bound to the command
called “self-insert-command”.
So you should be able to hook every action via the command hooks
<
https://www.gnu.org/software/emacs/manual/html_node/elisp/Command-Overview.html>.
There is also mention of the special post-self-insert-hook here
<
https://www.gnu.org/software/emacs/manual/html_node/elisp/Standard-Hooks.html>.