Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
0 answers
18 views

Trying to get treesitter indents to work with multiple languages for a major mode

I am working on a major mode using treesitter as my parser. It's been pretty intuitive but I ran into an issue. When trying to use multiple languages, you have to specify ranges using nodes in the AST ...
Marc Johnson's user avatar
0 votes
0 answers
11 views

Evil cursor goes back up to previous line in REPL

In jupeter-repl-mode, when the cursor is on an empty line, right next to the prompt, exiting Evil insert state moves the cursor back to the previous line. I solved this like this: ;;; Fix cursor going ...
Arktik's user avatar
  • 972
0 votes
1 answer
12 views

Unable to bind `C-k` in comint / inferior-python mode

I want to use C-k to go to previous input when using the Python REPL. I'm using doom emacs. I have this in bindings/+python.el: (map! :after python :map inferior-python-mode-map "C-j" :i #...
tsorn's user avatar
  • 151
0 votes
0 answers
13 views

kill-buffer: Symbol’s function definition is void: comint-write-input-ring

I'm getting the error kill-buffer: Symbol’s function definition is void: comint-write-input-ring on startup. I have this in my config.el (I'm using doom emacs), I don't know if it matters. (defun ...
tsorn's user avatar
  • 151
0 votes
0 answers
15 views

How to expand yas-snippets in eshell (under Doom)

