Newest Questions
27,898 questions
1
vote
1
answer
22
views
Can you make any name indent like lambda or let in scheme mode?
When you work with different scheme implementations or just write your own macros, you often want custom macros to behave like let or lambda. To be precise, I want 2 space indentation for different ...
0
votes
1
answer
39
views
eval-defun in org-mode, LaTeX-mode,
Is there some reason eval-defun would not work in org-mode buffers? When I attempt to run it in one, I get a variety of puzzling error messages. For instance, running it inside
(+ 1 1)
results in
...
1
vote
0
answers
34
views
org on android cannot `make autoloads`
Some context:
I've got emacs running on android with termux, and i'm using elpaca to pull in a recent version of org-mode.
The problem(s):
Whenever org loads (which for me is on startup) I get a ...
1
vote
2
answers
60
views
Hide DONE headings in current org-mode buffer
How would you hide all headings that match certain tag/property/regex. For example, I want to hide all DONE headings, e.g.
* DONE heading 1
* heading 2
should result in
* heading 2
I suspect that if ...
2
votes
0
answers
44
views
Org mode: How can I adjust the behavior of emphasis markers within inline code?
When I write inline code in an org file such as ~(defparameter *name* value)~ or even src_lisp{(defparameter *name* value)} the earmuffs are interpreted as emphasis markers and are hidden unless ...
0
votes
0
answers
36
views
How to blacklist folder from project.el
sometimes I write a throwaway script in my home folder. If that happens to be a python script, then Emacs hangs. Why? Well, project.el recognized it as a (maybe transient) project and eglot starts ...
0
votes
2
answers
51
views
How can I do tab completion in M-x ssh?
After connecting via ssh, I'm trying to tab complete, but I only get:
Debugger entered--Lisp error: (void-function comint-dynamic-complete)
comint-dynamic-complete()
ssh-tab-or-complete()
...
1
vote
0
answers
45
views
Why does dap-debug freeze on my C# projects?
When I debug, it freezes my whole Emacs.
I am able to C-g three times to make it not freeze, but if I step forward, the whole of Emacs just crashes and dumps core;)
Is there any way to debug the ...
0
votes
1
answer
29
views
LaTeX-Mode Indentation in Complex Tables
When using LaTeX, I typically want to use the indenting support provided by AucTeX/LaTeX-mode. However, I've recently written a number of tables like these:
\begin{tabular}{l@{}c@{}c@{}c}
Header1 &...
0
votes
2
answers
30
views
Multiple cursors "other" cursor color on Emacs 30.1?
When I moved to Emacs 30.1, it seems the "alternate" (i.e. not the main one you started from) cursors for multiple-cursors are always black no matter what theme I use, and as I use a dark ...
0
votes
0
answers
23
views
`evil-collection-want-find-usages-bindings' is not working
This is part of my emacs config:
(use-package evil
:init ;; Execute code Before a package is loaded
(evil-mode)
:config ;; Execute code After a package is loaded
(evil-set-...
0
votes
1
answer
32
views
"evil-define-key" doesn't work if called from a function
Background: I wanted to bind c r in Evil normal mode to lsp-rename. Long story short, c isn't a "prefix key" but an operator, so doing that is a bit tricky, and involves going through evil-...
0
votes
0
answers
11
views
Create an Ert-test environment that does not depend on Emacs customization variables or hooks
"The outcome of running a test should not depend on the current state of the environment, and each test should leave its environment in the same state it found it in. In particular, a test should ...
0
votes
1
answer
28
views
How to use the mouse in Emacs in a terminal emulator on Windows 11
In Windows 11 I use Emacs (of the Ubuntu WSL) in the Windows Terminla app by starting it as emacs -nw.
None of the mouse-related Emacs functions are for me available. Is it possible to get mouse click ...
1
vote
0
answers
24
views
Have text belong to parent headline?
Is it possible to return to the previous headline when writing text in org-mode? For example:
* Headline 1
Text inside headline 1
** Sub-headline
Text inside sub-headline
More text inside ...