Most Popular
1500 questions
64
votes
9 answers
How to proceed on package.el signature check failure
I just tried to install ascii-art-to-unicode from the gnu repository (http://elpa.gnu.org/) via list-packages. I get the following error:
package--check-signature: Failed to verify signature
ascii-art-to-unicode-1.9.el.sig: ("No public key
…

Tom Regner
- 904
- 1
- 9
- 13
64
votes
2 answers
What do I do when Emacs is frozen?
What should I do when Emacs stops responding?
My current "emacs-is-frozen" protocol looks like this:
Spam C-g (it sometimes works)
Wait for a while.
pkill -9 emacs
What alternate steps could I try to avoid losing work that hasn't been autosaved…

Clément
- 3,924
- 1
- 22
- 37
63
votes
12 answers
Synchronize packages between different machines
I use emacs in different places and I want to have a similar setup and packages installed everywhere. I guess I can use a version control repository for the setup files. Since I use Prelude, that would be ~/.emacs.d/personal/.
I don't know how to…

El Diego Efe
- 1,601
- 1
- 19
- 24
63
votes
4 answers
How to easily cherry pick with magit?
I've been using magit for a few months now and I like it a lot. But one thing I still do it in a terminal is cherry picking.
What is a simple way to do this?

caisah
- 4,056
- 1
- 23
- 43
62
votes
4 answers
How to migrate Markdown files to Emacs org mode format
I've got hundreds of personal notes stored as files in Markdown format, after several years using the VoodooPad personal wiki software for OS X.
There's plenty of information available for exporting from org mode to Markdown, but is there an easy…

Steve HHH
- 725
- 1
- 5
- 7
62
votes
4 answers
Debugging a frozen Emacs
I am using mew for my e-mail. I need to use TLS with my email provider for SMTP. However, when I try to invoke that, Emacs freezes.
I would like to take this opportunity to learn more about Emacs packages. How would I go about debugging this…

Svante
- 721
- 5
- 7
62
votes
3 answers
What's the Magit equivalent of 'git add'?
What is the Magit equivalent of git add [--intent-to-add] for checking a newly created file into Git?

feoh
- 900
- 1
- 6
- 9
61
votes
1 answer
Can I checkout a given commit from magit's log view?
I'm exploring a git repository history using magit's log view using l l. Can I checkout a given commit from there without going to terminal?

Rafa de Castro
- 1,231
- 10
- 14
61
votes
5 answers
What options are there for writing better non-programming text in Emacs?
This is a fork from the question What options are there for doing spell-checking in Emacs?
Because I'm currently doing a lot of non-programming tasks in Emacs I'm wondering whether Emacs can support me in writing better texts.
So, let's open with…

elemakil
- 2,517
- 1
- 18
- 26
59
votes
2 answers
What are the differences between autocomplete and company mode?
There seem to be two major autocompletion extensions for emacs: autocomplete and company mode. What are some of the practical differences between the two and when would I want to use one over the other? Also, are they compatible with each other?

Connor
- 1,591
- 1
- 19
- 26
59
votes
6 answers
How to exclude files from Projectile?
I am using the helm-projectile setup from prelude and it has been a huge improvement to my workflow. The only remaining issue are auto-generated files (e.g. generated by CMake) which show up during helm-grep and similar operations.
Question: is…

Beginner
- 2,661
- 3
- 17
- 25
58
votes
1 answer
How to view diff when emacs suggests to recover this file?
Sometimes it happens: emacs prompts you about recovering unsaved changes to a file, but you cannot remember if you want those changes or not.
Starting at the recover-this-file buffer, is there a way to view a diff or otherwise directly see the…

Sparx
- 1,111
- 9
- 20
57
votes
5 answers
Change a branch's upstream with Magit
When you push a branch with Magit (with P P) and the branch has no
upstream, Magit asks you the name of the branch you want to push to.
That's great.
Once you set the upstream for a branch, however, Magit no longer asks
you where you want to push…

Malabarba
- 22,878
- 6
- 78
- 163
57
votes
3 answers
How can I troubleshoot a very slow Emacs?
I am writing a document and I have a problem with Emacs' performance that I think appeared just yesterday. I haven't made any alterations in my init file or installed any new packages.
The problem is that while I am writing, there's a very…

Adam
- 2,407
- 2
- 21
- 38
57
votes
3 answers
Inline verbatim and code with quotes in Org-mode
In Org-mode I can surround text with = or ~ to place text in inline verbatim or code mode.
However this fails if the text has quotes, and I couldn't find an explanation or workaround in the documentation.
For example:
=hello= Renders as…

Amelio Vazquez-Reina
- 5,157
- 4
- 32
- 47