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
6 views

How to configure doom emacs to work with React.js + Typescript?

I'm starting to use Doom Emacs and want to know how to work with a frontend project that uses React.js with Typescript.
user avatar
  • 101
0 votes
1 answer
30 views

Emacs modeline and minor modes in a list

I use quite a lot of minor modes which quse huge places in the modeline so that I cannot see the major mode am I.. Is it possible to place all kind of minor modes in a sort of "dropdown" ...
user avatar
0 votes
1 answer
20 views

Why treemacs is showing all home files instead of CWD?

An emacs newbie here, i'm using doom emacs and i tried to use treemacs for navigation purposes however once i opened a project and toggle treemacs it shows the whole tree of files starting from $HOME,...
user avatar
0 votes
1 answer
10 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 ...
user avatar
  • 411
0 votes
1 answer
29 views

Why does yasnippet insert a newline before the cursor?

This is my snippet, in org-mode: # key: quote # name: quote block # -- #+begin_quote `%`$0 #+end_quote Result: #+begin_quote | <- cursor #+end_quote Desired: #+begin_quote | <- cursor #+...
user avatar
0 votes
1 answer
54 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,...
user avatar
  • 101
0 votes
1 answer
37 views

How do I get the Emacs Lisp Intro manual in my info system?

I recently switched to Doom Emacs and went to find the "Emacs Lisp Intro Manual", and it's not in there. Is there a way to add it? Or, am I just looking in the wrong place?
user avatar
0 votes
0 answers
16 views

Configure emacs for JAVA / Spring / Hibernate development

I got java job. Now I've to use intellij or ide. I like them , but i really really miss Emacs. My thought process alters, i can't work in other than emacs. I miss swiper, modus-themes, ...
user avatar
0 votes
0 answers
25 views

How to extract a zip archive?

I'm making some changes to emacs-emojify in my personal confgs to update the emojis to the latest version. So far I downloaded the zip. (url-copy-file "https://github.com/hfg-gmuend/openmoji/...
user avatar
0 votes
0 answers
19 views

Replicating Doom's Tab Key Behavior Using Evil in Org-Mode

When I'm editing an Org file using Doom Emacs in insert mode and my cursor is on the line of a heading, the Tab key seems to demote the heading while Shift-Tab seems to promote the heading. On the ...
user avatar
0 votes
0 answers
27 views

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 ... ...
user avatar
  • 242
0 votes
1 answer
40 views

Disable Doom Emacs auto pairs

I'm new to Doom Emacs and Emacs in general and the problem I have with it is that it pairs characters automatically, for example when I want to insert single double quote sign like this " it ...
user avatar
  • 1
1 vote
2 answers
63 views

Capturing output scheme when executing a code block in org-mode

