Most Popular
1500 questions
27
votes
5 answers
How to Change size of split screen emacs windows?
If I have Emacs split horizontally and on top I'm editing elisp code and on the bottom I am in the shell. By default, Emacs makes the two windows equal in size, but I'd like the shell buffer smaller. I was wondering how I could do that.
Original…

programking
- 7,064
- 9
- 41
- 62
27
votes
3 answers
How do I make pressing in helm-find-files open the directory?
When I run #'helm-find-files, and move point to a directory, pressing results in opening that directory in dired mode. One has to press C-j to enter that directory in Helm.
I'd like to have act as C-j does here, but not necessarily…

zck
- 8,984
- 2
- 31
- 65
27
votes
1 answer
Magit equivalent for "git remote -v" (list remotes)
I'm wondering if there is a magit equivalent to git remote -v to list remotes and their URL's defined on a git repository. The magit remotes popup offers options to add, remove, rename, and set url, but I don't see any sort of listing…

ebpa
- 7,319
- 26
- 53
27
votes
5 answers
How do I force re-evaluation of a defvar?
Suppose I have an Emacs lisp buffer that contains:
(defvar foo 1)
If I call eval-last-sexp or eval-buffer, foo is bound to 1. If I then edit this buffer to:
(defvar foo 2)
eval-last-sexp and eval-buffer do not re-execute this line, so foo is still…

Wilfred Hughes
- 6,890
- 2
- 29
- 59
27
votes
3 answers
How to prevent flycheck from treating my init.el as a package file?
If flycheck-mode is enabled for my init.el, I got the following kinds of errors:
The first line should be of the form: ";;; package --- Summary" (emacs-lisp-checkdoc)
...
The footer should be: (provide 'init)\n;;; init.el ends here…

xuhdev
- 1,839
- 13
- 26
27
votes
2 answers
Using conda environments in emacs
What is the best way to use conda environmets using emacs as a Python IDE?
I have got different conda environments while programming in Python:
$ conda info -e
# conda environments:
#
django /Users/Pablo/anaconda/envs/django
scipy …

PabloRdrRbl
- 435
- 1
- 4
- 7
27
votes
2 answers
Magit log dates
In Magit log buffer commits (one per line) are shown with relative date. This is nice for recent commits, but makes little sense for older changes. In particular, this makes it annoyingly hard to relate commit dates to specific date, e.g. to find…
user8782
27
votes
3 answers
Where is official 64-bit Emacs for Windows? (The manual said there is!)
I usually download Emacs for Windows from the official GNU site:
http://ftp.gnu.org/gnu/emacs/windows/
The latest version is: emacs-24.5-bin-i686-mingw32.zip
I'm curious that why there's no 64-bit?
From the Emacs…

Nick
- 4,423
- 4
- 24
- 41
27
votes
3 answers
How can I print an Emacs frame?
The function ps-print-buffer-with-faces prints an Emacs buffer. Is
there a way to print a frame with more than one buffer in it? I would
like to print an Emacs calc frame both with the RPN stack and the
trail buffer.

The Dude
- 463
- 3
- 6
27
votes
3 answers
How to type the password of a .gpg file only when opening it
(I understand the security implications of the following, and I'm fine with them.)
I have a single encrypted file in my org directory, diary.org.gpg.
I never did any special configuration for it to work, still
Whenever I visit the file, I'm…

Malabarba
- 22,878
- 6
- 78
- 163
27
votes
4 answers
mu4e - multiple accounts
I am using mu4e for email in Emacs, and it is currently only
configured for one mail account, and I set key to view different inbox. I wonder how to use mu4e for managing multiple email accounts?

yi.tang.uni
- 1,007
- 8
- 20
26
votes
6 answers
How can I get an org-mode outline in a 2nd buffer as a dynamic table of contents?
When I edit large documents, I would like to see where I'm at by seeing the outline (with no-content) in a separate buffer. Like when you read a PDF file there is a TOC on the left. (see below)
In org-mode it's possible to expand/collapse outline.…

Leo Ufimtsev
- 4,488
- 3
- 22
- 45
26
votes
5 answers
Hide *compilation* window
It is annoying to see the compilation window appear when it is successful. How to remove that automatically?
I want to see it though if it is not successful.

Husain
- 485
- 8
- 12
26
votes
2 answers
What are these prefix commands that start with s-l?
I'm using lsp-mode, and I see these weird prefix commands that start with s-l. How do I type them?
`lsp-mode' Minor Mode Bindings:
key binding
--- -------
s-l Prefix Command
C-S-SPC …

Jim Hunziker
- 425
- 4
- 6
26
votes
2 answers
Counsel M-x always shows "^"
I installed Counsel/Ivy/Swiper and so far everything works fine. But when I call counsel-M-x via key bind M-x an "^" char is always added. I have no clue why this is happening and how to get rid of it (it does not interfere with the counsel-M-x…

dmw
- 363
- 3
- 5