unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Ergus <spacibba@aol.com>
To: Help Gnu Emacs <help-gnu-emacs@gnu.org>
Subject: Start keybinding combination
Date: Sun, 30 Jan 2022 20:15:39 +0100	[thread overview]
Message-ID: <20220130191539.mkbq77zpn7ugizfi@Ergus> (raw)
In-Reply-To: 20220130191539.mkbq77zpn7ugizfi.ref@Ergus

Hi:

I have been wondering if there is a hook or advise I could use to give
some more explicit visual feedback when the user starts a long
keybinding.

I mean:

If a user wants to start a command like `C-x r b` I would like to change
the mode-line color after the `C-x`. I suppose that this may be a call
to a hook in the same place that updates the echo area inserting the
current prefix.

I saw that packages like which-key needs to do a pooling timer to
emulate that, so maybe this needs a feature request or is there a reason
to not implement this?

Best,
Ergus



       reply	other threads:[~2022-01-30 19:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220130191539.mkbq77zpn7ugizfi.ref@Ergus>
2022-01-30 19:15 ` Ergus [this message]
2022-01-30 19:44   ` Start keybinding combination Eli Zaretskii
2022-01-30 20:54     ` Ergus
2022-01-31 12:23       ` Eli Zaretskii
2022-01-31 15:42         ` Ergus

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220130191539.mkbq77zpn7ugizfi@Ergus \
    --to=spacibba@aol.com \
    --cc=help-gnu-emacs@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.
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).