I cannot find a way to intercept the output when I evaluate a scheme code block as below (I'm trying with Geiser): #+NAME: test #+BEGIN_SRC scheme :session sicp :lexical t :results output verbatim ...
user avatar
  • 113
0 votes
0 answers
43 views

Access key bindings for a major mode

Running Doom Emacs 3.0 on Emacs 28. I have installed todotxt.el using: (package! todotxt) in packages.el. When I Open my todo.txt file and M-x todotxt-mode, sPC h b m shows all the keybindings ...
user avatar
  • 1,668
0 votes
1 answer
46 views

Why does org see this source block as having "unbalanced parentheses"?

Here is a terse snippet with which you can recreate the issue, I hope: #+begin_src sh for x in $(for y in $(cmdA '"'); do cmdB $y; done); do cmdC $x; done #+end_src Here if I try to operate with ...
user avatar
  • 103
0 votes
0 answers
36 views

Does anyone use Emacs to development big Golang project like Kubernetes?

I've been using Emacs(Doom Emacs) for Golang development for a while and everything is good so far, but I really have troubles when I use it to explore Kubernetes source code today, everything is very ...
user avatar
  • 101
1 vote
1 answer
81 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&...
user avatar
  • 90
0 votes
0 answers
28 views

Configuring Doom Emacs to autocomplete code within a header file

I am pretty new to Doom emacs and am so far loving it. However, I am having trouble autocompleting code when from an external include file. I have the following code and am having trouble ...
user avatar
0 votes
0 answers
43 views

Disable header and footer in latex previews

When I write latex to be included in org mode it includes the header styling which is to be applied to the pdf export only. This makes it difficult to use org mode with latex previews. Is there any ...
user avatar
  • 123
0 votes
1 answer
55 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 ...
user avatar
1 vote
1 answer
22 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 ...
user avatar
  • 485
1 vote
0 answers
50 views

Custom org-capture find headerline function error, wrong number of arguments

So, I managed to get my headline retrieval function fixed, so now the function searches and finds my header lines, but when I select the one I want to use.. it oddly throws back this apply: Wrong ...
user avatar
1 vote
1 answer
51 views

How do I make org capture prompt for specific header target?

I need help writing a function that makes Org Capture prompt me of what it should place the capture to a specified header in my tasks org file (basically I need it to search through the specified org ...
user avatar
0 votes
0 answers
24 views

How to position ESS windows in doom-emacs similar to Rstudio?

I'm trying to pass my R coding workflow to Emacs, but I'm not completely satisfied with the windows' layout. The basic layout to start should be the classic's Rstudio layout. In the ESS manual they ...
user avatar
0 votes
0 answers
20 views

How to load gutter customizations on startup?

I'm using Doom Emacs. How can I have my gutter customizations load when I start Emacs? They work fine when I do eval-region. I tried wrapping them with after! vc-gutter but it didn't help. (after! ...
user avatar
  • 147
0 votes
1 answer
38 views

org-agenda tag selection buffer is too small to view any tags

when using C-c C-q to run org-set-tags-command on an existing headline, i am unable to see the list of tags because the buffer window is so small. all i see is inherited tags and current tags lines. ...
user avatar
  • 31
1 vote
1 answer
82 views

Doom Emacs single keystroke undo

How can I have single keystroke undo using Doom Emacs with Emacs 27.2? I have already tried multiple suggestions on this site, so far none work. Perhaps Doom Emacs is the problem, or maybe it's that ...
user avatar
  • 147
1 vote
1 answer
57 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). ...
user avatar
  • 21
1 vote
0 answers
192 views

How can I display tabs and spaces in Doom Emacs?

I have tried M-x whitespace-mode but it does not do anything.
user avatar
1 vote
0 answers
42 views

Doom Emacs linter disable?

I'm using Doom Emacs. How can I disable these unhelpful warning messages?
user avatar
  • 147
0 votes
1 answer
32 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 ) ...
user avatar
0 votes
0 answers
83 views

How to ignore a detected spelling mistake in Doom Emacs?

I'm using Doom Emacs and I enabled spell-check in the ~/doom.d/init.el file using flyspell and aspell. Here's an overview of my file: :checkers syntax ; tasing you for every semicolon you ...
user avatar
  • 137
0 votes
1 answer
80 views

set Brave as default browser in DoomEmacs

I am new to DoomEmacs, I am on Ubuntu and I want to set Brave as my default web browser. How can I do this? Currently Chrome is set to this but I do not know how to change it.
user avatar
  • 101
0 votes
1 answer
38 views

Proper way to set file variables in an org-file

I'm using doom-emacs with Emacs 28. I'm trying to set a file variable in org-mode, and I've seen numerous posts with how to do it, but I can't seem to make it work. #+TITLE: Test #+TITLE: Test #+...
user avatar
  • 183
1 vote
1 answer
54 views

Insert space before link with org-insert-link

In Doom Emacs and org-mode, I want to use org-insert-link pressing the minimum amount of keys. So I want to combine two-four commands in one. The default behaviour doesn't leave space before or after. ...
user avatar
0 votes
0 answers
94 views

Projectile session/state

Initially I scanned the user directory (~) for projects, through inexperience. Later I defined the project root (~/.doom.d/config.el): ;; Projectile settings. (setq projectile-project-search-path ...
user avatar
1 vote
1 answer
43 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 ...
user avatar
0 votes
0 answers
18 views

Doom Emacs Haskell helper type infer

I try my hand on Emacs and has a great time developing with Haskell. Below is a feature that is invaluable to me. After writing a function without the type, Doom Emacs automatically infer its type, ...
user avatar
  • 101
0 votes
1 answer
33 views

Disabling auto identation when saving a file

I'm using Doom Emacs (pretty much vanilla with a few packages) and whenever I save a file, Emacs automatically changes the indentation. For example, if I'm editing a C++ file like this: FoamFile { ...
user avatar
1 vote
1 answer
107 views

No colored png icons in treemacs (Doom Emacs)

After reinstalling Doom Emacs several times I can’t find any way to make treemacs use the colored png icons of it’s own default theme. I always get monochrome icons. How do I solve this?
user avatar
  • 111
0 votes
1 answer
294 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 ...
user avatar
  • 488
0 votes
0 answers
84 views

Emacs hangs on org-babel-execute-src-block for Haskell blocks

I have a minimal org file with a Haskell code block: #+begin_src haskell putStrLn "Hello World" #+end_src When I do M-x org-babel-execute-src-block, Emacs hangs with minibuffer saying: ...
user avatar
0 votes
0 answers
42 views

Doom Emacs Loads Kaolin-Ocean Theme but Doesn't Recognize Theme When Setting Custom Face

I am using Doom Emacs, and have the following snippet in my config.el: (if (display-graphic-p) (setq doom-theme 'kaolin-ocean) (setq doom-theme 'doom-vibrant)) (let ((custom--inhibit-theme-...
user avatar
0 votes
0 answers
23 views

Doom emacs deletes fortran module files

When I open a FORTRAN source file 'mod_module.f90' that defines a module 'mod_module' and another file named 'mod_module.mod' is present in the same directory, the later one gets deleted. This only ...
user avatar
  • 113
1 vote
1 answer
175 views

How to globally disable visual-line-mode in Doom Emacs?

In doom emacs, by default (when starting from the default configuration), visual-line-mode and word-wrap enabled in fundamental, text, prog modes... I would like to disable the visual-line-mode by ...
user avatar
0 votes
0 answers
42 views

Can emacs use window system on terminal frame? (doom-emacs, iTerm)

I'm trying to set org-level-* height(font size) differently for each level(doom emacs, config.el): (after! org (set-face-attribute 'org-level-1 nil :height 1.75)) But it displays different ...
user avatar
  • 1
1 vote
0 answers
22 views

How to automatically hide mode line by detecting frame size?

Hide mode-line would be more compact for a narrow sub-frame like this: For now, I'm using doom-emacs and binding keys like SPC t m to hide the mode-line, This just works but, I want to ask, Is it ...
user avatar
  • 11
0 votes
0 answers
151 views

How do I save org-agenda-files customizations in Doom Emacs?

I am currently running Doom Emacs and using org-mode. When I try to move a file to the front of the agenda file list (C-c [), It is updating the custom.el file, rather than the config.el file. In my ...
user avatar
2 votes
1 answer
167 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 ...
user avatar
  • 21
1 vote
3 answers
345 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 (...
user avatar
  • 485