Most Popular
1500 questions
10
votes
0 answers
Cycle through multiple cursors to enter different text at each point?
When multiple cursors has marked multiple points in a buffer you can use C-v (mc/cycle-forward) to cycle through and look through all cursors while typing for all cursors. I'm wondering how to enter different text at each cursor point while…

ebpa
- 7,449
- 29
- 55
10
votes
2 answers
Multiple cursors package makes emacs run slow
I'm using the package Multiple Cursors in an html file and it's awesome for a few cursors but if I create more than 30 or 50 cursors it gets terribly slow and it takes about five or six seconds just to move the cursors.
Am I using it wrong or it…

Fabman
- 578
- 2
- 14
10
votes
1 answer
Change the default visibility of a Magit section
I have a fork of popular repo, I want to be able to keep track of commits being push to that repo while also having my own personal commits to my fork. I don't really want my changes to be merged upstream so I'm fine with merging/rebasing every time…

Ammar Alammar
- 325
- 1
- 7
10
votes
2 answers
How to add complex syntax highlighting in a minor mode?
I'd like to highlight code with various faces in a minor mode.
Here's a screenshot that's close to what I want:
One thing that I'm missing is having the comment chars # in
font-lock-comment-face. The idea is to have comments that "belong"
to an…

abo-abo
- 14,113
- 1
- 30
- 43
10
votes
0 answers
How to investigate "color bleeding"?
I frequently have color-bleed issues in emacs, most often with AUCTeX: all of a sudden and for no apparent reason, the line I'm writing will be fontified as math.
First things first: no, I do not have any lone $ character in a verbatim context.…

T. Verron
- 4,283
- 2
- 24
- 56
10
votes
3 answers
Organize the buffer list?
When you have many buffers opened, they are all shown in the buffer list.
Are they shown in the order of visit, from the latest to the remotest?
Can we organize the buffers in the buffer list somehow? For example resort them by their pathnames?

Tim
- 5,007
- 7
- 32
- 61
10
votes
1 answer
Meaning of CRM column in buffer list from `C-x C-b`?
In the Buffer List, I wonder what the CRM column means and ., *, % and D mean in the column? For example
CRM Buffer Size Mode File
. * .emacs 3294 Emacs-Lisp ~/.emacs
% *Help* …

Tim
- 5,007
- 7
- 32
- 61
10
votes
2 answers
How to open a file with tramp mode when Helm is active?
I recently started using Helm with the configuration below
(require 'helm-config)
(helm-mode 1)
(define-key global-map [remap occur] 'helm-occur)
(define-key global-map [remap list-buffers] 'helm-buffers-list)
(define-key global-map [remap…

Jens Kubieziel
- 681
- 10
- 26
10
votes
3 answers
How do I debug an "Invalid face reference: quote" message?
After using Emacs for some time, the message Invalid face reference: quote starts popping up in my message buffer. I'm not sure what causes it to start appearing.
debug-on-message doesn't do anything (this is an error in the redisplay…

Clément
- 3,985
- 1
- 23
- 39
10
votes
1 answer
Emacs is asking me for a coding system on each save
I consolidated many text files (win, mac, unix) into a single orgmode file. For some characters I was seeing numbers instead of the right characters. Things like \314\203.
I used "revert-buffer-with-coding-sytem" and choose utf-8-hfs-unix.
That…

Jason Mirk
- 723
- 4
- 16
10
votes
3 answers
Evil-emacs: how to select last pasted text (like gv)?
How do I visually select the last pasted text with evil-emacs?
gv reselects the last visual selection. I'd like a function/snippet that does the same for my last pasted text.

The Unfun Cat
- 2,413
- 17
- 32
10
votes
2 answers
Navigate to the source code of built-in functions and variables
Throughout the day I am constantly using C-h f or C-h v (describe-function and describe-variable) to look up documentation for functions and variables. More often than not, if I don't get all the information I need, I will click on the file link at…

elethan
- 4,825
- 3
- 30
- 56
10
votes
3 answers
What Emacs Lisp boolean/logical convenience functions exist?
What boolean/logical convenience functions / macros are available for Emacs Lisp in either the core set of functions or external packages?
I'm interested in just about anything other than the built-in logical operators in and, or, not (null) and…

ebpa
- 7,449
- 29
- 55
10
votes
1 answer
How do I make auto-complete enabled by default
I'm running GNU Emacs 24.4.1 on a clean install of Debian 8.1. I've installed auto-complete using the package manager. It is installed and if I type M-x auto-complete-mode I get a working auto-complete. I would like to have it enabled by default.…

Gregory Arenius
- 247
- 2
- 4
- 12
10
votes
2 answers
What might be unused keys on Emacs that generally can be used to bind keyboard macros?
I read that the usual way to bind key to keyboard macros are C-x C-k 0 to 9 and A to Z.
So for example, after we define a keyboard macro, we can type
C-x C-k b and Emacs will ask for a key to bind. And the reserved keys for this purpose are C-x C-k…

nonopolarity
- 273
- 1
- 7