Questions tagged [doom]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

Overlapping problem with company suggestions in doom-emacs

I'm having an overlapping problem of suggestions with my company configuration for org-roam in doom-emacs This is the piece of code for my backends in config.el (set-company-backend! '(org-mode ...
0
votes
1answer
18 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
1answer
20 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 ...
0
votes
1answer
42 views

How to get the real line number of a selection?

I am trying to figure out the line numbers referring to the actual selection. What I came up with is something like this (let ((start (line-number-at-pos (region-beginning))) (end (line-number-...
0
votes
1answer
40 views

Leave evil's insert state with Control + c

I would like to be able to leave the insert state (I think that's what it's called in emacs?) using the Ctrl+c combination I know from vim. I'm using doom-emacs in case that's important, and I'm ...
0
votes
0answers
26 views

doom emacs “Symbol's function definition is void: make-treemacs-theme”

I'm using doom emacs with current commit c83e5e75e24706a0d6c15f3156d33b1c4f9dc365. When I do SPC o p I get error Symbol's function definition is void: make-treemacs-theme Below is the screenshot - ...
0
votes
1answer
33 views

Magit: cannot commit error, unsure why

I am getting the error below and I have no clue what could be causing this. Any help is greatly appreciated: 1 git --no-pager --literal-pathspecs -c core.preloadindex\=true -c log.showSignature\=...
0
votes
0answers
33 views

ivy-immediate-done in doom emacs

I want to use ivy-immediate-done in doom emacs, but I can't find the command with SPC-:. I have install counsel via package-install. Does anyone know what the keybinding of this command is? I tried C-...
2
votes
1answer
150 views

FiraCode font not rendering italics

I have been trying to get FiraCode to work inside of Doom Emacs and have mostly succeeded. Everything works except for italics, even bold and ligatures are fine strangely enough. When I switch to ...
0
votes
0answers
26 views

Weird UI of term in Doom

My terminal in Doom looks like shown in picture but I can't seem to find a way to solve this. I have term activated in my init.el
0
votes
1answer
24 views

fresh install of Doom on Windows brings up a blank (white) scratch buffer and nothing more

Like it says on the box - I get the "doom loaded such and such packages on startup", but I don't get the home screen, and none of the keybindings etc. Just a white scratch buffer window with ...
0
votes
0answers
34 views

LSP does not see root directory in doom emacs

I am trying desperately to import: from src.test2 import test but it does not work, though i have a /src/test2/test.py file. I have tried so much (adding extra paths, adding pythonpath, adding init.py ...
1
vote
0answers
30 views

Autocomplete when editing file links

When I insert a link into an org-file using C-c C-l (Doom Emacs, if that matters) and select file:, it show me the files in the current directory to autocomplete from. However, when editing such a ...
0
votes
0answers
27 views

Org-mode doesn't load bullet

It seems like org-mode doesn't want to load the bullet character y tried putting pretty characters on and toggling between text and org to make it work but everything seems pointless. Distro emacs: ...
0
votes
1answer
41 views

View a history of commands

While in web-mode, when I type {{ emacs will add }} to the end, and when I press SPC it will then add another }} to the end with a space either side and one extra space to the right, so it looks like ...
0
votes
2answers
70 views

How do I auto save evil buffers for specific file types?

I'm a new Doom Emacs user that can't get used to having to save files manually. I found a way to auto save evil buffers, but the problem with this approach is that I'm not able step out of vterm (an ...
1
vote
1answer
43 views

How to copy the search result (using Swiper) from search buffer in doom emacs?

I search the line containing rowid in the buffer, and want to copy all the lines in the result window. How to do that?
0
votes
0answers
48 views

Doom Emacs: Flycheck showing warnings despite using check-paths

In python mode I have a project, which has a src directory. In that directory I import src.something from my root directory. That is shown as unresolved import. I have found lsp-python-extrapaths set ...
0
votes
0answers
27 views

noweb doesn't expand at all

I have a feeling this must be a stupid simple problem however I just can't seem to figure out what I'm doing wrong. I'm using Doom emacs and trying to use noweb with org mode source code blocks to ...
0
votes
0answers
48 views

emacsclient crashes on start

I use doom emacs. Starting emacs normally works just fine. Having an emacs daemon and trying to use emacsclient -c causes the following error: *ERROR*: Symbol’s function definition is void: persp-mode-...
0
votes
1answer
141 views

company-mode: no completions found

I am new to emacs (long-time vim user). Specifically, I am using doom-emacs. Doom is supposedly set up to use company-mode for auto completion, but I have not gotten it to work. I have the following ...
0
votes
0answers
22 views

<RET> behavior in ESS in a roxygen block

I'm relatively new to emacs and I'm trying my luck with doom emacs (I transitioned from spacemacs), and I've spent hours trying to figure out what's going on. This is about ESS <RET> behavior. ...
0
votes
1answer
42 views

How to remap the search backwards evil-ex-search-previous command of evil?

I want to remap evil-ex-search-previous to some other key than ,. I tried (define-key evil-motion-state-map "," 'evil-avy-goto-char-in-line) (evil-define-key 'normal magit-mode-map ",&...
0
votes
1answer
52 views

C++ lsp-mode: inconsistent behavior between remote and local projects

I've run into a bit of an odd problem trying to use lsp-mode. My problem setup is as follows: I'm working on a C++ project on my computer, and I'd like to be able to use lsp-mode with it. The catch is ...
0
votes
1answer
27 views

Git Repo for Doom Config With Different Platforms

I have emacs on two separate platforms, and I would like it to function in much the same way on both, but there is some platform-dependent configuration as well. I have created a git repository in my ....
0
votes
1answer
360 views

error while loading shared libraries: libpoppler.so.101: cannot open shared object file: No such file or directory

Running Doom Emacs 2.0.9 on Emacs 27.1 on Manjaro KDE. When I compile a latex documents, it produces a PDF file and opens an emacs window to display it. But what is displayed is some text and not the ...
1
vote
1answer
89 views

I can I get `+vterm/toggle` to popup from the right side of the screen instead of from the bottom?

I am using doom emacs, and frequently use the vterm popup/toggle functionality (defined as +vterm/toggle here, which is used, as the name suggests, to toggle a vterm buffer. The default is to toggle ...
1
vote
1answer
100 views

Disable Prettify-Symbols for C-mode

I'm using doom emacs. It enables prettify-symbols in all modes (I think) by default, although I would like to disable it in c-mode. I have placed the following in my config.el file: (add-hook 'c-mode-...
0
votes
0answers
190 views

Make tabs behavior like in other IDEs

How can I force Emacs to use tab button and TAB character in "normal stupid way"[1], like in nano or VScode or JetBrain's IDEs. All I can find is smart-tabs package and indent-tabs-mode, but ...
0
votes
0answers
57 views

Doom Emacs: Flycheck cannot find header files in gtkmm-3.0

I am attempting to use gtkmm-3.0-dev in a small project. It uses meson as its build tool, and I use ninja to create a compilation database. However, regardless of any variables I set, Flycheck cannot ...
0
votes
0answers
24 views

execute a function when emacsclient opens a frame

I am using emacs-evil and when I open a new frame on X11 I can normally use ESC key switch between writing and command mode. But in terminal it won't work, and it just trigers meta. I have been able ...
0
votes
1answer
70 views

create new keybinding for command mode in evil mode

I am using doom emacs and would like to create a keybinding to run the following line so that I don't need to write it every time I want to run a block of code of python :w !python The above line ...
2
votes
0answers
140 views

Automatically activating python virtual environments with pyvenv

I am using pyvenv with doom and am trying to have my python virtual environments automatically loaded when I enter a certain project. I saw this relevant issue on pyvenv and have added the following ...
0
votes
1answer
189 views

how to set ranger to be default mode in dired in Doom emacs?

I'm new to doom emacs and I like it but I'm still new, so I saw this package called ranger that is a minor mode inside emacs and I want to make it run by default whenever I open dired. The ...
0
votes
1answer
46 views

Adding a pattern to compilation-error-regexp-alist

I'm using the latest Doom Emacs on Emacs 27 with this config: https://github.com/gregghz/doom-config/tree/d3af4724cb4a5dd379645580698f7d24a5c3922a. I have this code to run a bloop command (like bloop ...
0
votes
0answers
30 views

How to resolve keybinding conflict, or set precedence of the bindings to the same keys for different functions?

How do I resolve keybinding conflict? Or if it's possible to have precedence of keybindings for the same key for different functions? I have the following snippet definition, in org-mode: #+name:${2:...
1
vote
1answer
119 views

Adding a new code formatter

How can I add a custom formatter that will be picked up by doom-emacs' format ((format +onsave)) module? I want to run the erlfmt program on save when editing Erlang files, but I'm not sure how I ...
0
votes
1answer
144 views

mu4e: Refiling email while making an org-todo

Background: I read my email through mu4e in (Doom) emacs. I set up an org-capture template that stores a TODO with a link to the current email I'm viewing, all working great. Typically I do this from ...
0
votes
0answers
266 views

LSP :: No LSP server for go-mode (check *lsp-log*)

I'm try to setup my golang IDE on doom-emacs. I've go installed $ go version go version go1.14.3 darwin/amd64 gopath is set - $ echo $GOPATH /Users/rajkumar.natarajan/go $PATH ...
0
votes
0answers
44 views

Append a shell output to mode line /doom mode line

I would like to append the output of some shells command so that it shows up in the modeline. I am using doom mode line. An example would be: $ uptime 16:20:47 ==> this is the output Now I ...
0
votes
0answers
67 views

doom emacs: converting email metadata from RFC 5322 date format to Org mode dates

I have about 200 old emails, as *.eml files, that I want to concatenate into one *.org file so that I can use the information in Org mode. Each file has the string "Date: " followed by a timestamp in ...
0
votes
0answers
57 views

How do I stop a process with Ctrl-C in Term?

I'm very new to Emacs. I've opened a terminal with M-x term, and started a server running on localhost. It says Press CTRL+c to quit. However, Ctrl-C appears to be mapped to Emacs commands. How can I ...
0
votes
0answers
115 views

Using emacs for ruby development with asdf version manager

I have installed a (doom) emacs to start developing with Ruby. So far I have mainly used Sublime Text but because of reasons I want to give emacs a chance. I tried Spacemacs too but uninstalled this ...
1
vote
0answers
156 views

Activate doom mode line theme on non doom theme

I would like to use a non doom theme on Emacs but I like the doom mode line. The problem is if I use a non doom dark theme, say Charcoal-Black, and activate doom mode line, then doom mode line is ...
0
votes
1answer
238 views

Couldn't resize project sidebar is doom emacs

I'm using doom emacs. I've enabled treemacs in ~/.doom.d/init.el I couldn't resize the project sidebar. I have tried this mac OS and opensuse 15.1 I get message <left-fringe> <mouse-drag-1&...
1
vote
0answers
105 views

Org mode tag column setting is ignored

Running Doom Emacs v 2.0.9. My ~/.doom.d/init.el contains: (custom-set-variables '(org-tags-column -80) ) When I add tags using counsel-org-tag, the tag alignment in the current headline is ...