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
0answers
15 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?
0
votes
1answer
23 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 ...
0
votes
0answers
27 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: ...
0
votes
0answers
10 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-...
0
votes
0answers
21 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 ...
1
vote
1answer
27 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 ...
0
votes
0answers
21 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 ...
1
vote
0answers
19 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 ...
0
votes
0answers
46 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 ...
1
vote
0answers
31 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 ...
0
votes
3answers
94 views
+300

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 (...
0
votes
2answers
51 views

How to debug error in process sentinel?

I've recently switched to doom emacs, and for the most part it's working great. However, when I'm looking at a folder in dired-mode, if I copy a file using C the file is copied but *Messages* contains ...
0
votes
0answers
35 views

Emacs DOOM does not show tabs although 'centaur-tabs' is enabled

I'm currently using DOOM emacs. I enabled 'centaur-tabs' in ~/.doom.d/init.el by using (tabs +centaur-tabs). Configures are: (after! centaur-tabs :ensure t ...
1
vote
1answer
28 views

How to list the project by the name instead of the path in projectile?

I'm new to DOOM emacs and try to get used to projectile. I found how to set the project name by using .dir-locals.el, which can be done by ((nil . ((projectile-project-name . "PROJECT-NAME"))...
1
vote
0answers
77 views

How to install a font on arch linux + doom emacs

I am trying to be able to use this font on Arch Linux + Doom Emacs. So far what I did is the following: Download and unzip font to ~/.local/share/fonts/ run fc-cache The font is working on ...
0
votes
0answers
328 views

Haskell-mode in Doom emacs returns: 'Error running hook "lsp!" because (invalid-function lsp!)'

I am running Xmonad window manager together with Xmobar on ArchLinux 5.14.12-arch1-1. I have ghc, cabal, and stack installed. Suddenly Doom has started having a problem with Haskell files and is ...
0
votes
1answer
49 views

How can a function be used as an alist value but be evaluated before its value is used?

I am using Chemacs2 and I want to set an environment variable in the .emacs-profiles.el, eg To clarify the problem .emacs-profiles.el is not executed it is read and I have updated the post with a ...
0
votes
1answer
37 views

Cannot display full string in emacs

I have doomemacs installed freshly, without any customization, and I found my emacs hides part of the string from being displayed in emacs-lisp-mode. E.g., the following line: (package! org-roam-ui :...
0
votes
1answer
25 views

org-link-open fails with Wrong number of arguments: (1 . 1), 0

I recently added a config entry to my ./doom.d/config.el to enable Firefox as a default browser for opening links. Below is the entry I added based on this post. ;; Set specific browser to open links ...
0
votes
1answer
80 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 ...
2
votes
0answers
40 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
58 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
87 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
70 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
36 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
75 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
254 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
542 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
123 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
538 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
38 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
50 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
37 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
31 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
0answers
78 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
49 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
64 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
93 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
32 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
489 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
28 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
114 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
123 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
216 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
101 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
46 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
56 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
89 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 &...