Most Popular
1500 questions
22
votes
1 answer
How to customize background color for some web pages opened with eww?
I just installed emacs 24.4 and I've started using eww. But one annoying thing is that when I visit google.com I get a grey background which makes text really hard to read for my theme.
This is how it looks:
Is there any way I could change the…

caisah
- 4,056
- 1
- 23
- 43
22
votes
2 answers
Magit diff side by side
I would like to know if there is a way to get the standard side by side diff view in magit. That is, instead of seeing the old code chunk and the new one one after the other, I'd like to see them on the same horizontal alignment.

wizmer
- 877
- 1
- 7
- 9
22
votes
1 answer
How do I install GnuTLS for Emacs 25.1 on Windows?
I just upgraded Emacs on my Windows 10 machine from 24.5 to 25.1. For Emacs 24.5 I had GnuTLS correctly setup and for 25.1 I did what I thought I remembered I did:
Got prebuilt Emacs binaries from the GNU Emacs website's download page. I'm using 32…

Omar
- 4,732
- 1
- 17
- 32
22
votes
5 answers
How to recursively search / grep file contents in a directory / subdirectories in Emacs?
I'm using Emacs for quite some time and I still somehow fail to understand what is the best way to (recursively) grep for a string within a (project) directory and get the results presented either as a dired buffer or in some even more useful way.…

Boris Stitnicky
- 543
- 2
- 4
- 10
22
votes
2 answers
How do I set up indentation to 2 spaces in web-mode
I just installed web-mode. It works, but the indentation
seems to be set to 4 spaces by default. How does one
properly set it to 2 spaces?

Boris Stitnicky
- 543
- 2
- 4
- 10
22
votes
1 answer
What does `setq-local` do, and when should I use it?
I'm not quite clear on all the variations of buffer-local variables, even
after reading all the doc and a bunch of postings here on SX.
Here's a summary of my understandings:
(defvar foo ..) declares a dynamic variable for the file. But the
variable…

Kevin
- 1,308
- 8
- 20
22
votes
7 answers
How to search and replace in the entire buffer?
Search and replace, by M-% and !, is done from current position to the end of the buffer. How can I do it for the entire buffer? Thanks.

Tim
- 4,987
- 7
- 31
- 60
22
votes
4 answers
Shrink/Zoom/Scale images in image-mode
With Emacs' doc-view-mode I can easily shrink/zoom/etc PDFs, however, I would like to be able to do the same thing with images. Currently when I open an image I cannot adjust the zoom level to fit it to the frame. I know there is…

Lee H
- 2,697
- 1
- 16
- 31
22
votes
3 answers
How to use skewer-mode?
I am currently struggling to use skewer-mode in Emacs.
I downloaded and installed skewer-mode via MELPA, so all the dependencies should be inplace.
For testing purposes I even downloaded the boidsjs demo.
I'll open up boids.js, then type…

JacksGT
- 393
- 2
- 9
22
votes
3 answers
How to cancel `edebug-defun`?
How do I undo the effects of edebug-defun? In other words, how do I rescind the directive that causes edebug to enter debugging mode when a particular function is invoked?
Also, I'd really like to know where the answer to this question is in the…

kjo
- 3,145
- 14
- 42
22
votes
1 answer
Emacs Lisp comment conventions
The Emacs Lisp Reference Manual's Appendix D.7 mentions some comment tips:
Single semicolons (;) should be used for inline comments.
Double semicolons (;;) should be used for line comments.
Triple semicolons (;;;) should be used for "comments which…

Tianxiang Xiong
- 3,848
- 16
- 27
22
votes
1 answer
How to start Emacs without the cmd.exe window (on MS Windows)?
It says emacs/bin/emacs.exe. If it's not necesarily useful, I'd like to stop it from starting with emacs. The extra window is messing me up a bit.

Evan Adler
- 399
- 3
- 4
22
votes
2 answers
How to automatically sign commits with magit?
I'm interested on having each of my commits signed with my GPG key. Since I use magit for interfacing with git, I was wondering if telling magit to sign each commit was possible (or some workaround to achieve this was feasible, at least).

shackra
- 2,702
- 18
- 47
22
votes
2 answers
"no org-babel-execute function for c" and "no-org-babel-execute function for c++"
my emacs version is 24.3.1.
i understand i have to put the ob-C.el (available from here) in a path where Emacs can read it.
i first copy-pasted the code from that .el file to my .emacs file and restarted emacs. then i went to a C code block (within…

Arjun J Rao
- 323
- 1
- 2
- 6
22
votes
1 answer
Inline SVG's in org-mode?
I can see many image formats in orgmode, but not SVG.
I get the error Invalid image type 'svg' when I run org-display-inline-images.
It should be possible given this question exists:…

avv
- 1,563
- 10
- 24