Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add preliminary support for menu-items #308

Closed
wants to merge 5 commits into from

Conversation

justbur
Copy link
Owner

@justbur justbur commented Jun 19, 2021

This is not extensively tested and any help along these lines would be appreciated.

Modify which-key--get-keymap-bindings to be useful in
which-key--get-current-bindings and use it there. We no longer parse the output
of describe-buffer-bindings.
@bdarcus
Copy link

bdarcus commented Jun 19, 2021

Thanks much for this @justbur!

Just to confirm that with my initial tests using embark-act with bibtex-actions, it works; correctly applying the descriptions rather than the command names.

Screenshot from 2021-06-19 19-13-24

I'm not sure if this is a which-key issue or (more likely) an embark issue, but I do note the default RET entry is showing the command name, rather than the description. I'll check with embark on that though.

Specifically, restore ability to compute remaps and ignore certsain commnads.
@minad
Copy link
Contributor

minad commented Jun 20, 2021

@bdarcus The RET issue you mentioned is a embark issue.

The ?? entry is no longer necessary.
Prefix is no longer needed because we're using full key sequences now
minad added a commit to minad/consult that referenced this pull request Jun 20, 2021
Use menu items instead, which are now supported by which-key.

See justbur/emacs-which-key#308
@justbur
Copy link
Owner Author

justbur commented Jun 21, 2021

I merged support for menu-items using a different approach in another branch

@justbur justbur closed this Jun 21, 2021
minad added a commit to minad/consult that referenced this pull request Jun 21, 2021
Use menu items instead, which are now supported by which-key.

See justbur/emacs-which-key#308
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants