You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A suffix command's documentation is no longer accessible after the command is executed from a prefix.
Expectation
To be able to see a suffix's documentation after executing it.
I found that this was not an issue in earlier versions, and was able to do a bisect (results below).
Reproduction steps
Emacs version: 29.4
Tested with emacs -Q.
Evaluate the following code:
(require'transient)
(transient-define-suffix test-command ()
"This is documentation for `test-command'."
(interactive)
(message"hi!"))
(transient-define-prefix test-dispatch ()
["Test"
("t""Test command" test-command)])
See that when executing M-x test-dispatch C-h t, documentation can be found.
Resume transient command with q.
Execute test-command with t.
See that executing M-x test-dispatch C-h t now displays "Not documented" in the help buffer instead of the docstring.
Bisect results
possible first bad commit: [8806655] transient-help: Fix regression
possible first bad commit: [87f70af] Use defvar-keymap
possible first bad commit: [c2bdf7e] transient--recursive-edit: Fix trivial bug
possible first bad commit: [a177418] Remove broken transient-define-groups
possible first bad commit: [5a1b2ba] Support using recursive-edit while transient is active
possible first bad commit: [fcdeadc] Support using top-level while transient is active
possible first bad commit: [52cac9c] Adjust around advice to work in Emacs < 30
possible first bad commit: [51c68c8] Use around advice to deal with skipped post-command-hook
Some of these commits had funky behavior with executing C-h in a prefix, which was fixed by the last "potentially bad" commit.
The text was updated successfully, but these errors were encountered:
tarsius
changed the title
[Regression] Suffixes are "Not documented" after invocation from a prefix
Suffixes are "Not documented" after invocation from a prefix
Feb 17, 2025
Issue
A suffix command's documentation is no longer accessible after the command is executed from a prefix.
Expectation
To be able to see a suffix's documentation after executing it.
I found that this was not an issue in earlier versions, and was able to do a bisect (results below).
Reproduction steps
Emacs version:
29.4
Tested with
emacs -Q
.M-x test-dispatch C-h t
, documentation can be found.q
.test-command
witht
.M-x test-dispatch C-h t
now displays "Not documented" in the help buffer instead of the docstring.Bisect results
Some of these commits had funky behavior with executing
C-h
in a prefix, which was fixed by the last "potentially bad" commit.The text was updated successfully, but these errors were encountered: