Add projectile-dispatch transient menu#2012
Merged
Merged
Conversation
29f1827 to
42c56bc
Compare
A transient menu mirroring projectile-command-map, as a more discoverable alternative to the keymap and the Commander. Menu keys match the command map (f to find a file, c c to compile, s g to grep, etc.). transient is kept an optional dependency, deliberately out of Package-Requires so end users aren't forced to install it. It now requires Emacs 28.1+, so on Emacs 27 (still supported by Projectile) it can't be installed at all; the prefix is therefore defined only when transient is present, and via `eval' so the transient-define-prefix macro isn't needed at byte-compile time and the file still compiles cleanly on Emacs 27. Not bound to a key by default.
42c56bc to
030bd94
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A
transientmenu mirroringprojectile-command-map, as a more discoverable alternative to memorizing keybindings or using the Commander. Menu keys match the command map.transientis kept optional (not in Package-Requires) - the prefix is only defined when it's present. The Eldev build/test sets pull it in so the menu still compiles cleanly under--warnings-as-errors, including on Emacs 27 where transient isn't bundled. Not bound to a key by default.