17,805 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
22
views
Code for Checkstyle linter in Emacs throws error
I am trying to set up ELisp code to enable a checkstyle linter for java development with the flycheck package, but it throws an error I don't understand when running doom doctor for diagnosis.
;;;; 0
...
1
vote
2
answers
54
views
Disable font-lock-warning-face in Emacs
I'm using scratch Emacs without preconfigurations/frameworks. I want to disable the font-lock-warning-face for all Emacs modes, no remove its styles or make it "invisible", make the face be ...
Tooling
0
votes
2
replies
75
views
emacs with c++-mode and indentation
I have problems with the indentation where I am using keywords like export in combination with namespace.
export namespace foo::bar {
// indentation is wrong
}
when the export keyword is one line ...
1
vote
1
answer
45
views
advice for process-environment has no effect
When I run the following, it works: the environment variable "TEST" is defined inside the shell.
(let ((process-environment (cons "TEST=X" process-environment)))
(term "/bin/...
rje's user avatar
- 6,528
0
votes
1
answer
54
views
adding a key binding to minor mode map has no effect
When I run the following code:
(defun x () (interactive) (message "TEST")
(define-key eglot-mode-map "C-," 'x )
in any buffer managed by eglot I would expect to be able to press C-...
rje's user avatar
- 6,528
0
votes
0
answers
24
views
Writing elisp exwm function to switch workspaces
I'm trying to write elisp functions to work with exwm to switch to the next or previous workspaces and I came up with the following. They work as required with M-x, but when binding to a key, they don'...
1
vote
0
answers
39
views
How do I disable blink-and-insert upon entering closing bracket in mg editor c-mode?
I use the mg MicroGNUEmacs editor, a small emacs clone, and encountered a problem upon using c-mode. Whenever I type "}", ")", or "]", the cursor is taken to the matching ...
0
votes
2
answers
44
views
emacs lisp: symbols and keywords not interchangable in e.g. insert-button
running emacs29 on windows/cygwin, have noticed that:
(insert-button "foobar" 'help-echo "Hovering")
works just fine with "Hovering" tooltip, while
(insert-button "...
Advice
1
vote
0
replies
55
views
How to export from Orgmode to `.docx` via Pandoc filter with custom style NAMES?
I have a file in Orgmode, and I have to export it to .docx format using a heavily customised .docx template (publishers requirement). Specifically, all paragraph styles have their own names, including ...
0
votes
0
answers
35
views
Is there a way to make Emacs underline only part of the text when receiving long diagnostics?
In VS Code, when a diagnostic is received by the client, only tree dots appear under the first caracters of the concerned text.
Is there a way to customize Emacs to do the same when it receives long ...
0
votes
0
answers
51
views
how to see full error message from emacs verilog-batch-auto
I am using the following command line to run the auto processing on a verilog file:
emacs -batch file.v -f verilog-batch-auto;
When I get the error, it is not printed entirely, so the source of the ...
1
vote
0
answers
72
views
No *cider-error* buffer and no stacktraces with shadow-cljs
I am using Emacs+Cider to develop a ClojureScript project with shadow-cljs.
When I am using Cider with a .clj project, everything works fine. But in shadow-cljs projects specifically, I don't get the ...
1
vote
0
answers
41
views
How to properly associate .omnijs files with typescript-ts-mode in doom emacs?
I am using doom emacs as an editor for writing OmniJS automation files. According to the instructions, I've downloaded the tsconfig.json and omnifocus.d.ts files and put them in my project folder. ...
0
votes
1
answer
86
views
Stop emacs to replace spaces or tabs in Makefiles
I have upgraded from Emacs 29 to 30 and set indent-tabs-mode no nil. In makefile-mode the indent-tabs-mode is set. Therefore, Emacs replaces 8 spaces with a tab character.
In version 29, the spaces ...
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 ...