We changed our privacy policy. Read more.

Questions tagged [help]

Questions about using the built-in help system in Emacs or how to find help.

Filter by
Sorted by
Tagged with
0
votes
1answer
35 views

Default 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&...
1
vote
1answer
45 views

WHAT is the emacs tutorial command?

It says C-h t in a vague forum manual but I don't have that, how do I access this feature.
0
votes
0answers
23 views

Is there any command like describe-function for defmacro?

I know that I can get the documentation string of a function defined with defun, by using describe-function. Is there any command like describe-function to get the documentations string of a macro ...
2
votes
1answer
65 views

Why I cannot find `Emacs Lisp Intro` inside info mode?

I am trying to read the Emacs Lisp Intro inside Emacs. I am following the advice on Emacs wiki: Read the Emacs Lisp Introduction: EmacsLispIntro. Use ‘C-h i’ (‘info’), then choose ‘Emacs Lisp Intro’. ...
2
votes
1answer
47 views

How to autoload a non-elpa package such as help-fns+.el?

I read from some posts (require vs. package-initialize?, and here) that Emacs can autoload packages installed via ELPA/MELPA, which avoids using require on packages and speeds up loading during ...
3
votes
1answer
86 views

How 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 ...
1
vote
0answers
25 views

Vim help on Emacs using evil-mode?

It would be nice to have the help system present in Vim when using Emacs evil-mode (:help command). I searched online and could not find a way to do this since only the native Emacs C-h help menu is ...
3
votes
3answers
376 views

What's :eval (colon eval) in defcustom?

I am reading this Elisp library and can't figure out what :eval is.
1
vote
1answer
41 views

special form or macro? eval-when-compile, eval-and-compile

Is eval-when-compile a special form (primitive in C), or a macro? According to the elisp manual, C-h S eval-when-compile RET, Special Form: eval-when-compile body... But according to C-h f eval-when-...
1
vote
1answer
27 views

Flymake colouring?

I've recently updated my Emacs from 26 to 27, and now the Flymake error indicators are very hard to see - they're now in a very pale rose instead of crimson red. How can I change the colour back? I've ...
1
vote
0answers
85 views

How to get help on Doom's own functions

I use describe-function command with SPC h f to get help on emacs functions. But I want to get documentation on Doom's own functions such as map!. describe-function doesn't list this function. How can ...
0
votes
2answers
42 views

Open clickable filenames in the same help buffer

I looking for simple solution to open clickable filenames in the same help buffers. For example, when we display help for add-to-list variable and click TAB the cursor is placed on the subr.el file ...
0
votes
2answers
56 views

How to know the list of possible commands when in a session?

For instance: When I am in C-c C-e (export), by pressing # you get extra options. How to know this? Another example: When in a helm session, by pressing C-c C-f, you activate helm-follow-mode. But ...
2
votes
1answer
41 views

How to automatically select apropos buffer when it is displayed

It is possible to automatically select *Help* buffers when they are displayed by doing (setq help-window-select t) (relevant question: How to close help buffer without moving to it?). Is there a ...
1
vote
0answers
28 views

Cannot access text properties because of hl-line

I want to change somes faces in my system, but each time I want to access describe-text-properties I get an answer with hl-line, for every text displayed in the buffer. Therefore, I cannot ...
1
vote
3answers
139 views

Is there a way to create an org-mode link that opens help?

For example: * Purpose Keep some notes to elisp functions. [[link:elisp-func][elisp-func help]] I want to open the link via C-c C-o which would show a buffer with help as though I had ran instead: C-...
1
vote
1answer
40 views

How to get the mode-specific help information or help files

No matter in which mode I am currently in, is there a general way / key combination to open the help file related to the currently active mode?
4
votes
2answers
105 views

Display summary information on command when running Meta-x

Since I'm new to GNU Emacs (version 26.1 running on Debian Stable) I'd like to get some information when invoking a command using Meta-x. Currently I'm only able to see a list of possible completions ...
3
votes
3answers
156 views

How does scoping work in emacs lisp

A lot of emacs configurations shared publicly have this format: ;; 01-something.el (provide 'something) ;; init.el (require 'something) Suppose I'm writing a defun named "s-join" inside 01-...
1
vote
1answer
93 views

emacs lisp manual

What does this text mean, in node Simple Lambda Expression Example of the Emacs Lisp manual: As these examples show, you can use a form with a lambda expression as its car to make local variables and ...
1
vote
1answer
29 views

Completion with help

I'm using completing-read to get an argument for an interactive command. The argument is a non-intuitive word (required for my application), so the completion list looks like this: Possible ...
0
votes
1answer
245 views

Getting Helm describe-function/describe-variable’s secondary to work like helm-M-x?

When you use Helm for M-x, you can quickly check the documentation for an interactive command before calling it, it using the secondary key (usually C-z or C-j; I use the latter below). It brings up a ...
0
votes
0answers
58 views

C-h v gives " Symbol’s value as variable is void: default

I'm running 26.1, I don't believe I have anything weird help-related in my .emacs. When I try to get help on a variable, C-h v, it tells me Symbol’s value as variable is void: default. Any hints of ...
1
vote
2answers
40 views

Is there a more convenient way to find out what keys do in org-agenda than looking it up or just pressing them?

Sometimes just pressing keys until one does what I want works, but this feels rather unelegant. Is there an easier way of finding out what keys do what?
2
votes
1answer
141 views

How 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?
3
votes
0answers
53 views

What does it mean that something is an incompatible package?

I have some issues going on with my emacs and am getting an error where the stacktrace seems to indicate a potential issue with the parinfer package. I run describe-package on it and get parinfer is ...
0
votes
3answers
58 views

How to find information about a function?

To be able to learn about functions on my own I would like to know where I can find information about them (within emacs or otherwise).
4
votes
2answers
154 views

