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
1 answer
33 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: [{'...
0 votes
0 answers
16 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 ...
0 votes
0 answers
27 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 ...
  • 190
0 votes
1 answer
20 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 ...
  • 678
0 votes
0 answers
12 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&...
  • 725
0 votes
2 answers
43 views

emacs command window is too small

When I C-x to show the list of commands, the window of commands is chopped like below how can I make it show the full?
0 votes
0 answers
17 views

Give literate config access to Doom Emacs module docs

I am using Doom Emacs and within the default ~/.doom.d/init.el I can use M-x +lookup/documentation while my point is on a module name to go to that modules documentation. I may be misunderstanding, ...
0 votes
0 answers
12 views

Disable search-as-you-type in Doom Emacs

Is there a way to disable "search as you type" functionality in Doom Emacs? Either with the Vim equivalent of / or through I-search C-s. With large documents, that functionality causes Emacs ...
  • 725
0 votes
0 answers
6 views

+eval/buffer doesn't run current buffer

when I run +eval/buffer, I get the following output Traceback (most recent call last): File "qr_9TTN6Y.py", line 1, in <module> import numpy ImportError: No module named numpy 2 ...
0 votes
1 answer
27 views

Ispell does not seem to use hunspell

I tried to set up ispell to use hunspell with this post. but it seems like ispell is still not using hunspell. Ispell in Emacs would mark this word as wrong: Schulwochen (German) $ hunspell -d de_DE ...
0 votes
1 answer
25 views

hl-line-mode -- how to highlight only the text on the current line (don't highlight leading and trailing whitespace)?

I'd like to highlight only the text in between the leading and trailing whitespace on each line. For example, I'd only like to highlight the region marked by the double arrow <--> for the ...
0 votes
0 answers
14 views

Remove preview latex icon

When using preview-latex, there is little icon with the text τέχ before the math block when the cursor is on the source code. At beginnings of lines, it moves one line above, which confuses me. How ...
  • 101
1 vote
3 answers
79 views

Seamlessly replace a keyboard input key sequence

I need something like abbrev, just without any extra spaces, including spaces which trigger the replacement. I experimented with keyboard shortcuts, like this: ;;(general-auto-unbind-keys) (global-set-...
0 votes
1 answer
69 views

How to clear project cache with Doom Emacs?

When add a project with path /Users/me/folerd1/myproject, it works well. Use SPC p d to delete the added project myproject under folder1 path, then add it under another path /Users/me/folder2/...
7 votes
1 answer
1k views

Packages I never knew they existed cause problems

I'm using Kubuntu 22.04 and I tried to configure my doom-emacs Installation. Then I got these weird error-messages and couldn't figure out how to fix them. So I uninstalled doom and emacs completely ...
0 votes
0 answers
17 views

org-agenda-switch-to places point incorrectly when viewing org source file

I often run org-agenda-list to view my org agenda. Then, when I press Enter (org-agenda-switch-to) on an item in the agenda, the org file (todo.org) with the item is opened, as expected. I also run ...
0 votes
1 answer
168 views

How to properly use consult-ripgrep to search through org-roam notes

I am trying to setup a way to systematically search through all my org-roam notes and I came across the following code that uses consult-ripgrep: (defun bms/org-roam-rg-search () "Search org-...
0 votes
0 answers
25 views

Remove double invocations from a multiple-cursors hydra

I created a hydra for multiple-cursors for a config. However when I press the prefix keys, C-c m n then the [head] (action) key... the action is doubly invoked. Said another way, if I my hydra key ...
0 votes
0 answers
16 views

How are the asterisks hidden in this doom emacs config?

I have been following this doom emacs config here and it hides all the asterisks for the headings in all org files. But it never mentions anything about hiding the asterisks in each of the headings. I ...
0 votes
0 answers
86 views

Error after upgrade

I upgraded doom yesterday. Unfortunately, since then I get the following error whenever I doom run : Warning (initialization): An error occurred while loading ‘/Users/*****/.emacs.d/.local/etc/@/init....
0 votes
0 answers
88 views

How to revert to the default 'compilation-mode' behavior under doom emacs?

How can the "compilation" experience in Emacs be reverted to the behavior of a vanilla emacs installation when using doom emacs? As a long time user of "vanilla" Emacs, I am too ...
0 votes
0 answers
81 views

C++ code in doom mode is shown as errors

I've C++ file written in style c++17 opened in doom emacs. Below is the contents of the file. #include <iostream> #include <string> using namespace std; int main() { int arr[] { 1, 2, ...
0 votes
0 answers
30 views

Why markdown preview needs to install new package and open preview in browswer with Doom Emacs?

The Doom Emacs markdown preview feature needs to install one of these packages(compiler): markedjs: a markdown compiler “built for speed” pandoc: the universal markup transpiler markdown: there are ...
1 vote
1 answer
72 views

Why do I have Chinese/Mandarin characters in my mode-line and e-shell out of the blue? How do I fix this?

I have been using Emacs for a while. As you can see in my config file (whole file), there is a snippet to provide a Doom mode line: (use-package doom-modeline :init (doom-modeline-mode 1) :custom (...
0 votes
0 answers
67 views

Doom Emacs: Multiedit Keybinds not Working

New to Emacs and I'm using Doom Emacs. Here is the documentation I'm following: https://github.com/hlissner/evil-multiedit First, I can't find the 'evil-multiedit-default-keybinds' that it mentions. ...
1 vote
1 answer
109 views

Executing mit-scheme blocks in org-mode

Using doom emacs in my packages.el: (package! slime) (package! geiser) (package! geiser-mit) (package! scheme) in my config.el: (setq geiser-active-implementations '(mit)) (org-babel-do-load-...
  • 11
0 votes
1 answer
282 views

Doom - setting code formatter for specific file type

How can I change formatter used for specific file type in doom-emacs format module? So far I've been happy with using mostly doom defaults and haven't gotten into writing custom configurations and ...
0 votes
0 answers
38 views

Ubuntu 22 "your emacs does not come with xwidget support"

I'm a complete beginner, I'm using Doom Emacs and when trying to open a YouTube link in org-mode I get this error. I'm not sure what I should do to fix it. I tried to install libwebkit2gtk-4.0-dev but ...
  • 1
0 votes
0 answers
75 views

How do I stop auto completion pop up when it doesn't recognize word?

I'm using doom Emacs to edit lisp files using sly sbcl. When I'm typing something and the auto completion stops suggesting relating words to what I'm typing, the whole autocomplete list pops up. So if ...
0 votes
1 answer
43 views

Can't install code as package

I've recently started to look into the Blazor framework and noticed there is no available major-mode for editing .razor files, which are essentially a mix of C# and HTML. I then started creating a ...
0 votes
1 answer
906 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.
  • 101
0 votes
0 answers
57 views

Error on multi buffer rendering

I had been using emacs since 5-10 years ago and never had any single problem, I used to use Vanilla emacs with some configurations as Sebastiencs's Sidebar, now I'm using Doom emacs with treemacs. In ...
0 votes
1 answer
149 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" ...
1 vote
1 answer
63 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,...
0 votes
1 answer
32 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 ...
  • 426
0 votes
1 answer
41 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 #+...
0 votes
1 answer
141 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,...
  • 101
0 votes
1 answer
73 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?
0 votes
0 answers
96 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, ...
1 vote
0 answers
64 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/...
0 votes
0 answers
71 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 ...
3 votes
0 answers
130 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 ... ...
  • 272
0 votes
1 answer
162 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 ...
  • 1
1 vote
2 answers
203 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 ...
  • 113
0 votes
0 answers
115 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 ...
  • 1,822
1 vote
1 answer
77 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 ...
  • 113
0 votes
0 answers
100 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 ...
  • 101
1 vote
1 answer
201 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&...
  • 90
1 vote
0 answers
179 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 ...
0 votes
0 answers
60 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 ...
  • 123