Most Popular
1500 questions
25
votes
7 answers
How do I refactor across a project in emacs (change method name everywhere)?
I want to rewrite parts of an opensource project. This includes renaming methods. How can I do that efficiently in emacs across the whole project?
I would rather not use hacks such as search and replace in every buffer.

The Unfun Cat
- 2,393
- 16
- 32
25
votes
3 answers
Let Emacs move the cursor off-screen
This question was originally asked at https://stackoverflow.com/questions/15895313/let-emacs-move-the-cursor-off-screen, but all the answers I got more or less said "it can't be done", which with emacs I just don't accept.
Is it possible to let…

asmeurer
- 1,552
- 12
- 30
25
votes
1 answer
How to widen helm buffer names in `helm-buffers-list`?
One of the things I find annoying in emacs-helm is the size of the column showing buffer names in helm-buffers-list. I have searched the documentation and couldn't find how to customize the width of this column.
Is this even possible?

Renan Ranelli
- 1,379
- 10
- 17
25
votes
8 answers
How to copy links OUT of org-mode?
There's lots of documentation about inserting or storing org-mode-links, but apparently none about copying them to buffers in other formats.
How do you copy the URL of an org-mode-link from an org file into the clipboard/kill ring with as few…

bright-star
- 839
- 9
- 17
25
votes
5 answers
How to disable line wrapping in Spacemacs?
I have limited emacs experience. Tried to find a solution to disable line wrapping in Spacemacs but couldn't find any.
The solution to this problem in Vim is to execute set nowrap. But it's not working in Spacemacs.
Any solution to this would be…

Vamsee
- 353
- 1
- 3
- 5
25
votes
4 answers
How can I run an async process in the background without popping up a buffer?
I have defined some functions to run async background process using async-shell-command in my .emacs, but everytime I run the commands a new window (not frame) is created and the process' buffer is shown there. How could I run the command without…

rlazo
- 983
- 8
- 13
25
votes
1 answer
How do I troubleshoot Emacs problems?
In a situation where Emacs is not behaving like I want, what can I do to troubleshoot the problem? What steps can I take to find and fix the problem myself?
Or, failing that, how can I gather useful information that so that people here (or on the…

Tyler
- 21,719
- 1
- 52
- 92
25
votes
4 answers
Magit - How to expand all and collapse all sections in magit-status
Pressing TAB on a single unstaged file shows or hides details pertaining to that file.
How do I show & hide (toggle) details of all unstaged files at once?
I did come across outline-hide-sublevels via M-x. But I would like to know a key combination…

orion
- 805
- 8
- 16
25
votes
4 answers
Line height with unicode characters
Some Unicode characters cause the line they are displayed on to be quite large. For example, a grave accent "̀ " adds about 2.5 lines of space above and below it. Other characters that cause this behavior include the Greek letter "ϕ" (phi) or…

Patrick Steele
- 1,105
- 9
- 10
25
votes
1 answer
What is the function `purecopy` needed for?
I was browing through compile.el and I noticed this construction:
(defcustom compile-command (purecopy "make -k "))
The purecopy docs state:
purecopy is a built-in function in `C source code'.
(purecopy OBJ)
Make a copy of object OBJ in pure…

dgtized
- 4,169
- 20
- 41
25
votes
6 answers
Flycheck with file relative eslint executable
A lot of projects I work on install eslint as a dev dependency, with a custom set of eslint plugins. Right now, flycheck uses the globally installed version of eslint rather than the version of eslint installed with each project.
I would like to…

pcardune
- 353
- 3
- 6
25
votes
3 answers
How to evaluate Elisp code contained in a string?
The question pretty much says it all: I have a string containing the source code for a valid Elisp expression, and I would like to evaluate it.
(In Python, for example, the expression eval("1 - 2 + 3") evaluates to 2.)

kjo
- 3,145
- 14
- 42
25
votes
2 answers
How to use both variants in Ediff?
Ediff interface has + button, but it doesn't seem to do anything (the minibuffer invariably shows "nil" when I press it), I thought this button was meant for using both variants in the result buffer.
Anyhow, the original question is: how do I make…

wvxvw
- 11,222
- 2
- 30
- 55
25
votes
1 answer
How do I set up font fallback in a robust way?
TL;DR: What's a simple way to reliably say: use Consolas as the default font, FreeMono for the characters unsupported by Consolas, and Symbola for characters unsupported by both?
Since my main programming font does not cover all the mathematical…

Clément
- 3,924
- 1
- 22
- 37
25
votes
4 answers
How to use Flyspell to efficiently correct previous word?
From the moment when I started using Flyspell, it always was painful to
use. I rarely check entire buffer for misspelled words, usually I type and
once I see underlined word I want to correct it instantly and continue
typing. This is simply because…

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