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
1answer
27 views

Emacs / Doom emacs taking a lot of memory

I'm using Doom Emacs, which is taking a lot of Memory if my browser is opened with 10 tabs. What can I do to reduce amount of memory being used, without sacrificing the packages? My config.el is as (...
0
votes
0answers
12 views

Wrong highlighting used in sparse tree todo items

I am generating a sparse tree for an org file using org-sparse-tree / t. When I do this, the face for all the todo labels does not match the rest of the text: If I change the todo status of an item ...
1
vote
0answers
20 views

How to get the last project search results?

When searching in project with +default/search-project after opening a result. How do I get back to the previous search results? And ideally to the same position in the results list? The usecase: ...
0
votes
0answers
59 views

+lookup/definition directory scope in doom emacs

I have a question about +lookup/definition (and associated commands) in emacs doom. Suppose that I have the following directory structure. code/ |folder_A/ ||.git/ ||file_A.py | |folder_B/ ||.git/ ||...
0
votes
0answers
39 views

Treemacs really slow to open with medium size project

When I open for the first time Treemacs into a project (not only the first time ever, but every time I open the project) it can take some minutes to load, blocking Emacs. This is the CPU profile: - ...
0
votes
0answers
38 views

Easiest way to copy an inline image from org mode to clipboard in Doom emacs

Easiest way to copy an inline image from org mode to clipboard. I tried ox-clip, but when hovering over the image i get: funcall-interactively: Symbol’s value as variable is void: org-html-inline-...
1
vote
1answer
54 views

File local variables doesn't work

I tried putting a local file variable in an org mode file: # -*- mode:org; coding:utf-8; org-duration-format: h:mm; -*- but when I open this file the variable has the original value and not the one I ...
0
votes
0answers
29 views

How can I get imenu-list to accept mouse input?

I'm using Doom in Emacs 27.2. I can call imenu-list-smart-toggle and I get the imenu window. If I switch to that window using the keyboard, it functions normally. But, when the cursor is in my text ...
1
vote
2answers
51 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
1answer
155 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-...
1
vote
1answer
221 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 ...
0
votes
0answers
73 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
0answers
224 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 ...
1
vote
0answers
25 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 ...
1
vote
0answers
38 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 ...
0
votes
0answers
23 views

How can I go to the previous buffer, when that buffer is the Org Agenda?

I like to use RET in org-agenda to navigate to the files in which my TODO entries are stored. But getting back to the agenda is another matter. The usual methods don't seem to work. I usually press C-...
0
votes
0answers
11 views

Substituting 'p' for 'N' when doing word searches for prior occurrences

In Doom emacs, when I press * asterisk to do a search for other instances of the word under my cursor, I use the n to skip to the next occurrence. The default vim key for the prior occurrence is N, ...
0
votes
0answers
23 views

Errors with Smudge (HTTP 403, No Active Device, void functions) in Doom

I followed the instructions here and installed smudge. The relevant portion of my config reads (setq smudge-oauth2-client-secret "********") (setq smudge-oauth2-client-id "********"...
0
votes
1answer
105 views

How to do live sharing for pair programming in emacs?

I want to do live sharing in emacs as vscode does. Anybody know how can I do that?
0
votes
0answers
40 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 ...
0
votes
1answer
34 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 ...
1
vote
1answer
34 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 ...
2
votes
1answer
76 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
2answers
31 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&...
0
votes
1answer
279 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
0answers
27 views

How to write the result of running an external command to a scratch buffer?

I'm running this ex command in evil mode: :%!grep -E "^\#" how can I write the result to some arbitrary buffer, instead of replacing the content of the current buffer?
0
votes
1answer
95 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
1answer
83 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 ...
1
vote
1answer
115 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
1answer
74 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
0answers
40 views

Doom emacs pass integration

I got this setup: but the pass module says it can't find the entry "irc/freenode". I have constructed this by looking at the pass tests, and i am most certainly doing it wrong. Can somebody ...
2
votes
1answer
45 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 ...
2
votes
1answer
69 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
0answers
30 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....
1
vote
0answers
132 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.
3
votes
1answer
576 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
1answer
22 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
vote
0answers
52 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 ...
0
votes
1answer
171 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
1answer
40 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 ...
1
vote
0answers
22 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 ...
2
votes
1answer
1k views

Keybindings For Doom Emacs

I am trying to start using Doom Emacs, but I find it increasingly difficult to find what the new keybindings are for certain tasks, like the ones for using Org Mode. When I use vanilla Emacs, there is ...
1
vote
1answer
145 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?
0
votes
1answer
799 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
0answers
518 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
1answer
58 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
0answers
92 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
0answers
60 views

Org-mode convert web link to PDF

I am trying to write two functions to do these: Function 1: When the point is on a link (in an Org file), generate a PDF from that link (I am thinkng of using wkhtmltopdf. Side question: does ...
0
votes
1answer
145 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
1answer
58 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, ...