-
Notifications
You must be signed in to change notification settings - Fork 58
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
Improve extended Exordium help #237
Conversation
Emacs-30 snapshot has started producing error messages with backtick/tick pair for symbols.
`helpful-mode` is derived from `special-mode`. The latter is the only mode that has been added to `show-paren-predicate` in Emacs-29. Yet it's very helpful to have visual help in `helpful-mode`.
When completing any of the `helpful` commands, for example `helpful-function` (`C-h f`), `helpful-variable` or (`C-h v`) display details of the completion. This is ahieved by using helm provided function, that is by default used to provide affixations for symbols (i.e., when using `describe-function` or `describe-variable`). BREAKING CHANGE: Use built-in `completions-detailed` as per helm advice and hide it behind a `exodrium-help-extenstions` flag
82fa04e
to
32c965b
Compare
When using one of `helpful` commands (for example `helpful-callable`), it is possible to invoke `helm`'s persistent action that will describe currently selected symbol by hitting `C-j`. Example usage: - call `helpufl-callable`, - type something to narrow list of candidates (for example `message`), - select one of the candiates by moving selection in the `helm` completion buffer, using `C-n`/`C-p`), Insetead of hitting `RET` (that would dissmiss the `helm` completino buffer and pop up a new `helpful` buffer describing the selected symbol), you can now type `C-j` to just preview the selected symbol. This enables at least a couple workflows: - You can rapidly browse documentation for multiple narrowed symbols (for example when searching for a function or a variable) by hitting `C-j` on successive candidates. - You can just take peek a symbol documentation by hitting `C-j` and then dismiss both `helm` and `helpful` buffers by hitting `C-g` and go back to the window configuration that was before calling `helpful` command.
32c965b
to
372838e
Compare
@philippe-grenet, @steve-downey, just a friendly reminder about this PR. Let me |
I've been meaning to explore +1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Glad you found it useful. And thanks for review. For me it's |
This PR aims at improving experience when searching for help in Emacs. Just a
short enumeration of changes:
casual
- I found it super useful for modes I use only casually (seewhat I did there 🤪),
helpful
buffers to stick to the same window,helpful
- display extradetails and allow to peek at docstring (like in
helm-M-x
),help
buffers to use clean buttons (i.e., remove ticks around thingsthat are clickable and should be displayed using appropriate face), and stick
to the same window when clicking around,
smerge
mode to recenter around the first unmerged,As usual, please see individual commits for more details.