Display keybindings typed in a buffer

On this video stream, the window on right displays the keybindings typed with its corresponding command bound. Is there any package that does that, or a way to achieve it?
3
votes
1answer
450 views

How to close help buffer without moving to it?

I often use Emacs' help buffers, via e.g. C-h k. Buffer *Help* is displayed in another window, and that window is not selected. In order to close the *Help* buffer, I need to switch windows via C-x o ...
1
vote
2answers
56 views

How to find hook running after last line of code?

I have a repeating habit such as: ** TODO some habit SCHEDULED: <2020-05-22 Fri 08:00 .+1d> :PROPERTIES: :STYLE: habit :CREATED: [2020-05-08 Fri] :LAST_REPEAT: [2020-05-21 Thu 10:07] :END: :...
0
votes
0answers
66 views

How do I find out what libraries I need to require?

When I write elisp, since I already have a lot of packages required which in turn have required other code, I am able to use a lot of functions without requiring them. When I give the code to someone ...
1
vote
2answers
113 views

How to describe-mode (but not the current major mode)?

I know that describe-mode will describe the current major mode. Is it possible to describe a mode, and I will input the mode name?
1
vote
1answer
61 views

Finding org-mode bindings

I sometimes want to insert a new heading without first jumping to the end of the current tree. It was fairly simple to guess that this could be achieved by calling (org-insert-heading), but from C-h ...
2
votes
1answer
40 views

Why is appropos (C-h a) not finding all terms, e.g. backup doesnt find make-backup-file-name-function

When running C-h a then entering backup, it lists the following matches, but not all of them (e.g. does not find the make-backup-file-name-function)? Buffer-menu-backup-unmark M-x ... RET Move ...
1
vote
2answers
324 views

Temporarily show the documentation for a emacs lisp function

I want to bind a key which when pressed shows the documentation for an emacs lisp function, but as non-disruptive as possible. I want the contents of describe-function but jumping directly to the docs ...
1
vote
1answer
110 views

How to jump multiple lines in emacs?

Suppose I want to jump x amount of lines up or down. Is there a convenient command for it?
1
vote
1answer
149 views

How do I describe C-z?

I tried to bind a key using a prefix-key of C-z, but Emacs told me: Key sequence C-z c starts with non-prefix key C-z. I guess this means that C-z is already bound to something. So I tried to do M-x ...
4
votes
1answer
139 views

How do I install An Introduction to Programming in Emacs Lisp? [duplicate]

This may sound odd, but when I type C-h i m Emacs Lisp Intro -- it's not there. I'm on Ubuntu 19.10 with Emacs 26.3. I tried apt-get install emacs-lisp-intro as the EmacsWiki said, but there's no such ...
2
votes
2answers
245 views

How to detect the key binding for a function in elisp?

How would I go about getting the key binding for a function in elisp? I'd like to know which key is used to quit. e.g. keyboard-quit. I tried using the function used by help functionality but it's ...
2
votes
1answer
108 views

How to introspect function & macro arguments in elisp?

Is there a programmatic way to access function/macro arguments, Something like this, which returns the the arg count and true if it accepts any number of additional arguments. eg: (number-of-...
0
votes
0answers
71 views

In a buffer with widgets how can I find out what function is called on a (link) widget

In a buffer with widgets how can I find out what functions widgets call? Let's say I position the cursor on a widget, I execute M-x widget-browse-at and know now that the widget is of class "link". ...
2
votes
2answers
165 views

What does it mean to type the "at" symbol in `C-c @ C-h`?

I'm using hideshow and I like it. The package is recommending me that I use the keys C-c @ C-h to hide a block instead of typing some really long command. I'm familiar with C-c and with C-h, but I can'...
0
votes
1answer
31 views

How to run a mini-buffer command from interpreter

I think this might be a duplicate but I can't figure out how to run this: (man emacs)[cursor] [C-x][C-e] Error I get back: Debugger entered--Lisp error: (void-variable gpg) (man gpg) eval((man ...
1
vote
1answer
25 views

Number value echoed from evaluation

What does the (#o3, #x3, ?\C-c) output in the echo area (next to the 3) represent? Here I've simply evaluated (+ 1 2)
5
votes
1answer
731 views

Are the graphical depictions in docs drawed in manual labour?

There are tons of pretty graphical depictions in the emacs(or elisp) docs such as x1: -------------- -------------- -------------- | car | cdr | | car | cdr | | car | ...
0
votes
1answer
43 views

eval-expression on (setq helm-debug t) does not change describe-variable output

I'm running this version of Emacs: GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.11) of 2019-09-23, modified by Debian Installed on Ubuntu 19.10 via apt, and not built from source. ...
1
vote
1answer
54 views

Can which-key help with extended keyboard shortcuts?

I have two shortcuts defined like this ;; eval in shell (global-set-key (kbd "C-c x s") 'eir-eval-in-shell) ;; eval in ruby (global-set-key (kbd "C-c x r") 'eir-eval-in-ruby) which-key helps me ...
3
votes
3answers
199 views

How can I check the implementation of a builtin function?

Is there a way to check the implementation of a builtin function (e.g. load-file) without cloning the Emacs repository?
2
votes
1answer
54 views

describe key for menu-bar items from `menu-bar-open` calls

Preface: I disabled menu-bar-mode and bound <mouse-3> to menu-bar-open, via (global-set-key [mouse-3] #'menu-bar-open) With this configuration, how can I get help for menu-bar items? (My ugly ...
0
votes
1answer
139 views

how to generate tags and find mark-whole-buffer definition

I am following the Introduction to Programming in Emacs Lisp tutorial built in in Emacs and have arrived at the Buffer Walk-through section. In the 4.1 Finding more information the function xref-find-...