186 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
53
views
org-agenda-redo affected by evil state hook
I use the code
(add-hook
'evil-insert-state-entry-hook
(lambda ()
(global-hl-line-mode 0)))
(add-hook
'evil-insert-state-exit-hook
(lambda ()
(global-hl-line-mode 1)))
to make it more clear ...
1
vote
1
answer
407
views
Error in emacs: emacs after install evil: Native compiler error
emacs native compiler error
does anyone know what's wrong with this? I try to download evil for emacs but encounter a native compiler error, and doom-mode-line also has this problem
Error (use-package)...
0
votes
0
answers
252
views
Evil-mode doesn't work on Emacs 29.1 (Windows)
I recently installed emacs 29.1 on my Windows machine from this repo:
https://ftp.gnu.org/gnu/emacs/windows/emacs-29/
I started configuring it and the first thing I did is install evil-mode, so I can ...
1
vote
0
answers
139
views
Doom Emacs: Turn off single line comment autocompletion
I currently have this Doom Emacs functionality:
/*
*
* <- automatically inserted after pressing ENTER [good]
*/
//
// <- automatically inserted after pressing ENTER [bad]
What could elisp ...
0
votes
1
answer
1k
views
Getting debugger lisp error: (void-variable w)
Sometimes when I save a file I get a debugger error message in Emacs, it doesn't happen always but happens randomly whenever I save a file. The error message is as follows
Debugger entered--Lisp error:...
0
votes
1
answer
218
views
Receiving "wrong type argument: commandp..." when hacking around emacs evil mode
I am trying to override some of the default keymaps of emacs evil mode. What I have done is this:
(evil-define-key 'visual 'global
"<" (lambda ()
(evil-shift-left)
(evil-visual-...
1
vote
0
answers
365
views
how to properly disable auto-completion when doing macro expansion
I'm looking for a way to temporarily disable auto-completion frameworks (corfu in my case) when I'm doing macro-expansion. the problem is that when I'm running a kbd-macro, or trying to insert to ...
0
votes
1
answer
94
views
How to move to end of character when switching from normal to insert mode in Emacs Doom or Vim?
Emacs-Doom Vim-mod
How to move my box to end of character when switching from normal to insert mode in Emacs Doom Vim-mode?
I am a Doom Emacs newcomer.
What do I need to insert in my config?
Please ...
0
votes
1
answer
2k
views
Using evil-mode in dired or disable evil-mode in dired
I have been using emacs for note-taking with org mode. I don't like other note-taking apps. I have come to like emacs for other tasks as well. However, I have trouble navigating dired with evil-mode. ...
1
vote
1
answer
77
views
I expect this elisp function to visualize entire function, but it visualizes beginning to cursor
It looks like the function that I use is not correctly visualizing the entire function. Currently, the function only visually highlights the region from the beginning of the function to the current ...
0
votes
1
answer
175
views
In evil-mode how to just press J to move the cursor down 3 lines
When in evil-mode, I can make the cursor go down 3 lines by command 'C-u 3 M-x evil-next-line' , but how can I make the cursor go down 3 lines by just pressing J?
0
votes
1
answer
346
views
How to undo all changes when using evil-visual-block in Emacs in Evil mode?
I am using (evil-visual-block) and after the block selection pressing capital letter I and then typing what I want and pressing Esc when I am OK.
Now, I see there is a mistake. How to quickly undo ...
0
votes
1
answer
265
views
What function does evil mode run when I press :w?
I was wondering what function evil mode ran when I pressed :w. I tried using C-h k and then I pressed :w but it only registed the : I pressed and showed me information about evil-ex function instead ...
0
votes
2
answers
2k
views
Using the :general with use-package sometimes doesn't work
I started converting my evil-define-key calls to use the :general extension to use-package, and sometimes they work, and sometimes not. Re-evaluating the (use-package ...) s-expression doesn't change ...
1
vote
2
answers
607
views
Getting a no match when trying to install evil from emacs (M-x package-install RET evil [No match]) - how to fix?
I saw this questionn https://emacs.stackexchange.com/questions/45056/how-do-i-install-the-evil-package but I can't decipher how to use it to help me.
I also have the same issue:
M-x package-install ...