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
1 vote
2 answers
222 views

Using yaml src block in following python src block

I am trying to use multiple src blocks to explain a yaml config file usage in python. Below is my org file, #+name: config.yaml #+begin_src yaml name: john why: check # below is a dict example # see ...
0 votes
1 answer
511 views

Dailies Capture Template Org-Roam not unique headline

I would like to get my org roam dailies capture template to work but it returns with an error saying that the heading is not unique on level 1. My dailies capture template is as below: (org-roam-...
  • 123
1 vote
1 answer
2k views

Doom Emacs Slowing Down because of Autocomplete

Whenever I start typing a word, Emacs tries to autocomplete it, and it slows down the app a lot. I know the problem is the autocomplete because Emacs works fine normally. Is there a way to remove the ...
  • 11
0 votes
1 answer
563 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
1 vote
0 answers
2k views

Doom emacs org-agenda does not show to do items

I am new to doom emacs, I am trying to give a shot to using org mode todos and agenda files. I created a sample org file with a list of to-do items as below. #+TITLE: Sample list * Check ** TODO Item ...
2 votes
1 answer
183 views

nov.el follow link to .epub in other window instead of having a new buffer in the same window

When I try to follow a link [[nov:path/to/epub/ebook.epub][link]] in nov-mode (defined in nov.el) under Doom Emacs, it always opens the file on a new buffer, replacing the org file where the link sits ...
  • 755
1 vote
0 answers
95 views

Other Emacs profile unable to load directory path

I used to use vanilla emacs and am trying out Doom emacs in a separate chemacs profile where my config files are under ~/.doom.d/ and my doom files are under ~/.emacs.doom.d/ I am trying to use the ...
  • 123
2 votes
1 answer
354 views

Add quotes or brackets around selection in doom-emacs

I used to use Spacemacs and it had this nifty feature where a selection could be bracketed with quotes, parentheses or any similar pair characters by simply pressing the character. So UpdateJob could ...
1 vote
1 answer
125 views

Accept default in ivy filename prompt

Using Doom Emacs, when I invoke a command (such as diff) that needs a filepath I get an ivy prompt that names a default value: But I am unable to clear the line or somehow tell ivy to take that ...
  • 294
2 votes
1 answer
299 views

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 ...
  • 31
2 votes
1 answer
155 views

What is the sequence/chord/key used to backspace an Emacs Command

In Doom Emacs, I pressed SPC then pressed p instead of o. If I press Backspace key then it becomes DEL instead of backspacing p. This means Backspace key is one of the chords. How am I supposed to do ...
0 votes
2 answers
58 views

C-i combination doesn't work with lowercase i [duplicate]

I've configured Doom emacs to run an interactive evil-ex command in visual mode, the reaconfiguration is as below: (defun evil-insert-into-lines () (interactive) (evil-ex "'<,'>norm I&...
  • 31
0 votes
1 answer
2k views

Python formatting not working on Doom Emacs

I activated the formatting on save in the init.el file uncommenting the following line (format +onsave) ; automated prettiness But when I save a Python file, I get the following error message: Error ...
0 votes
1 answer
234 views

Override org-mode indentation function in evil insert mode

How can I override the org-mode indentation function of TAB in evil-insert-state-map? I'd like it to always fold and unfold the current or parent header, and switch the indentation functionality to ...
0 votes
1 answer
255 views

How to use Org mode for i3/sway config files

I use the swaywm. It's similar to i3. The Emacs distribution I use is doom-emacs I recently learnt about literate config files. But how make literate configs for something like this. The text is not ...
2 votes
1 answer
708 views

How to copy commit hash from Magit status buffer?

After I open a Magit status buffer and make a commit, I commonly also want to copy that commit's hash (the shortened version) to my clipboard to post somewhere else. I can't work out how this should ...
0 votes
1 answer
230 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 ...
  • 157
2 votes
1 answer
321 views

How to override the :hook section of a use-package declaration

I am attempting to change the :hook section of a use-package declaration that I cannot directly modify. In my case, I want to remove hooks that are getting set, not just add more hooks. Is there a way ...
  • 342
2 votes
1 answer
146 views

Elpher loads for Gopher but not Gemini using Doom Emacs

I am using the most up to date version of Doom Emacs, and I am trying to use Elpher to access Gemini pages. While it loads up Gopher pages just fine, any time I try to pull up a Gemini page I get a &...
0 votes
0 answers
68 views

Possible infinite recursion when copying keymap

When trying to open vterm, I get helm-M-x-execute-command: Possible infinite recursion when copying keymap. I am using Doom Emacs. config.el: https://paste.ofcode.org/Zypm6xQgbXneyJ7LnQvyPK +bindings....
  • 151
2 votes
1 answer
435 views

How to set major mode localleader keybinding to both `SPC m` and `comma` in Doom

I want to be able to use both SPC m and , as major mode localleader keybinding in Doom. With my current Doom setup, I can only use , as localleader key. SPC m is undefined currently.
5 votes
1 answer
2k views

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

EMMS: browse by folders

Is there a way in EMMS that I can browse by folders, instead of artists? I can use smart browse to open a buffer that can add songs to the playlist. That buffer opens by artists, how can I change it ...
  • 1
1 vote
0 answers
73 views

Dvorak input mode wrong letters when typing fast, correct, when typing slow

I have dvorak keyboard layout set as input when I am in evil-input mode. However, when I type relatively fast when typing the I get thd. This is just an example, some other "typos" occur as ...
2 votes
1 answer
696 views

Doom-emacs - How to align chinese characters in org-tables

I'm trying out doom emacs for the first time (previously was using spacemacs). I've run into an issue where chinese characters are not aligned in org mode tables. For example: | Character | Pingyin ...
0 votes
1 answer
68 views

How to let line numbers count from 1 in org subtree?

When I narrow an org mode header into a subtree(using command org-narrow-to-subtree) in vanilla Emacs, the line number counts from 1 in the subtree, but when I create a subtree in Doom Emacs, the line ...
  • 439
1 vote
0 answers
30 views

show which package repo was used to obtain a package

I'm trying to submit a bug report to emacs-evil, and they ask me from which repo evil was installed. I'm just using the version that came bundled with doom-emacs. How can I know which source was used ...
5 votes
1 answer
7k views

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 ...
  • 2,397
1 vote
1 answer
336 views

How to make emacs shell the same as system terminal experience?

On macOS, using iTerm2. It looks like In Emacs For Mac OS X, it looks like I copied system's ~/.zshrc file to ~/.profile and ~/.bash_profile, but doesn't they read configrations when start emacs?
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 ...
1 vote
0 answers
1k views

Adding a custom keybinding in Doom Emacs

I am using evil-mode and am very new to emacs and doom. How would I be able to map Ctrl-s to :w or save. Also, how would I be able to bind Ctrl-n to neotree-toggle? I have been searching and trying ...
0 votes
1 answer
83 views

doom-modeline module with line(w) status

As the title implies, what package or feature does line(w) denote? When active, it deletes lines in evil-insert-state upon pressing Enter and then i immediately afterward.
1 vote
1 answer
602 views

How to get help on Doom's own functions

I use describe-function command with SPC h f to get help on emacs functions. But I want to get documentation on Doom's own functions such as map!. describe-function doesn't list this function. How can ...
0 votes
1 answer
286 views

Fetching email from multiple accounts via both Lieer (gmailieer) and isync with Notmuch

I was wondering if I can use both isync and Lieer (gmailieer) at the same time to pull email from multiple Gmail and multiple non-Gmail accounts (each account being in a separate subdirectory in my ...
0 votes
1 answer
127 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
0 answers
262 views

My emacs company mode won't work with python. I use doom emacs. I have company mode and ivy in my init.el. I have flycheck enabled in python

:completion company ; the ultimate code completion backend ;;helm ; the *other* search engine for love and life ;;ido ; the other *other* ...
0 votes
0 answers
494 views

From stock Emacs to Emacs Doom - Issues with Key Bindings and de-activating Evil-mode - ORG-MODE use

I have migrated to emacs-Doom and wish to keep the emacs vanilla key-bindings. I also use emacs exclusively for org-mode I have amended the init.el file to remove the evil and removed any attributes ...
  • 103
0 votes
1 answer
158 views

How can i activate emacs-binding in doom emacs?

I am using doom emacs. But I want traditional emacs key binding. I've heard several people that emacs key binding becomes way of life and if somebody takes my key binding away, I cant express myself. ...
1 vote
0 answers
1k views

Doom emacs config does not fully load at start up

I am on Doom emacs, and have placed various scripts in my config file. These are mainly new keybindings and options for packages, e.g. (define-key org-mode-map (kbd "s-;") 'org-agenda) ; ...
0 votes
1 answer
185 views

User emacs has no home directory

I am an emacs newbie running emacs doom on Linux. I am learning how to use traditional emacs in my free time and have an emacs config file that I want to test out. I launch my traditional emacs by ...
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 ...
  • 1,832
0 votes
1 answer
123 views

Doom Emacs -- Use a library

Running Doom Emacs 2.0.9 on Emacs 27.1. A library org-inlinetask provides some functionality I need. I can SPC h P org-inlinetask to open the library. Then I can SPC c e to evaluate buffer. This makes ...
  • 1,832
4 votes
1 answer
2k views

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 ...
1 vote
1 answer
766 views

Org Roam Database Missing

Running Doom Emacs 2.0.9 on Emacs 27.1. I have in installation of org-roam with the following set-up: (setq org-roam-directory "~/Documents/organize/org-mode") FWIW, I use the same ...
  • 1,832
5 votes
1 answer
948 views

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 ...
2 votes
1 answer
110 views

How to suppress the save buffer message in the minibuffer in Doom Emacs? (using Emacs 27)

I'm using the super-save package which saves the buffer when an Emacs frame loses focus and it's spamming the minibuffer with 'file written' messages, which gets distracting. I want to suppress this ...
0 votes
1 answer
82 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]... * ...
2 votes
1 answer
207 views

Emacs not indenting enum / enum class contents

I've got a small problem to do with Doom Emacs / Emacs. Enum contents are not indented at all... Here's what I would like: enum class RandomEnum { A, B, C, D }; Here's what I get: ...
  • 95
2 votes
2 answers
1k views

Make Evil Mode "s" key behave like Vim

Doom Emacs' s key does not behave like Vim's implementation. In Vim, s deletes the character under the cursor and puts you into insert mode whereas Evil Mode performs a search, similar to f and t. Is ...
0 votes
1 answer
443 views

File mode specification error: (void-variable lsp-csharp--action-client-find-references)

I'm using doom emacs. my ~/.doom.d/config.el is - (use-package! lsp-mode :hook (haskell-mode . lsp) :commands lsp) (use-package! lsp-ui :commands lsp-ui-mode) (use-package! lsp-haskell :after ...