Most Popular
1500 questions
30
votes
10 answers
How do use Emacs to look up a function in Python?
What is the easiest way to configure Emacs to be able to look up where a function is defined? I want to highlight it in Emacs and press a key combo to look up where the source of the function is.
Can you also find out where a specific function is…

Low Kian Seong
- 413
- 1
- 4
- 6
30
votes
1 answer
How do I automatically load a mode for a specific set of file extensions?
I'd like to load the yaml-mode for any files named *.yml or *.yaml.

b4hand
- 1,995
- 1
- 19
- 31
30
votes
5 answers
Editing files with one-sentence-per-line
A bit of background.
I’m trying to version-control my latex documents, and the
effectiveness of this initiative would be greatly improved if I adopt
a one-sentence-per-line approach.
For instance, the following is what my documents will look…

Malabarba
- 22,878
- 6
- 78
- 163
30
votes
2 answers
what does "let*" ( let asterisk) mean in elisp
I've used let before, but never used let*
what does let* ( let asterisk) mean in elisp?
fyi this one was hard to google because of the asterisk.

american-ninja-warrior
- 3,773
- 2
- 21
- 40
30
votes
2 answers
Display PDF images in org-mode
Note: This question was asked here before, with no success.
Org-mode’s ability to display inline images is fantastic for writing
my weekly scientific reports. I can include graphs, link them with
their data, link with the conclusions, and really…

Malabarba
- 22,878
- 6
- 78
- 163
30
votes
3 answers
Does emacs have an option to display build settings?
Does emacs have an option or some internal command that displays build time settings and whatever features it supports?
A good example is the nginx -V command which lists the ./configure options it was compiled with.

vfclists
- 1,347
- 1
- 11
- 28
30
votes
6 answers
Switching between window layouts
When I configure a custom layout and then just need to temporary look into one file fullscreen and once I want that layout back - I need manually to reflow it.
I would like a plugin/elisp code to save my layouts and to be able to switch between…

lukas.pukenis
- 677
- 6
- 11
30
votes
2 answers
New line in Title of an org-mode exported html document
I use org-mode to document stuff and usually export it to pdf (via latex) and html.
If the \\ characters are at the end of a line, it forces a newline character when exporting to both pdf and html.
But I would like to know how to force a newline…

Kaushal Modi
- 25,203
- 3
- 74
- 179
30
votes
1 answer
In Magit, what is the difference between a 'stash' and a 'snapshot'?
The Magit user manual includes two sets of "stashing" commands: lower-case commands save a stash, and upper-case commands save a snapshot. After consulting Google and Stack Overflow and the git-stash(1) man page, I still don't know what the…

Norman Ramsey
- 1,113
- 6
- 13
30
votes
4 answers
How to unhighlight symbol highlighted with highlight-symbol-at-point
highlight-symbol-at-point is really useful however I could not find an easy way to un-highlight symbols.
Currently I have to call unhighlight-regexp repeatedly for each highlighted symbol.
Is there a better way to:
unhighlight all highlighted…

kostya
- 503
- 4
- 6
30
votes
3 answers
Magit, how to use system's ssh agent and don't ask for password
I've googled and read the FAQ and Wiki for Magit, but still unable to figure this out, all I find are answers about Windows...
How can I configure Magit to use my running ssh-agent session and don't ask for my password when doing a push.
I'm running…
user2234
30
votes
1 answer
How to distinguish C-i from TAB?
Normally, for historic reasons, emacs treats the TAB keycode and the C-i key as the same, cf. the emacs lisp documentation on function keys or abo-abo's answer on the question "What is the difference between TAB and ?".
NOTE: In this post, keycodes…

elemakil
- 2,517
- 1
- 18
- 26
29
votes
4 answers
org: How to sort headings by TODO and then by priority?
I often have a list like this:
* Main heading
** TODO [#A] Make world better
** TODO [#B] Make Emacs better
** TODO [#B] Customize emacs
** DONE [#C] some task
** TODO [#A] Launch rocket to mars
I would like to sort it according to the 'TODO'…

Leo Ufimtsev
- 4,488
- 3
- 22
- 45
29
votes
1 answer
How to highlight text permanently in org-mode
I know I can use *bold*, /italic/, _underlined_, =verbatim= and ~code~, and, if you must, ‘+strike-through+’ to do some markup to text according to org-mode documentation, but they are not enough for me(bold is not obvious when viewing the org…

CodyChan
- 2,599
- 1
- 19
- 33
29
votes
9 answers
Hide list of minor modes in mode-line
I use quite a few minor modes and usually I know which minor mode is enabled in every major mode. If I really want to see the full list, I can run C-h v minor-mode-list.
At the same time, my mode line get really clogged, so when I vertically split…

Mark Karpov
- 4,893
- 1
- 24
- 53