[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#68929: [PATCH] Copy which-key from GNU ELPA into core
From: |
Eli Zaretskii |
Subject: |
bug#68929: [PATCH] Copy which-key from GNU ELPA into core |
Date: |
Thu, 08 Feb 2024 18:54:24 +0200 |
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Eli Zaretskii <eliz@gnu.org>, Jeremy Bryant <jb@jeremybryant.net>,
> 68929@debbugs.gnu.org
> Date: Thu, 08 Feb 2024 11:10:44 -0500
>
> > 4. I never really liked the timer mechanism either, but I didn't find
> > an alternative to detecting when emacs was in the middle of reading a
> > key sequence. I like the idea of which-key as simply being a different
> > describe-prefix-bindings function, but my sense is that novices
> > appreciate the automatic popup. I'm wondering if anyone has any other
> > ideas. In principle, one could have a hook that emacs uses to notify
> > which-key that emacs is waiting on a key sequence, but maybe that is
> > overkill.
>
> I don't have a strong opinion about the use of a timer.
> But maybe we could hook into the `echo-keystrokes` mechanism (and thus
> reuse its timer, which also defaults to 1s).
Yes, that'd be the first possibility I'd recommend to explore.
- bug#68929: [PATCH] Copy which-key from GNU ELPA into core, (continued)
- bug#68929: [PATCH] Copy which-key from GNU ELPA into core, Eli Zaretskii, 2024/02/08
- bug#68929: [PATCH] Copy which-key from GNU ELPA into core, Jeremy Bryant, 2024/02/08
- bug#68929: [PATCH] Copy which-key from GNU ELPA into core, Jeremy Bryant, 2024/02/11
- bug#68929: [PATCH] Copy which-key from GNU ELPA into core, Eli Zaretskii, 2024/02/15
- bug#68929: [PATCH] Copy which-key from GNU ELPA into core, Jeremy Bryant, 2024/02/17
- bug#68929: [PATCH] Copy which-key from GNU ELPA into core, Eli Zaretskii, 2024/02/17
bug#68929: [PATCH] Copy which-key from GNU ELPA into core, Jeremy Bryant, 2024/02/07
bug#68929: [PATCH] Copy which-key from GNU ELPA into core, Jeremy Bryant, 2024/02/08
bug#68929: [PATCH] Copy which-key from GNU ELPA into core, Eli Zaretskii, 2024/02/09
bug#68929: [PATCH] Copy which-key from GNU ELPA into core, Philip Kaludercic, 2024/02/07