Questions tagged [doom]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
41 views

Running emacs in batch mode from command line doesn't work

Does anyone know if ox-koma-export.el can be invoked from command line: emacs --batch -e '(org-koma-letter-export-to-pdf)' letter.org Should emacs in general be universally reproducible from command ...
1 vote
1 answer
230 views

Doom Emacs not inserting citep references into LaTeX document

I'm new to using LaTeX for writing papers and I'm trying to get a workflow going using LaTeX in Doom Emacs on Arch Linux (all the required texlive packages having first been installed via pacman). ...
1 vote
2 answers
1k views

How to properly use consult-ripgrep to search through org-roam notes

I am trying to setup a way to systematically search through all my org-roam notes and I came across the following code that uses consult-ripgrep: (defun bms/org-roam-rg-search () "Search org-...
0 votes
1 answer
744 views

Adding a pattern to compilation-error-regexp-alist

I'm using the latest Doom Emacs on Emacs 27 with this config: https://github.com/gregghz/doom-config/tree/d3af4724cb4a5dd379645580698f7d24a5c3922a. I have this code to run a bloop command (like bloop ...
0 votes
0 answers
22 views

Mermaid major mode not showing up after installation

I've installed mermaid-mode by using package-install and MPLA but for some reason, it's not showing up when I type it after M-x. (I get Match required). I'm running Doom Emacs. Any clue why this ...
0 votes
1 answer
85 views

ipython shell syntax error with "?" in string in `python-shell-send-string`

When in the IPython shell, ?open returns help on the "open" function. But when I send it with python-shell-send-string it throws a syntax error saying "?" is not recognised. I can ...
2 votes
1 answer
983 views

How can I display tabs and spaces in Doom Emacs?

I have tried M-x whitespace-mode but it does not do anything.
0 votes
2 answers
806 views

Trying to set org-clock-sound for org-timer

I'm trying to set up a notification alert for org timer. I'm using Dunst on Arch for notifications. Used the following lines in my config file: (require 'org) (setq org-clock-sound "~/Downloads/...
1 vote
1 answer
167 views

pdf-tools: could not determine link -lib interface

While trying to install pdf-tools on doom emacs (28.2) on Termux android, I get this error: -*- mode: compilation; default-directory: "~/.emacs.d/.local/straight/build-28.2/pdf-tools/build/server/...
1 vote
1 answer
166 views

completion and goto-function in matlab-mode

I've been working with matlab-mode and matlab-shell for the last few days, and I'm really digging it so far. The only two things I can't get to work properly are completion - neither in shell, nor in ....
1 vote
1 answer
262 views

GTK segfault when using xwidgetson emacs27.2

Im trying to use emacs-27.2 with xwidgets support on a Ubuntu 20.04.4 LTS x86_64 machine.Im using a doom emacs config but every time i launch application that needs xwidgets support (i.e org-roam-ui ) ...
0 votes
1 answer
37 views

Emacs not showing inline images, I created with doom emacs with org-download

I have an org-file, which I started with doom emacs using org-download clipboard. This results in attachment files like this: When in doom emacs, I can do org-inline-images (org click on it) and it ...
0 votes
1 answer
172 views

Replying to all recipients with Notmuch and msmtp

I have tested sending an email to multiple recipients with Notmuch through msmtp and it works. I can also copy all recipients of email to kill-ring (via notmuch-show-stash-to), no problem. However, ...
0 votes
1 answer
3k views

C++ Header Autocompletion in Doom Emacs

I have the following init file: :tools ;;ansible ;;debugger ; FIXME stepping through code, to help you add bugs ;;direnv ;;docker ;;editorconfig ; let ...
0 votes
1 answer
87 views

Store sessions on idle and use specific name for each stored session

I usually have multiple instances of doom emacs running (one for every project). I use this line in my config to save the session of each instance after 10 seconds idle time. (run-with-idle-timer 10 t ...
1 vote
1 answer
247 views

Slow start-up in MS Windows and relation to the Windows registry

I am using Doom in MS Windows with Emacs 27.2. I am experiencing some very slow start-up times (I included the output of benchmark-init/show-duration-tree at the end). Also, the first actions I ...
0 votes
1 answer
108 views

How to open a eshell buffer in a different window in doom emacs?

I want to open an eshell buffer in right side of the current window in the same frame.
0 votes
1 answer
208 views

Why is Doom Emacs GUI not accepting keyboard input?

Noob question. I downloaded Doom Emacs following the installation instructions in the documentation. Now when I run the emacs command, it opens up the Doom Emacs window. Unfortunately, as I try ...
3 votes
2 answers
3k views

FiraCode font not rendering italics

I have been trying to get FiraCode to work inside of Doom Emacs and have mostly succeeded. Everything works except for italics, even bold and ligatures are fine strangely enough. When I switch to ...
0 votes
1 answer
262 views

Highlight single character at column 80

I am trying to highlight just a single character on a line when it is on the 80th column mark. I am using Doom Emacs, which did it on in on a previous Emacs version, but I updated my operating system,...
0 votes
1 answer
279 views

Doom emacs dired +ranger not obeying evil-mode

I am using doom emacs and in my init file I have (dired +ranger) The problem is when I open dired, I cannot press tab to select for example. I have first to toggle off evil-mode. If I do, I lose all ...
0 votes
2 answers
140 views

How do you troubleshoot an .el file not loading even though it's on load-path filepath?

I've copied a file to a path that's definitely listed in load-path symbol. But the file doesn't get loaded when running emacs with --debug-init flag. How would you find out what causes it? It uses ...
0 votes
1 answer
1k views

Doom Emacs start-up problems

Running Doom Emacs 2.0.9 on Emacs 27.1. In my init.el I have org-roam enabled like so: :lang (org +roam +journal) In my config.el I also load org-habits, hide it in initial agenda view and set-up a ...
0 votes
1 answer
2k views

company-mode: no completions found

I am new to emacs (long-time vim user). Specifically, I am using doom-emacs. Doom is supposedly set up to use company-mode for auto completion, but I have not gotten it to work. I have the following ...
2 votes
3 answers
1k views

How can I rebind keys in pdf-mode, using Doom?

I'm really struggling to remap some keys in pdf-view-mode. This is what I have so far: ;; Unbind keys; see https://github.com/hlissner/doom-emacs/blob/develop/docs/faq.org#my-new-keybinds-dont-work (...
1 vote
1 answer
218 views

What is the init.el in doom emacs?

I recently installed doom emacs and really like how much it is developed. The problem I encounter is the following: I want to add LSP-support for emacs. On the website, it is illustrated how I can ...
0 votes
1 answer
158 views

Hard wrap in Doom Emacs

I'm trying Doom Emacs and immediately miss my hard wrap after 80 cols such as (setq-default fill-column 80) (setf fill-column 80) (add-hook 'latex-mode-hook #'auto-fill-mode) (add-hook 'prolog-mode-...
0 votes
1 answer
1k views

Completely disabling flycheck in Doom Emacs

I'm setting up Doom Emacs, and I want to remove flycheck entirely. I'm having a bit of trouble doing that, though. As an example, I'm working with Ruby, with this setup: (doom! :completion company ...
2 votes
1 answer
74 views

Doom Emacs does not correctly render the colors on ssh terminal

What happened? This is a problem that I was never able to solve and I always try to switch on another editor when I am coding on my remote machine. However, I think that I solution should be somewhere ...
1 vote
2 answers
48 views

How to set "nojoinspaces" in evil mode

In vim, you can :set nojoinspaces to prevent J from adding a space when joining lines that end in a period. How do I set this in evil mode? I'm using Doom emacs, if that is relevant.
1 vote
0 answers
43 views

??? showing in Agenda instead of file name

I have several .org file and typically have them all open in Emacs at the same time. Recently, my agenda started showing one of those file names as "???" instead of the actual filename--...
0 votes
1 answer
259 views

How to remap the search backwards evil-ex-search-previous command of evil?

I want to remap evil-ex-search-previous to some other key than ,. I tried (define-key evil-motion-state-map "," 'evil-avy-goto-char-in-line) (evil-define-key 'normal magit-mode-map ",&...
0 votes
1 answer
460 views

C++ lsp-mode: inconsistent behavior between remote and local projects

I've run into a bit of an odd problem trying to use lsp-mode. My problem setup is as follows: I'm working on a C++ project on my computer, and I'd like to be able to use lsp-mode with it. The catch is ...
0 votes
1 answer
175 views

hl-line-mode -- how to highlight only the text on the current line (don't highlight leading and trailing whitespace)?

I'd like to highlight only the text in between the leading and trailing whitespace on each line. For example, I'd only like to highlight the region marked by the double arrow <--> for the ...
0 votes
0 answers
8 views

EPA: epa-file doesn't find recipients when saving encrypted journal, but is listed with M-x epa-file-select-keys

I'm using doom, working with an encrypted org-journal and keys configured from a yubikey. Opening/decrypting the journal works fine but after entering a new entry and trying to save, epa-file is ...
0 votes
0 answers
18 views

xref-find-definition goes to constructed init.el by doom emacs

I think this is doom emacs specific problem. Doom collects autoload functions into an ./local/etc/@/init.el file And when I do M-. (which is mapped to doom's +lookup/definition and in turn it tries ...
0 votes
1 answer
92 views

Footnote-like custom function for org-roam-insert

I am trying to make a custom function for org-roam which inserts footnote-like links in the current note. The idea is to insert links on this way The logistic regression [fn:20200612000001]... * ...
0 votes
0 answers
71 views

Doom Emacs : Creating project using dired not working

I'm a new to emacs. So I just try to learn by using it. And What I'm trying to do is just making simple project. I make a directory in dired using + command. And inside that directory I create ....
1 vote
1 answer
1k views

Haskell-mode in Doom emacs returns: 'Error running hook "lsp!" because (invalid-function lsp!)'

I am running Xmonad window manager together with Xmobar on ArchLinux 5.14.12-arch1-1. I have ghc, cabal, and stack installed. Suddenly Doom has started having a problem with Haskell files and is ...
0 votes
0 answers
16 views

Syntax highlighting for source blocks inside special blocks

Syntax highlighting doesn't work for source blocks that are nested inside special blocks: #+BEGIN_test #+begin_src js return 14 #+end_src #+RESULTS: : 14 #+END_test #+begin_src js return 14 #+...
1 vote
1 answer
324 views

Cannot enable FACE attributes with (custom-theme-set-faces!)

config.el (custom-theme-set-faces! 'doom-ir-black '(mode-line :foreground "blue") ;;'(mode-line :foreground t) ;; also doesn't work ;;'(mode-line :foreground "#000000&...
2 votes
2 answers
406 views

Why do I have Chinese/Mandarin characters in my mode-line and e-shell out of the blue? How do I fix this?

I have been using Emacs for a while. As you can see in my config file (whole file), there is a snippet to provide a Doom mode line: (use-package doom-modeline :init (doom-modeline-mode 1) :custom (...
0 votes
1 answer
955 views

Doom - setting code formatter for specific file type

How can I change formatter used for specific file type in doom-emacs format module? So far I've been happy with using mostly doom defaults and haven't gotten into writing custom configurations and ...
1 vote
1 answer
33 views

Unexpected auto indentation by 8 spaces with AucTeX

It's currently hitting the standard list-like environments and comments but I can't quite figure when exactly it happens, as it looks non-deterministic: sometimes in a big document I actually get a ...
2 votes
2 answers
3k views

How to use doom emacs as a golang ide quickly?

I installed the newest doom emacs on macOS. Also configed language packages as $ emacs ~/.doom.d/init.el :lang (go +lsp) :tools lsp $ ~/.emacs.d/bin/doom sync When I open a .go file, the code became ...
0 votes
1 answer
49 views

org-notifications doesn't work

There has been many reports of org-notifications failing to work. Has anyone managed to set it up in the latest emacs?
0 votes
1 answer
343 views

In Doom Emacs, when cursor is highlighting a line, it indents a few pixels in. How to turn off the indent and just do line highlighting?

I can't find a setting to turn off that small pixel indentation when cursor is highlighting the line you're on. It makes it hard to try to type text to align when the line itself is indented a few ...
1 vote
1 answer
141 views

How can I get doom-modeline to show the correct number of new emails?

Doom-modeline has a feature where it shows the number of new emails you have. But for some reason, they're capped at 99, so the modeline always shows 99+, no matter what. How can I get this to show ...
3 votes
1 answer
868 views

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 ...
0 votes
1 answer
152 views

flycheck can't find header file even though flycheck-clang-include-path configured

I am using Doom Emacs as my editor for C. I'm trying to use glib in my C project and for that I'm including glib.h. I have added the include dirs displayed by pkg-config --cflags glib-2.0 to flycheck-...

1
2 3 4 5