Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

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'...
xpusostomos's user avatar
  • 1,696
0 votes
0 answers
29 views

I'm trying to follow steps from the official website: https://emacs-lsp.github.io/lsp-mode/page/installation/ When i do M-x package-install and type in lsp-mode it gives the following result in the *...
Questioner's user avatar
-2 votes
0 answers
50 views

I must have fat-fingered or random clicked with the mouse on screen. Now in Emacs the ctrl and meta keys no longer function. I hold down ESC and type % and expect text replacement to come. But instead ...
Gert Gottschalk's user avatar
1 vote
0 answers
36 views

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 ...
Aiden Ghim's user avatar
0 votes
2 answers
43 views

running emacs29 on windows/cygwin, have noticed that: (insert-button "foobar" 'help-echo "Hovering") works just fine with "Hovering" tooltip, while (insert-button "...
Vlado's user avatar
  • 1
Advice
1 vote
0 replies
39 views

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 ...
yury10578's user avatar
  • 113
0 votes
0 answers
30 views

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 ...
Abdelghani's user avatar
0 votes
0 answers
50 views

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 ...
Nazar's user avatar
  • 880
1 vote
0 answers
72 views

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 ...
user2649762's user avatar
1 vote
0 answers
38 views

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. ...
K G's user avatar
  • 1,845
0 votes
1 answer
85 views

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 ...
Marcus Hampel's user avatar
0 votes
0 answers
51 views

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 ...
maxfriis's user avatar
0 votes
1 answer
61 views

I move from Emacs to VSCode with DVT for Verilog. In Emacs by a single push of Tab I am able to indent/format beautifully the whole ports declaration list so that all declarations are aligned ...
chainastole's user avatar
1 vote
0 answers
78 views

I have installed emacs using nix-darwin with home-manager. The version is: GNU Emacs 30.2 (build 1, x86_64-apple-darwin24.6.0, NS appkit-2575.70 Version 15.6 (Build 24G84)) I have set it up using ...
K G's user avatar
  • 1,845
0 votes
0 answers
48 views

I have a custom keyboard and I want to map "n", "e", "i", "u" for movement, instead of "b", "n", "f", "p". I wish to ...
RFV's user avatar
  • 839
0 votes
0 answers
43 views

Many interactive functions generate lisp errors depending on the function name when using ivy and lsp and debugging it is difficult (in part because of the bytecode compile-function references). This ...
John Daschbach's user avatar
1 vote
2 answers
125 views

In order to view/edit Doxygen files, I am using (define-derived-mode dox-mode html-mode "dox" "Major mode for Doxygen." ) (add-to-list 'auto-mode-alist '("\\.dox\\'&...
emacs drives me nuts's user avatar
0 votes
1 answer
62 views

I use emacs with ess on Windows for R development. My usual workflow is to open two emacs windows, one main (primary) one, and another (secondary) one using C-x 5 2. I start R in the secondary window (...
user2623214's user avatar
2 votes
2 answers
98 views

What I need to do is simple: I have A-f bound to find-file in emacs, but want to hide specific files that I do not care about. I have them hidden in dired already using this config: (setq dired-omit-...
David Avarage's user avatar
-1 votes
1 answer
65 views

In Emacs - Portacle when I want to add an opening bracket I got this (), So if I want to enclose (list 1 2 3) I get (append () (list 1 2 3)) I do want (append ( (list 1 2 3)) So I can put an closing ...
Kustekjé Meklootn's user avatar
1 vote
1 answer
136 views

I am using (global-tab-bar-mode) in emacs, but almost all commands that have output (like shell commands) will split the current window and make another, ignoring tabs completely, which I do not want, ...
David Avarage's user avatar
0 votes
1 answer
73 views

I am configuring emacs, and would like to fix an issue with the Control Forwards, Control Backwards, Control backspace keybinds - since I am using CUA mode, these should take me backwards and forwards ...
David Avarage's user avatar
1 vote
0 answers
42 views

I am trying to initialize a Git repository with 'C-x v v'. I think it's feasible because according to the Emacs Manual, Section 30.1.3.1: ‘C-x v v’ does the following when invoked from a buffer that ...
zipeilu's user avatar
  • 21
0 votes
1 answer
22 views

I did the usual install steps, but Pymacs has some disagreements with the latest version of Python on Ubuntu 24. It cannot find a library named imp. Setup cannot find an readfp() method. Anyone has ...
BBSysDyn's user avatar
  • 4,681
1 vote
1 answer
70 views

I have a setup with a project written in C that is statically linked with a library. The sources of the library are in a different folder somewhere else on the system. I am using emacs and lsp-mode ...
Schievel's user avatar
2 votes
1 answer
61 views

My dired output shows some additional information that are cluttering the screen, the first time I visit any directory I get an output like drwxr-xr-x 2 user1 user1 4096 Jan 5 2024 dir1 drwxr-...
BBSysDyn's user avatar
  • 4,681
0 votes
2 answers
51 views

When using re-search-forward with a regexp that contains an or operator with a captured subexpression in an alternative after the first, the group is not captured. Evaluating (progn (re-search-...
scry's user avatar
  • 1,256
1 vote
1 answer
88 views

I'm using Emacs, and I have a macro that's like a switch for regexes, and runs an expression with variables bound to match results. The indentation isn't what I'd like but I can't find if there's a ...
John Graham's user avatar
0 votes
0 answers
74 views

the info page does not mention a conflict with ctags, but when i run brew install --cask emacs the output is something like ==> Installing Cask emacs ==> Moving App 'Emacs.app' to '/...
hellopeach's user avatar
  • 1,084
0 votes
2 answers
90 views

I'm writing Rust using rust-analyzer and lsp-mode Suppose I have code: let x = 10; let y = 20 + x; I want to put my cursor over x and hit some shortcut (or whatever) and the code becomes: let y = 20 +...
samthebest's user avatar
  • 31.7k
1 vote
0 answers
64 views

I need to include the content of an org file (or a specific section) into my main org file, similarly to what I do in Obsidian with ![[File#Section]] I've tried this, but it requires export: #+...
Gauffke's user avatar
  • 15
2 votes
0 answers
31 views

In Emacs, I would like to see yasnippets in the company dropdown. Although I thought this would work out of the box, I can’t get this working. This is my config: (use-package yasnippet :ensure t :...
Alois Pichler's user avatar
0 votes
0 answers
38 views

I run Mitsuharu's Mac port of Emacs (v 29.1) on my MacBook Pro. I would like to use Cmd-Opt H key to hide other apps as it works in all other Mac apps. Right now Emacs gives me "M-s-h is ...
RNP's user avatar
  • 47
0 votes
1 answer
173 views

I'm trying to write an org-capture-template and supporting functions for it, for a blogging setup that uses individual org files within a specific directory for posts. i want this to work such that I ...
peregrinator's user avatar
-1 votes
1 answer
304 views

I would like to: Copy text from Emacs by highlighting it with a mouse (or copy from other applications with command+c). Paste the copied text into Emacs with mouse middle click (or paste it into ...
Timur Shtatland's user avatar
0 votes
0 answers
106 views

I have written the following typescript code. I would like for typescript-ts-mode to recognize that the template literal is HTML and should use the HTML tree-sitter parser for that region of text. In ...
BFedle's user avatar
  • 21
0 votes
0 answers
161 views

I just made the switch to wayland but when I opened emacs using the daemon and 'emacsclient -c' rather than the font that I set (Monaspace Krypton) in the config.el it automatically goes to some ...
n o's user avatar
  • 1
0 votes
1 answer
64 views

I'm configuring emacs, and have run into a roadblock trying to configure C-c to be copy: ;; Copy, cut (global-unset-key (kbd "C-c")) (global-unset-key (kbd "C-x")) (global-set-key (...
David Avarage's user avatar
0 votes
0 answers
35 views

I want to insert different formats of logbook items in the drawer for different job state changes. Such as: When the TODO--> VERY, logbook drawer will insert "[2025-04-27 Sun 15:33](VERY from ...
cwind's user avatar
  • 442
0 votes
2 answers
112 views

Is there a spacemacs-y way to comment a line in Doom Emacs? In Spacemacs, it's SPC c l, but I couldn't find anything of the sort for Doom Emacs. I know I can comment a line using SPC : and then ...
cyberglot's user avatar
  • 395
0 votes
0 answers
29 views

I'm encountering an issue with Hunspell's spell-checking in Emacs. When I misspell "preparing" as "perapring", Hunspell doesn't suggest the correct spelling. Instead, it offers ...
Name's user avatar
  • 359
0 votes
1 answer
733 views

How can I run Ruff in Emacs? I need to enable 2 commands on the current buffer: ruff check --select ALL current_buffer → bind to M-x ruff-check ruff check --select ALL --fix current_buffer → bind to ...
Timur Shtatland's user avatar
0 votes
0 answers
46 views

It would be useful to highlight any org-heading if its :PROPERTIES: block contains property with certain names. So in my case need visually separate class names from instances (memebers of class) in ...
chromonoid's user avatar
0 votes
1 answer
42 views

My emacs-w32 was running fine on my windows11. But since I did a cyg upgrade by setup-x86_64.exe, I got this error: $ emacs-w32 C:/cygwin64/bin/emacs-w32.exe: error while loading shared libraries: ...
Mingo's user avatar
  • 1,613
0 votes
0 answers
50 views

I'm struggling to set up my emacs web-mode for .js files for React projects. They don't get indented properly. A known fix is to force the .js files into .jsx files, however, I'm not able to get that ...
Gaston's user avatar
  • 1
1 vote
0 answers
42 views

If I get a mathematical answer from Google Gemini, I can choose copy, then paste it into Emacs. At this point it's presumably markdown, so I save it as somemath.md. When I look at it, it has all the ...
147pm's user avatar
  • 2,289
0 votes
1 answer
329 views

I'm trying to debug a .Net Core project. I'm using emacs lsp and dap mode. But when I run dap-debug I get the message: Have you loaded the ‘coreclr’ specific dap package? I just want to debug my ...
cali's user avatar
  • 1
0 votes
2 answers
320 views

I'm new to Emacs and started configuring it yesterday. And everything was going ok (show number lines, fonts, themes) but when I tried to install packages (MELPA) it keeps showing this. MY OS: LINUX ...
Caio Vitor's user avatar
0 votes
1 answer
59 views

I would like an Emacs bookmark that jumps to a 'today' file. This is a different file every day, so I would like to use a function. I tried an entry in bookmark-alist in the bookmarks file at .emacs.d/...
René Steetskamp's user avatar
0 votes
0 answers
55 views

On my system I have Emacs: $ which emacs /usr/bin/emacs $ emacs --version GNU Emacs 29.4 I cannot make CMake find it; this is the corresponding bit of CMakeLists.txt file: find_program(EMACS emacs) ...
Pietro's user avatar
  • 13.5k

1
2 3 4 5
357