Scott Santucci

Results 72 comments of Scott Santucci

Speaking of transient maps see also https://github.com/justbur/emacs-which-key/issues/223#issuecomment-573990931

By the way, thanks for making which-key! I recommend it to everyone I suggest trying Emacs; in fact, while I could survive without it now, I probably wouldn't have learned...

I meant the toggle-docstrings action in the paging menu, `C-h d` while in a prefix.

This transient keymap seems to be how which-key injects the paging key, which is `` by default. Running into something similar: this transient map is also displayed for the top-level...

[Hit "comment" prematurely before, sorry for double notification.] It's the same bug, it just also affects `which-key-show-top-level`. `which-key--show-page` sets a transient map `which-key--get-popup-map` at https://github.com/justbur/emacs-which-key/blob/db3d003e903deb07394b4e572206f809578278c6/which-key.el#L2202-L2205 which is normally ignored by...

Tested and determined that saving the transient map from `which-key--get-popup-map` in an internal variable and adding a check for whether `overriding-terminal-local-map` equals that variable to `which-key--update`: https://github.com/justbur/emacs-which-key/blob/db3d003e903deb07394b4e572206f809578278c6/which-key.el#L2685-L2689 …fixes both cases...

(This is inspired by how the counsel package uses the ivy package to search for functions/variables to look up with `describe-function`/`describe-variable`, by the way. Naturally in my mind the equivalent...

Hmm. Looks like both `help-read-key-sequence` and `helpful-key` call `read-key-sequence`, which is defined in C. I wonder whether it will turn out to be possible to hook into keys entered during...

After digging around and finding it's the `(null this-command)` check in `which-key--update` that prevents which-key from showing during these commands, and testing that `read-key-sequence` can be advised, I can see...

I tried all three solutions (list of commands, advice sets fleg, advice sets advice that nullifies this-command), and all three have the create buffer and show with no prefix issue....