Questions tagged [help]

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

Filter by
Sorted by
Tagged with
3
votes
2answers
49 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?
1
vote
1answer
24 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 ...
10
votes
2answers
315 views

Emacs 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 ...
1
vote
2answers
42 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
1answer
37 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 ...
1
vote
1answer
102 views

\\{ in a doc string: what does it mean/do?

What does this backslash syntax mean? (defun elfeed-search-mode () "Major mode for listing elfeed feed entries. \\{elfeed-search-mode-map}" (interactive)
48
votes
9answers
7k views

How 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 ...
0
votes
0answers
38 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
1answer
60 views

Configure echo time for input of key-sequence prefix keys

I am writing latex code with AUCTEX. I very often highlight text in bold or italics. For instance, AUCTEX comes with the command C-c C-f C-e, wich can be used to emphasize text in an active marked ...
1
vote
2answers
48 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?
2
votes
1answer
517 views

Where is the file for the Fancy Startup Screen

I'm trying to find where the contents of the *GNU Emacs* buffer, aka fancy startup screen, are located on my hard drive. When I M-x eval-expression buffer-file-name to find the file of the current ...
2
votes
1answer
79 views

How to graphically represent Meta characters

Given that the variable x contains the numeric representation of the key "Control-Z", say (setq x ?\C-z), one may graphically represent its contents by issuing the command (char-to-string x), ...
2
votes
1answer
39 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 ...
0
votes
2answers
64 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 ...
2
votes
1answer
799 views

Help Buffer on Hover Possible?

I'm looking for something similar to Eldoc mode (hover over a function and the parameter list appears in the minibuffer), only I'd like to have a help buffer appear, as if I had just run describe-...
2
votes
1answer
269 views

Please explain the behaviour of this emacs feature. (Lisp Interaction mode, truncate long lines)

Sometimes when a function or variable outputs a very long line, it ends with ...). When the cursor is on that line and I press return, the line gets longer (probably expanded). I guess this is some ...
1
vote
1answer
44 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
55 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 ...
2
votes
1answer
75 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
114 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
81 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-...
2
votes
7answers
866 views

How to get the function help without typing?

I'm already used to press C-h f and type a function name to ask for help on that function. But if the function name is already under the cursor (e.g. while visiting the .emacs configuration file), is ...
0
votes
0answers
35 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
87 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
27 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
21 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
716 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
24 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
37 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 ...
2
votes
1answer
41 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 ...
2
votes
3answers
125 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?
0
votes
1answer
53 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-...
0
votes
1answer
149 views

How to invoke Elisp code interactively

Related Question I want to interactively invoke Elisp code which extracts the words between two arbitrary symbols. So could someone kindly guide me to a modest document which explains how to invoke ...
2
votes
0answers
79 views

Follow mode for describe-function/describe-variable

When learning elisp by reading source code (on a large screen) it would be nice to have something like a "follow mode", which automaticaly displays the output of describe-variable or describe-function ...
1
vote
1answer
41 views

Next buffer command change when in the terminal window

I am totally new to Emacs and on this first day I am trying to do very basic stuff in emacs. I am stuck at switching buffers when there is a terminal window open (by using M-x term). The next buffer ...
7
votes
1answer
125 views

How to discover (standard) function names?

When programing emacs (or common) lisp, how to discover (standard) function names (using emacs and working offline)? Example: Let's say you want to shift bits of an integer, but you don't now ...
14
votes
5answers
2k views

Is there a command `describe-command', similar to command `describe-function'?

I use C-h f heavily, but this is all functions in Emacs. I'm often only interested in interactive functions, i.e. commands. Is there an equivalent for commands? Ideally I'd like ido completion too.
2
votes
1answer
89 views

Retrieve all the major modes equipped with emacs

I learned that GNU Emacs Manual Most major modes fall into three major groups. The first group contains modes for normal text, either plain or with mark-up. It includes Text mode, HTML mode, ...
0
votes
1answer
48 views

How to modify the jump character color displayed by evil-avy-goto-line?

The color of the jump character displayed by evil-avy-goto-line is somewhat blurred, which causes me to change the color of the displayed character or modify the color of the background strip of the ...
2
votes
1answer
154 views

What keys can I use to create/delete and select side windows?

I have a shell buffer that's a good candidate for a side window: I also regularly use an org buffer, that's always good to have around. https://www.gnu.org/software/emacs/draft/manual/html_node/elisp/...
3
votes
2answers
136 views

Disabling quote conversion in docstrings

(defun foo () "`bar'") The ASCII quotes in this docstring are displayed as typographical quotes by describe-function. Is it possible to have them displayed in their original form?
1
vote
2answers
186 views

Automatically switch to new help frame

Now that emacs supports frames in terminal mode, I'm finding that the help commands open in a new frame. Is there a way to automatically switch to the new frame after it is created? I have seen the ...
2
votes
1answer
269 views

Meaning of “value is t”

When using describe-variable, often the value for a variable is listed as: Its value is t What does that mean and why specifically t?
0
votes
3answers
298 views

Does emacs have some kind of customized popup creator?

Is there some kind of popup creator package which enables me to create some customized cheat sheets to help me with commands I need or haven't yet memorized? I want to create some simple text files, ...
1
vote
2answers
206 views

What does the prompt mean for `has changed since visited or saved. Save anyway?`

When I try to save a buffer back to a file: install-packages.sh has changed since visited or saved. Save anyway? (yes or no) I don't know why it happens, but I also see #install-packages.sh# ...
2
votes
1answer
225 views

Find variable definition and uses in emacs-lisp files?

Is it possible to find/jump/point to where an Emacs LISP variable is used/defined within the current file? I know about find-variable, describe-variable and find-symbol, but those all seem to work ...
4
votes
2answers
107 views

Understanding “It is bound to …” message in describe-function

If you ask for a function description, there is a line that starts: It is bound to <...> <...> <...> For example, for isearch it says: It is bound to <menu-bar> <search&...
0
votes
1answer
35 views

How get decimal values?

windows 10, emacs 26.1 Open *scratch* buffer and do next: (/ 15 6) press C-x C-e Result is in minibuffer: 2 (#o2, #x2, ?\C-b) As you can see the result is INTEGER value. But I need correct value ...
3
votes
3answers
2k views

Info file emacs does not exist

When I type C-h r I get error: Debugger entered--Lisp error: (error "Info file emacs does not exist") signal(error ("Info file emacs does not exist")) error("Info file %s does not exist" "...
4
votes
1answer
283 views

What is the correct way to pop up a window with a message, and locally bind a key in that buffer?

What would be the proper way to pop up a window (preferably in the current frame),with a message? I also want to locally (in that buffer only) the q key to a function that will kill the buffer and the ...