-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Support help-echo for Transient infix arguments #282
Comments
Are you talking about Transient's infix arguments or Emacs' regular old universal (aka prefix) arguments? |
To clarify, yes, I’m talking about Transient infix arguments. Will amend wording. To clarify, in the example below given the infix argument
|
There isn't any support for this, the reasoning being that the information that is always shown in the menu should be more descriptive than the "Beginning" in your example. And when that is not enough, which shouldn't happen a lot, additional information could be displayed in a separate buffer, using I'll think about adding support for such "longer, but still fits on a line" documentation that is shown when hovering with the mouse and/or when moving through the menu using key bindings.
That already exists. There's documentation about it, but the quickest way to learn what is supported, is to look at the |
In short you would have to use But Then you would have to use |
All good, I guess I'll need to write more descriptive infix |
Enhancement Request
Support messaging a help/doc string for Transient infix arguments.
To my knowledge, infix arguments do not support having a help or docstring attribute. Rather Transient makes the assumption that the argument corresponds to a command line tool option that is documented with an installed man page.
A desired enhancement would be to have both short and long docstring support for infix arguments. The short docstring could be messaged in the minibuffer upon an event such as a mouse-over. The longer docstring could be loaded into a help buffer that is invoked by the key sequence ? {argument binding}.
If existing functionality can achieve the behavior described above, please provide guidance.
The text was updated successfully, but these errors were encountered: