Generic property injection into help hooks
I want to add text to the help-fns-describe-function-functions hook using a generic property. The problem is that help-fns-describe-function-functions only accepts the function symbol as argument. How...
View ArticleHow can I see what Major and Minor modes I'm currently in?
Is there an easy way to see what modes are currently operating in a buffer? And have a list of their names?
View ArticleGeneralizing auxiliary help text for specific functions
I'm currently hooking ripo-fun into help-fns-describe-function-functions so that it adds some auxiliary documentation to the help buffer whenever describe-function shows the doc for some-fn.I'd like to...
View ArticleSymbol or string comparisons help text based on function name
ripo-fun together with add-hook adds some text to the Help documentation buffer whenever describe-function is called for the function some-fn.The key idea is to use a conditional on fn, because fn is...
View ArticleAdd custom text to Help Buffers via help-fns-describe-function-functions
I want to add additional text to help buffers. I could do this by adding to the to the hook help-fns-describe-function-functions.How can I add some string to the help buffer?(defun ripo-helpfns (actm...
View ArticleExtended documentation to docstrings
One of my docstrings has became quite long and would like to write a shorter one, and append additional ones after it.Have thought of linking with a defconst as below.(defconst mycons-args"Here is...
View Articlespacemacs / what does SPC replace?
beginner question: is there a way (or rule of thumb) to convert a keybinding in emacs to a corresponding one in spacemacs?I often find online tutorials on emacs rather than spacemacs, and when they...
View ArticleHow can I start learning Emacs Lisp?
Background:I'm mostly a vi user and am converting to Emacs.Past the basics and now use it for writing code in C and some Python with plans to do an R conversion too.I wrote (Common) LISP for years over...
View ArticleDefault yank keyboard shortcut does not work
I am using Emacs 27.1 (GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2021-03-28, modified by Debian).When I hover the mouse pointer over the "copy" button...
View ArticleWhich command is triggered by a button?
When one wants to know which command is triggered by a keybinding, there is C-h k.Is there a way to know which command is triggered by a click on a button?For example, in notmuch-hello, I would like to...
View ArticleHow to display function docstrings on mouse hover in *Completions* buffer
In Emacs, when I use M-x followed by typing the beginning of a function name and then press TAB, I get the *Completions* buffer showing a list of possible function candidates for completion.I would...
View ArticleHow can I make closing *Help* kill the buffer?
When I close *Help* by using the GUI it leaves my screen and seemingly buries the buffer, but it does not kill it. To kill it, I need to manually C-x k it. How can I make closing *Help* in the GUI kill...
View Article:h for C-h in Evil Mode
I use Evil Mode in Emacs and in Vim, you can write :h to bring up help. In Evil Mode, this works with :help but not with :h. Is this expected behaviour for the mode? If so, how can I make :h do the...
View ArticleHow to get immediate visual feedback of keys I type?
I would like to get some immediate strong visual feedback for the commands I enter in emacs. For example, I would be happy if any key sequence (beginning with a modifier key) that I type appeared in...
View ArticleHow to see the name of the command every time I run it by a shortcut?
Whenever one runs a function/command for which there is already a shortcut, Emacs shows briefly a message in the echo area to recall that there is a shortcut associated with that command.For example if...
View ArticleEquivalent of describe-key for prefix keys?
describe-key works for complete keys. How can I instead describe a prefix key?For example, I'd like to be able to do something like this:M-x describe-prefix-key C-xAnd have it describe the keymap which...
View ArticleEmacs manuals are missing on Debian/Ubuntu
I was expecting the Emacs Lisp Reference Manual at (C-h i m elisp). But there was no menu elisp or lisp there. C-h v and C-h f work fine for variables or functions though. C-h i 5 takes me to file...
View ArticleHow to expand documentation from the M-x minibuffer when using vertico?
How to expand documentation or add a popup for an entry in the M-x minibuffer [Edit: when using vertico] ?I only get to see a bit of the documentation of each entry and text-scale-decrease does not...
View ArticleFormat isearch-filter-predicate as describe-variable does
If I modify the isearch-filter-predicate variable with add-function and I do:(message "%s" isearch-filter-predicate)I get:"#[128 \304\300"\205\0\304\301"\207 [skip-comments isearch-filter-visible...
View ArticleSource C code of function 'apply'
I referenced C-h f apply for the source code of "apply", it promptsReferencesC code is not yet loaded.but does not hint the destination file.Execute grep-find within Emacs repo thus return no...
View Article