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
45 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
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 ...
shintuku's user avatar
  • 107
0 votes
1 answer
42 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
  • 291
1 vote
2 answers
50 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
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 ...
vincenzopalazzo's user avatar
1 vote
0 answers
48 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
  • 11
0 votes
0 answers
9 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
232 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
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 ...
eugene's user avatar
  • 489
0 votes
0 answers
77 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
17 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
226 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
34 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
40 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
220 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
195 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
  • 11
0 votes
0 answers
9 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
50 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
34 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
27 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
45 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
173 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
109 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
41 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
146 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
159 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
3 votes
1 answer
161 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,452
0 votes
0 answers
35 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
80 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
74 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
0 answers
211 views

How can I reliably run doom emacs alongside spacemacs?

Years ago I had trouble switching to spacemacs from a vanilla emacs configuration. I was unable to reliably run both configurations without trickery involving moving .emacs.d directories. Now I have ...
Croad Langshan's user avatar
0 votes
0 answers
80 views

Doom Emacs (helm +fuzzy) not working

How do I get fuzzy file searching working in Doom with helm? I found this: https://github.com/doomemacs/doomemacs/issues/1552#issuecomment-510105539 But it's several years old and does not work for me....
gdonald's user avatar
  • 167
0 votes
1 answer
154 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
95 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
107 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
1 vote
0 answers
188 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
0 votes
1 answer
84 views

How to define Shfit+Ctrl keybinding?

I can't seem to press S-C-c - it gets registered as C-c... Why? I can't even think of any reason why this type of situation would come about? UPDATE: it seems like evil vim keybindings are to blame......
Daniel Krajnik's user avatar
0 votes
0 answers
70 views

Doom Emacs kill-word binding

My keybindings say I can hit C-<delete> to run kill-word. This does not seem to work for me. When I hit C-<delete> it only delete a single character to the right of my cursor. How can I ...
gdonald's user avatar
  • 167
0 votes
0 answers
134 views

How to always use tabs when pressing the tab key?

I use an indentation sensitive language (imba) and I need to always use tabs. I'm using doom emacs and I'm also writing a wip major mode for Imba. But I press tab and it adds indentation using tabs (a ...
Abdellah Stands with Gaza's user avatar
1 vote
1 answer
169 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/...
Abel 's user avatar
  • 13
7 votes
1 answer
2k views

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 ...
Krys's user avatar
  • 95
0 votes
0 answers
12 views

How to show opened tab only on one side with tabs?

If enable tabs in .doom.d/init.el, when split window to two sides, the tab content showed the same on each side. How to make it show new opened tab on one side only?
Alpin Cleopatra's user avatar
1 vote
0 answers
57 views

Is there any way (built-in or not) to display a sub-tree as a top level tree when narrowed?

When I narrow to a subheading in emacs, I would love for it to be displayed as if it was the top level as opposed to it staying the level it actually is. For example consider this tree * Heading 1 ** ...
wychwitch's user avatar
0 votes
0 answers
25 views

How to set brace style for empty function in Doom emacs?

When defining an empty function Doom emacs makes it such that the function automatically looks like this: // after inserting braces void my_func() {} // after pressing enter void my_func() { } /...
Krys's user avatar
  • 95
0 votes
0 answers
188 views

Evil Mode: How to get 'q' to kill Occur buffer + window

I recently started using Doom Emacs. I'd like to use Occur mode more frequently (via occur, multi-occur, etc.), but every time I open an Occur mode buffer in a split window, the only way to kill the ...
j-gopal's user avatar
  • 11
1 vote
1 answer
55 views

Presenting Python function arguments in minibuffer for selection

I have written a Python function that takes a string input and performs a semantic search in my org-roam-directory and outputs the results in the following format after 2 seconds of computation: [{'...
user39819's user avatar
0 votes
0 answers
33 views

How to present my semantic search model results in minibuffer to select them and open file?

I have an org-roam directory where I keep all my notes in org files. Currently to search through my notes, I use keyword searching using ripgrep with rg.el. With this method, rg pops up the results in ...
user39819's user avatar
0 votes
0 answers
116 views

How can I selectively disable addon LSPs on a project, without blocklisting the project itself?

I work on several open source and commercial ruby projects, all of which have different sets of development tools installed. Some of them have solargraph available, some do not. Of those, some have ...
Chris R's user avatar
  • 200
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 ...
Arktik's user avatar
  • 962
1 vote
0 answers
233 views

`add-load-path!` relative directory in Doom Emacs defaults to `~/.emacs.d/lisp` instead of ~/.doom.d/ where `config.el` sits

As described in the title above, the following code in config.el: (add-load-path! "lisp") adds "home/user/.emacs.d/lisp/lisp" to load-path instead of "/home/sati/.doom.d/lisp&...
Sati's user avatar
  • 775

1
2 3 4 5