(This may have nothing to do with Doom-emacs, but because I use it, I should mention it) The famous "for-loop" expansion (https://xenodium.com/yasnippet-in-emacs-eshell/) does not work for ...
jeffkowalski's user avatar
0 votes
1 answer
24 views

Doom Emacs - `custom-theme-set-faces` not working for `org-level-n` faces

I am trying to modify a few faces for a specific doom-theme in Doom Emacs. I am only interested in an emacs-lisp solution, I do not want to customize via the dedicated Emacs interface. I got the basis ...
lyndhurst's user avatar
0 votes
0 answers
10 views

Bind ctrl-p in doom emacs

I am trying to map a key to C-p and unfortunately the evil-mc-key-map gets in the way. I am using doom emacs on Mac OS. The command to which it is bound is (evil-mc-make-and-goto-first-cursor) with ...
Rareform's user avatar
  • 219
0 votes
0 answers
17 views

How to expand documentation from the M-x minibuffer when using vertico?

How to expand documentation or add a popup for an entry in the M-x minibuffer [Edit: when using vertico] ? I only get to see a bit of the documentation of each entry and text-scale-decrease does not ...
userrandrand's user avatar
1 vote
1 answer
21 views

smtpmail-smtp-service defaults to 25 in Doom Emacs [Solved]

I'm having trouble setting up mu4e. My configuration in config.el: (require 'smtpmail) (setq message-send-mail-function 'smtpmail-send-it starttls-use-gnutls t smtpmail-stream-type 'starttls ...
pcremades's user avatar
0 votes
0 answers
22 views

Doom Emacs: Return puts cursor in beginning of minibuffer Instead of opening file

After a fresh install of Emacs and Doom, the program hangs after attempting to open a file from the mini-buffer. I've been trying to set up doom emacs for the first time on a newly installed Fedora OS....
Rich Bishop's user avatar
0 votes
2 answers
62 views

What to do when a major mode overides keybindings set in doom emacs?

[Edit: I should specify that there are many keybindings in the major mode that overide the desired keybinding. They all start with a whereas I would like a to do something else. I already thought ...
userrandrand's user avatar
0 votes
2 answers
39 views

org-mode: example blocks are no longer syntax highlighted in emacs

After upgrading to emacs 29.2 and org 9.7, my example blocks are no longer syntax highlighted in emacs. They used to be syntax highlighted when I specified the block's language. Any ideas? I use Doom, ...
HappyFace's user avatar
  • 830
0 votes
1 answer
33 views

What determines which buffer is current after kill-buffer?

Since moving to Doom emacs and Centaur tabs, I have an issue I can't seem to solve. If I have say two tabs/buffers open in the order A-B and am visiting A. I open another buffer C and am visiting it. ...
PLK's user avatar
  • 111
0 votes
1 answer
134 views

Play sound when changing checkbox state in Org Mode?

Context: Org Mode. I want to play a unique audio file when entering each of these three checkbox states: [ ] [-] [X]. So one audio file when entering [ ] state, a different one for [-], etc. Example ...
01AutoMonkey's user avatar
0 votes
0 answers
38 views

Python parenthesis folding in doom emacs

I run into situations a lot where I have code that looks like new_stuff = ( blah.blah ( stuff, stuff, stuff, stuff, ).blah_two( [morestuff, stuffstuffstuff, stuffffff ] ) ...
Elle Najt's user avatar
  • 126
0 votes
0 answers
65 views

Doom: Return to previous buffer after kill-buffer?

Recently switched to doom emacs and one behaviour I can't seem to get back is this: In buffer A, open new file in buffer B kill-buffer B (Cx-k) Back in buffer A Currently, after killing buffer B, it ...
PLK's user avatar
  • 111
0 votes
1 answer
69 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 ...
Daniel Krajnik's user avatar
1 vote
0 answers
56 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 ...
shintuku's user avatar
  • 121
0 votes
1 answer
118 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 ...
David's user avatar
  • 299
1 vote
2 answers
56 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.
Otto Kaaij's user avatar
2 votes
1 answer
181 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 ...
vincenzopalazzo's user avatar
2 votes
0 answers
92 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--...
Tom's user avatar
  • 21
0 votes
1 answer
48 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 ...
lucky255's user avatar
1 vote
1 answer
849 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 ...
MySQLInjection's user avatar
0 votes
0 answers
32 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 ...
eugene's user avatar
  • 489
0 votes
0 answers
335 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 ....
codeDog's user avatar
0 votes
0 answers
25 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 #+...
feelsbadman's user avatar
0 votes
1 answer
597 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 ...
Parker Spitzer's user avatar
1 vote
1 answer
51 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 ...
Artem Pelenitsyn's user avatar
0 votes
0 answers
59 views

Doom(?) Emacs: whitespace-mode uses incorrect style in c-mode?

I'd like emacs to display tab-marks nicely in c mode: here's an example of how it displays tabs in my config.el, which is how I want it to display tabs everywhere. You can see the nice > ...
user41268's user avatar
0 votes
1 answer
402 views

Doom Emacs (DOOM v3.0.0-pre) - even after 'doom sync', i get "failed load doom' error when i open config.el

I just installed Doom Emacs. The version on the screen is DOOM v3.0.0-pre. I wanted to setup the relative line number setup. I put (setq doom-line-numbers-style 'relative) in config.el, exit out, ...
ThomasDKim's user avatar
0 votes
0 answers
373 views

How to debug Rust with LLDB in Doom Emacs?

I have tried this tutorial to setup debug for rust in doom emacs, but I when I loaded my vscodium generated launch.json I get the message Have you loaded the 'lldb' specific package? and nothing more ...
Delfin's user avatar
  • 111
0 votes
0 answers
12 views

Does `get-char-property-and-overlay(nil org-image-overlay)` mean that the first argument was nil or `org-image-overlay`?

I've spent over 20 hours trying to solve an issue with org-mode loading. I've stepped through the code until it reached a function that stack trace indicates fails due to one of the arguments being ...
Daniel Krajnik's user avatar
0 votes
1 answer
100 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?
Daniel Krajnik's user avatar
0 votes
0 answers
45 views

Bad closing bracket indentation for electric-pair in python

I am getting the wrong indentation for closing braces when I use electric-pair mode in python. For example, if I place the cursor (|) like so : for i in range(10): foo = [|] and hit return, then ...
SLesslyTall's user avatar
0 votes
0 answers
33 views

Yas-snippets not showing dropdown suggestions for python(only)

As the title says Yas snippets don't show a suggestion dropbox when in python mode.I can still tab complete the snippets(just no suggestions). It works as expected in other modes(tried in latex,org ...
je2144's user avatar
  • 1
0 votes
0 answers
74 views

Org-Mode links opening in new splits?

I'm a bit stuck. I want to open new splits (windows within a frame to be precise) with each link I'm visiting. A bit like going down the rabbit hole. What I have is 1 | 2 and it bounces back between ...
Voodoopants's user avatar
1 vote
0 answers
244 views

How to change face background in org mode source block?

I've changed background of org mode source blocks, which wasn't picked up by the vertical lines (rulers) on the left. I've never seen anything like that before and I would be grateful for any ...
Daniel Krajnik's user avatar
0 votes
1 answer
181 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.
Biswanath's user avatar
  • 101
0 votes
0 answers
62 views

org-mode headings renders markdown link syntax of inner code block, how to prevent it from happening?

I am using Doom Emacs with bundled org-mode and markdown-mode. I have org-mode text snippet like this: *** test **** http://example.com **** block #+begin_src http://example.com/ #+end_src **** ...
kyanny's user avatar
  • 101
0 votes
2 answers
314 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 ...
Daniel Krajnik's user avatar
0 votes
1 answer
258 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-...
pahohu's user avatar
  • 301
4 votes
1 answer
294 views

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 ...
modulitos's user avatar
  • 2,492
0 votes
0 answers
39 views

Helm see options for opening a file

I'm new to emacs and using Spacemacs Doom. I pressed SPC f r t of find recent files and I used the arrow keys to select the one I want. Now I want to see what options I have for opening it (open in ...
Zaz's user avatar
  • 123
0 votes
0 answers
104 views

In Doomemacs how to get "SPC q l" to automatically run the moment doom loads after I run "emacs .&" from command line

On my linux box when I run emacs .& from the command line, inside a folder it opens up and displays that folders contents via Dired. I need to either: display the Doom landing screen instead of ...
thefonso's user avatar
  • 101
2 votes
0 answers
104 views

overlay makes text unreadable -- where does it come from? Overlay face is "undefined face"

There is an overlay making parts of stack traces in my inferior python buffers very difficult to read: I would like to change the coloring of the yellow part of line 42. If I run M-x describe-char ...
Timothy W. Hilton's user avatar
0 votes
1 answer
225 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-...
Johnny's user avatar
  • 1
0 votes
0 answers
126 views

How to not fold everything when opening an org mode file?

The default behavior of emacs is to unfold everything when opening an org mode file, I want to prevent this from happening sense my org mode files have a lot of text to be hidden. Whenever I open an ...
Mikelenjilo's user avatar
0 votes
1 answer
169 views

ispell-init-process: Error: The encoding "nil" is not known

ispell-init-process fails When I try to correct a word with ispell, I got the following error: ispell-init-process: Error: The encoding "nil" is not known. This could also mean that the file ...
Takuma Yoneda's user avatar
2 votes
0 answers
357 views

org mode TAB doesn't unfold headings

I have the strangest problem - ever since reinstalling Doom I can only fold org headings but then they're stuck folded.. TAB doen't do anything, although I did check and it's still bound to org-cycle.....
Jonathan Sahar's user avatar

1
2 3 4 5