Doom is a configuration framework for GNU Emacs tailored for users who want less framework in their frameworks and the performance of a hand rolled config (or better). It can be a foundation for your own config or a resource for Emacs enthusiasts to learn more about our favorite OS. https://github.com/hlissner/doom-emacs
Questions tagged [doom]
202 questions
7
votes
1 answer
DOOM Emacs: Error running hook "global-git-commit-mode" because: (void-variable transient-base-map)
Full error (on the bottom line): Error (doom-first-file-hook): Error running hook "global-git-commit-mode" because: (void-variable transient-base-map)
Hello! I'm running this on an M1 chip macOS Ventura.
I've installed emacs both using brew install…

Krys
- 95
- 4
7
votes
1 answer
Packages I never knew they existed cause problems
I'm using Kubuntu 22.04 and I tried to configure my doom-emacs Installation. Then I got these weird error-messages and couldn't figure out how to fix them. So I uninstalled doom and emacs completely and normal emacs seems to work fine but when I try…

Tom Riddle
- 73
- 6
5
votes
1 answer
Why do many buffer switching commands in Doom Emacs skip over buffers that aren't visiting files? How can it be prevented?
In Doom Emacs many commands that replace the buffer in the current window with a different buffer will automatically select the most recent buffer that you have had open in a window. But buffers that are not visiting files, such as *Messages*,…

kevincasey
- 449
- 3
- 8
5
votes
1 answer
Key bindings For Doom Emacs
I am trying to start using Doom Emacs, but I find it increasingly difficult to find what the new key bindings are for certain tasks, like the ones for using Org Mode.
When I use vanilla Emacs, there is the documentation for every tasks, so how do…

Adam
- 2,407
- 2
- 21
- 38
5
votes
1 answer
Cannot set correct size for variable pitch font in Doom Emacs
I am trying to use a variable-pitch font for Org-mode:
(add-hook! 'org-mode-hook #'mixed-pitch-mode)
I am specifying a variable pitch font that is normally renders much smaller than the fixed pitch one:
(setq doom-font (font-spec :family "Fira…

ajallooe
- 103
- 1
- 4
5
votes
1 answer
Opening a file from a new/different Projectile project in the same workspace in Doom Emacs
If I'm working on one project and I switch over to a buffer from another the default behavior of Doom Emacs seems to be to open the new buffer in a new workspace (when workspaces are enabled). I want the default behavior to be to open it in the…

Dargscisyhp
- 370
- 1
- 12
4
votes
0 answers
Definitions for Project, Session, Workspace, Perspective,
Is there a nice definition list for the following concepts and more?
project (projectile vs. emacs?)
session (just doom emacs?)
workspace (just doom emacs?)
perspective
lsp-session
lsp-workspace
...
I know, this depends on configuration and used…

Witek
- 335
- 1
- 11
4
votes
1 answer
error while loading shared libraries: libpoppler.so.101: cannot open shared object file: No such file or directory
Running Doom Emacs 2.0.9 on Emacs 27.1 on Manjaro KDE.
When I compile a latex documents, it produces a PDF file and opens an emacs window to display it. But what is displayed is some text and not the PDF file.
The *Messages* buffer carries an error…

deshmukh
- 1,852
- 13
- 29
4
votes
3 answers
How can I get `+vterm/toggle` to popup from the right side of the screen instead of from the bottom?
I am using Doom Emacs, and I frequently use the vterm popup/toggle functionality (defined as +vterm/toggle here, which is used, as the name suggests, to toggle a vterm buffer.
The default behavior is to toggle from the bottom of the screen, but I'd…

Jacob Pavlock
- 261
- 1
- 8
4
votes
1 answer
Automatically activating python virtual environments with pyvenv
I am using pyvenv with doom and am trying to have my python virtual environments automatically loaded when I enter a certain project.
I saw this relevant issue on pyvenv and have added the following code to my config.el
;; autoload python virtual…

Jacob Pavlock
- 261
- 1
- 8
4
votes
1 answer
Using emacs for ruby development with asdf version manager
I have installed a (doom) emacs to start developing with Ruby. So far I have mainly used Sublime Text but because of reasons I want to give emacs a chance.
I tried Spacemacs too but uninstalled this because it was really slow)
A problem I have now…

Gernot
- 141
- 3
3
votes
1 answer
How can I set a buffer-local variable (format-all-mode) to nil within .dir-locals.el? (using Doom emacs)
I have a project where I want to disable format-all-mode for all my python files. I can do this manually by running M-x format-all-mode every time I open up a python file for that project.
I tried automating this by setting my .dir-locals.el to…

modulitos
- 2,432
- 1
- 18
- 36
3
votes
1 answer
How to activate a remote Python conda environment with Tramp / SSH?
I'm using Doom Emacs 27.2 on linux. I have (python +lsp +pyright +conda +cython) in my init file and (setq conda-anaconda-home "~/miniconda") in config.el.
I can activate local conda env by M-x conda-env-activate but I can't choose a remote conda…

0xLN
- 31
- 1
3
votes
0 answers
How to get the last project search results?
When searching in project with +default/search-project after opening a result. How do I get back to the previous search results? And ideally to the same position in the results list?
The usecase: Search for all occurences of "xyz" in the project.…

Witek
- 335
- 1
- 11
3
votes
1 answer
Auto-saving after lsp refactor
When I use lsp-rename function, the edited files are not saved automatically and I have to manually save them. Is this an expected behavior and, is it possible to change this?
(I use emacs 27.2, with doom configuration. I use pyright as the lsp…

Kamyab
- 41
- 5