Newest Questions
28,013 questions
0
votes
0
answers
6
views
How to deal with expired keyrings automatically?
I recently ran into some issues with slime/swank version incompatibilities, basically I have a slime client which is incompatible with a slightly newer swank server:
Versions differ: 2.28 (slime) vs. ...
0
votes
1
answer
15
views
How to get eglot-server-programs executables?
The Eglot manual recommends inspecting eglot-server-programs to see the pre-configured programs. This is not as useful as it could be, because a lot of them are hidden behind compiled functions. For ...
0
votes
1
answer
18
views
Is it possible to pass a setf place (generalized variable) as an argument to a function?
I'm learning about generalized variables (the setf place argument) and have a hypothetical question: Can a generalized variable be passed as an argument to a function, allowing the function to mutate ...
0
votes
0
answers
11
views
specify ad-hoc options for `git diff` in magit?
Sometimes I use the --color-words=. option with git diff to see character-level differences. I also may use --ws-highlight-error=all.
The specifics of the options isn't crucial; what I want is to have ...
2
votes
2
answers
293
views
Is there a more idiomatic way of repeating a string in Emacs Lisp?
Is there a more idiomatic way to repeat a string in Emacs Lisp? I would define idiomacy as being both efficient in cpu/memory usage (given the task at hand), but also being efficient in terms of ...
1
vote
1
answer
24
views
TeX-command-run-all ignores TeX-command-default?
I'm using AUCTeX with Emacs 30.2 on Linux. In my ~/.emacs I have the variable TeX-command-default set to "LaTeXMk". However, whenever I start working on a new file and type C-c C-a for TeX-...
0
votes
0
answers
29
views
magit mark files to stage
Is there a way to mark files to stage with magit?
I want to pick only specific changes to be staged all at once, so that when I finally run magit-stage-file, all those marked changes get staged ...
1
vote
1
answer
49
views
table-capture on a tab-separated file (tsv)
I have a tab separated file, like this:
this is a tsv
and I would like to display it as a table. I found the command table-capture, which works nice on comma separated files, but it didn't work ...
0
votes
2
answers
32
views
Append to a buffer and recenter
I have very practically zero experience with elisp but after reading the intro to programming that comes with emacs and trying out things I was able to put together a function that will evaluate a ...
0
votes
0
answers
13
views
Indentation width in yaml-ts-mode
I know I can set the indentation width with yaml-indent-offset in yaml-mode. How can I set the indentation in yaml-ts-mode? (Which I would prefer for more native folding, breadcrumbs, etc.)
0
votes
1
answer
31
views
Keyboard shortcuts for applying a theme *Warning*
GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.49, cairo version 1.18.4) of 2025-07-18, modified by Debian
Hi, I am trying to set a .emacs keyboard shortcut to load a theme using ...
0
votes
0
answers
25
views
+50
How to implement a custom command which runs gptel with custom parameters instead of the transient interface?
I have configured gptel. I have my own tools and my own system prompts. I can run gptel and use the transient interface to select prompt, tools, etc.
Now I want to create my own command my-gptel-...
0
votes
1
answer
40
views
Removing Help entries from display-buffer-alist
I want the ability to remove Help buffers from display-buffer-alist.
And I am getting
and: Symbol’s value as variable is void: \"\\*Help\\*\"
Here is the function
(defun qhelp-frame (&...
1
vote
1
answer
199
views
Bind to <ctrl> key press and key release?
Is it possible to bind key press and release events separately when (display-graphic-p)? My goal is to create a keymap that emulates typical CtrlTab behavior. Specifically, I want something like:
...
0
votes
1
answer
46
views
Call interactively describe-symbol but print in a different frame
How can I call describe-symbol interactively, but print the result in help-frame.
(defun qdesc ()
(interactive)
(let* ( (help-frame (make-frame `( (name . "Help")
...