Skip to content

Use "current-minibuffer-command" in vertico-multiform-commands lookup#663

Closed
matthewbauer wants to merge 1 commit into
minad:mainfrom
matthewbauer:main
Closed

Use "current-minibuffer-command" in vertico-multiform-commands lookup#663
matthewbauer wants to merge 1 commit into
minad:mainfrom
matthewbauer:main

Conversation

@matthewbauer
Copy link
Copy Markdown

As mentioned in bug#453921, read-from-minibuffer will have this-command = exit-minibuffer, which isn’t very useful for filtering. The alternative is "current-minibuffer-command" which should always have the originating command name.

As mentioned in bug#45392[1], read-from-minibuffer will have
this-command = exit-minibuffer, which isn’t very useful for filtering.
The alternative is "current-minibuffer-command" which should always
have the originating command name.

[1]: https://lists.gnu.org/archive/html/bug-gnu-emacs/2021-01/msg01463.html
@minad
Copy link
Copy Markdown
Owner

minad commented Apr 12, 2026

Thanks for reminding me about current-minibuffer-command. IIrc I had looked into this once in the past. In my test current-minibuffer-command does not give an advantage, it is either nil or the same as this-command. Please open a discussion instead with an example, such that I can understand where it makes a difference for you.

@minad minad closed this Apr 12, 2026
@matthewbauer
Copy link
Copy Markdown
Author

sure:

#664

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.

2 participants