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
17 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
19 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
697 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
14 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
25 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
33 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 ...
1
vote
3answers
86 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
21 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-...
39
votes
9answers
5k 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
1answer
133 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
49 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
23 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
92 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.
1
vote
1answer
43 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
1answer
57 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
25 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
98 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/...
2
votes
2answers
113 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
158 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 ...
0
votes
0answers
17 views

How to configure Spacemacs on Win10 to use’ispell

I just installed spell checking on spacemacs and received an error message that I didn't find the Ispell directory. I installed ispell, but I don't know how to tell spacemaacs ispll where and add the ...
5
votes
1answer
85 views

Not found lisp reference manual within emacs

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 ...
2
votes
1answer
250 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
234 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, ...
0
votes
2answers
138 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# ...
0
votes
0answers
39 views

Why IDO not show keybindings?

To kill line I use command kill-line (C-k) Nice. But why IDO not show keybinding for this command (C-k) ?
1
vote
1answer
96 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
101 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
31 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
208 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 ...
3
votes
1answer
118 views

Help needed to debug (very) slow markdown-mode

I come back to emacs after an eternity without using it. I used it before but now that I'm a grown up I'd like to understand what I do and how to do stuff. I use emacs mainly for markdown edit at the ...
0
votes
1answer
25 views

Unable to mark files in directory listing from `C-x C-d`

I was just wondering if anyone has noticed the following behaviour after doing C-x C-d. I use C-x C-d to navigate to a directories and subdirectories with pdfs. Then I try to mark a pdf file with M-x ...
4
votes
1answer
68 views

Smarter behaviour for “rename-uniquely”?

I am starting to use "rename-uniquely" for help buffers so I can see multiple function helps at the same time. However, what I get is: *Help* *Help*<2> *Help*<3> etc What I would ...
1
vote
1answer
101 views

Navigation to source of compiled lisp function?

https://stackoverflow.com/questions/4222183/emacs-how-to-jump-to-function-definition-in-el-file and talk about navigation to source of functions. They offer two options: M-x find-function C-h f ...
0
votes
1answer
51 views

Profile performance for a given command

Say I create a quick keyboard macro, but find that executing it in quick succession is extremely slow. How can I determine in what functions or packages this command is spending most of its time? ...
1
vote
1answer
73 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)
3
votes
2answers
61 views

Confused by the Emacs Lisp doc : Adjusting Point After Commands

I am on the trip of reading GNU Emacs Lisp Manual, and section 20.6 has the following text: It is not easy to display a value of point in the middle of a sequence of text that has the ‘display’, ‘...
1
vote
1answer
90 views

Keyboard layout changed but I don't know why

Sometimes, when I type quickly I do something that change the keyboard layout: the key that would produce < now produces |. Problem is that I don't know how I cause that and how to undo that! If I ...
2
votes
2answers
48 views

Format help buffers to specific width

I'm helping a visually impaired user make viewing documentation in Emacs easier. He sets his font size such that he has about 40 columns of text in a full-screen frame with no splits (and he has ...
2
votes
1answer
415 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
196 views

How best to export functions in dynamic modules

Background I am running Emacs version GNU Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2017-05-28 I am writing a toy dynamic module to interface with GNU/Linux ...
1
vote
0answers
43 views

Open GNU Scientific Library Documentation within emacs?

How do I open documentation of the GNU Scientific Library within emacs?
3
votes
0answers
169 views

Info basics: where is package Info?

I just grabbed csv from elpa (melpa) and, of course, the install buffer had the blurb about csv. I take it that blurb is an Info file somewhere? Or is it just a section of the csv.el comments? In ...
3
votes
1answer
374 views

Emacs hangs after describe-variable on package-archive-contents

When I try run describe-variable on package-archive-contents C-h v package-archive-contents emacs hangs. It hangs at least 5 minutes, maybe forever (I did not wait any longer). Seems like Esc : (...
2
votes
1answer
171 views

Jump to where a keybinding is defined?

It is possible to jump to the function that a keybinding is mapped to (via describe-key). Is it possible to jump to where the keybinding itself is defined? Example (define-key my-mode-map "a" 'my-...
6
votes
3answers
739 views

lazy find/search for commands within emacs

Is there a way to do a lazy find/search within EMACS, for commands using their description? Something in the lines of: Say I am looking for how to add indent to org mode I suspect there is a ...
5
votes
2answers
750 views

What does dependency mean in the Status field of a package shown in list-packages

The command list-packages shows the list of available packages. A Status column appears with several possible values: available installed dependency built-in incompat And the packages seem to be ...
1
vote
0answers
36 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
0answers
186 views

Emacs can not access its own manual

I just installed Emacs 25.2 on my computer, but I can not access its manual. when I press C-h r this screen opens which lacks any links related to the Emacs manual. Futhermore, the echo area displays ...