|
From: | JD Smith |
Subject: | bug#70576: [PATCH] `repeat-echo-message-string': support repeat keymap "hints" |
Date: | Thu, 25 Apr 2024 18:31:17 -0400 |
repeat-mode is excellent for informal and very lightweight modal interfaces (great article). One limitation it has compared to other such interfaces is it only mentions the keys which can be repeated, without providing hints about what they do. A simple patch to `repeat-echo-message-strings' to support displaying a string for keymap definitions of form (STRING . DEFN) is below. It works nicely to provide "hints" after each repeat key, if the keymap includes them. Example usage:
Example prompt (after one invocation of `expreg-expand'):
It might also be useful to provide a custom variable by which a user can disable hint strings, for the experts/minimalists.. Patch:
|
[Prev in Thread] | Current Thread | [Next in Thread] |