Newest Questions
28,096 questions
0
votes
0
answers
8
views
Error due to variable tool-bar-map has not been assigned a value
When trying to modify a face through M-x customize-face, I got this error Symbol’s value as variable is void: tool-bar-map and the buffer shows nothing. I retried with all the contents of my .emacs ...
1
vote
1
answer
26
views
Why do results in org mode from look different than what I get on a command line?
I'm using org mode to write some R code. Somehow, the output I get inside my org file with C-c C-c differ from what I get when I run the same code from the command line. Consider for example the ...
2
votes
1
answer
56
views
org-mode use reference and loop over several tables -> error handling
Follow this question
I have error when I look for the missing value :
* t1
#+tblname: t1
|----+---|
| P1 | 1 |
| P2 | 2 |
| P3 | 3 |
|----+---+
* t2
#+tblname: t2
|----+---|
| P1 | ...
0
votes
0
answers
13
views
Encoding Issue with pgtk Build on Wayland: Umlauts Don't Reach Chromium
My problem is that text with umlauts pasted only from Emacs only to Chromium gets garbled: "oö aä uü" becomes "o� a� u�"
Verified with hexdump(and C-u C-x =) that the char in ...
0
votes
1
answer
13
views
How can I remove the colon at the end of a HTML export's footnote header?
When exporting an org file to HTML, the footnotes are put under a h2-element, like
Footnotes:
¹ A footnote.
Typically, headings do not end in a colon, and so I would like to get rid of the colon at ...
0
votes
0
answers
12
views
OSC 3008 Code when using ssh in ansi-term
I've been getting this error if I use the ansi-term to ssh into a machine that's on my lan. The cli prompt is prepended by a long OSC character sequence
]3008;start=;user=adsfibonacci;hostname=<...
1
vote
1
answer
42
views
org-mode use reference and loop over several tables
I try to get value from tables with org-lookup-first by looping on the tblname value :
* Papie&Mamie
#+tblname: pm
|--------------+------+----+--------|
| Intense Brut | 5.95 | 6 | 35.70 |
...
0
votes
0
answers
17
views
Does "emacs -nw" prevent logout?
Take any Fedora version released between November 2023 and August 2025 (I don't think it matters too much which one), with Gnome (and systemd of course). Incidentally, I think the default installation ...
2
votes
0
answers
25
views
Add repeater cookie while capturing
While capturing a task, it is possible to add a scheduled date. Consider this capture template:
("y" "Repeating Task" entry
(file "~/inbox.org")
&...
3
votes
1
answer
193
views
man: do not use other window
I can reproduce the following behavior with emacs -Q.
When I use m-x man , it opens the man page in another window. When only one window is open, it even splits the frame. More annoyingly, when I ...
1
vote
1
answer
110
views
How to associate each tab with a key binding
I configured Emacs so I can use tabs similarly to a browser :
(use-package intuitive-tab-line
:vc (:url "https://github.com/thread314/intuitive-tab-line-mode")
:defer 0
:init
...
1
vote
0
answers
48
views
How to change DONE timestamp behaviour
Suppose I have a repeated task, let say the vacuum floor habit to do every 4 days, scheduled for the following date: <2025-11-20 jeu.>.
Suppose that I physically do the habit on <2025-11-20 ...
0
votes
1
answer
22
views
How to download dbus-proxy.el from lauchpad
usr is
https://code.launchpad.net/~scymtym/+junk/dbus-proxy
And I got:
brz branch lp:~scymtym/+junk/dbus-proxy
brz: ERROR: Invalid url supplied to transport: "Unknown Launchpad path: lp:~...
0
votes
0
answers
9
views
How to achieve Evil Mode same mapping for different operations (conditional)
I'm trying to map C-j and C-k in Evil (normal) so that:
if a Corfu completion popup is visible → move selection (next/previous),
else if an eldoc-box frame is visible → scroll that eldoc box,
...
0
votes
1
answer
18
views
Error downloading markdown mode when installing lsp-mode
I've already posted this question on stackoverflow but I figured this is the appropriate place for it.
I'm trying to follow steps from the official website: https://emacs-lsp.github.io/lsp-mode/page/...
0
votes
1
answer
134
views
How to search for string with specific initial and final delimiter but not containing a particular substring?
In a very long text, I'd like to search for strings with the following properties:
Starts with (let's say) #.
Ends with (let's say) @.
Does not contain # or @.
Does not contain the substring (let's ...
0
votes
1
answer
37
views
How to prevent org-agenda dispatcher from splitting window?
I'm using Emacs org-mode and when I run M-x org-agenda, the agenda dispatcher menu (the buffer named *Org Agenda Commands* where you select options like "a" for agenda, "t" for ...
0
votes
0
answers
19
views
Emacs project.el over Tramp: Inserting .gitmodules failed
When using Emacs' built-in project.el functionality with git repositories containing submodules over Tramp, there's a significant performance issue caused by repeated, unsuccessful attempts to access ....
0
votes
0
answers
25
views
Emacs freezes when trying to upgrade packages
emacs freezes when I try to package-upgrade-all - the buffers become unresponsive and the last message I see in the minibuffer is "Contacting host: elpa.nongnu.org:443" or the same but MELPA....
0
votes
0
answers
23
views
typescript-ts-mode requires manual font-lock-update call after first visiting a file
I've been using typescript-mode and tide for a long time but I wanted to try out tree-sitter and lsp-mode. I've got most things working except for one problem with syntax highlighting. When I first ...
1
vote
0
answers
19
views
How to unify documentation shown in `corfu-popupinfo` and `eldoc-box`?
I have an issue where Corfu's popupinfo and eldoc-box show different documentation for the same symbol.
corfu-popupinfo-mode shows one kind of documentation
eldoc-box shows a different one on calling ...
-1
votes
0
answers
36
views
Where is documentation for /d and /l on mode indicators in mode line?
The mode line for an elisp file shows the mode as elisp/d or elisp/l, where the /d is shown in red. I now understand /d to refer to dynamic scoping and /l to refer to lexical scoping. Mouse 1 can be ...
0
votes
0
answers
10
views
Can helm-mini show buffer access times?
Is it possible to show when a buffer was accessed in a column for this command or something that is called from C-x b?;)
2
votes
1
answer
48
views
Importing contacts into emacs
I'm trying to shift to using Emacs for email. I've set up Gnus and it's working nicely for me with one thing missing, and it's a deal-breaker. I need it to autocomplete email addresses when I'm ...
0
votes
0
answers
21
views
Sort agenda items such that tasks with no repeater are above tasks with repeater
In org-agenda, I would like to have tasks without repeater listed at the top followed by tasks with repeater. Within that, the sorting can continue to be default.
org-agenda-sorting-strategy has org-...
2
votes
1
answer
48
views
How to open Org-mode ID links in an indirect narrowed buffer
By that, I mean as if I were already at the target location and had called org-tree-to-indirect-buffer.
I see that org-link-use-indirect-buffer-for-internals almost does this. However, that setting ...
3
votes
2
answers
433
views
How to replace any letter with the next in the alphabet?
It's Emacs, so I'm sure it's possible to do a query-replace-regexp that replaces any [a-zA-Z] letter with the following one in the alphabet, at least for ASCII letters. So for instance "sgd" ...
0
votes
1
answer
35
views
emacs30.2 jump to function define with treesitter
I am using emacs 30.2 with c++ treesit mode enabled. I can jump to function end with C-M-e, how can I jump to function define under current cursor?
1
vote
2
answers
14
views
helm-mini with slow tramp connections opens slowly
I'm using tramp to edit remote files, and helm-mini to switch between buffers. But having multiple remote files open with a slow SSH connection, opening helm-mini takes very long. In a backtrace I saw ...
0
votes
0
answers
34
views
Emacs: Elpy: Popup suggestions menu not displayed in ipython shell (getting suggestions in *Completions* buffer instead after pressing `TAB`)
I am using Emacs 30.1 on MacOS and have configured Elpy. The auto complete
popup is working properly in python file (for e.g. typing 'a'.l shows me below popup ).
However, when I type 'a'.l in the ...
2
votes
1
answer
24
views
Show repeater cookie in org agenda
Is it possible to show repeater cookie in org agenda?
category:Sched.99x:++99d:TODO Some task
How can I do that? org-agenda-prefix-format does not provide any direct repeater element. It talks about %...
0
votes
0
answers
12
views
customize org-appear to hide inline src block
I found this reddit post which has a config to hide the header context of a inline src block. So, using the config, inline source like src_python{return 123}, becomes {return 123}. I customized it so ...
1
vote
1
answer
110
views
Text misaligned starting at line 1000 in org file
I'm writing a really long file that it has more than 1000 lines. Somehow, starting at line 1000, all text is moved one char to the right (see how the ruler at line 1000 is misaligned in the picture ...
0
votes
0
answers
18
views
Different color for current highlighted match in evil-ex-search-forward
I'm using doom emacs, which has in-built configuration to search for text in buffers with key binding / (evil-ex-search-forward). Once I search, I can hit RET and use either n or S-n to cycle through ...
0
votes
1
answer
34
views
Different begin/end line color for org source code block based on language
I know that we can customize org source block begin and end line colors using below config
(custom-set-faces!
;; Customize the header line of the source block
'(org-block-begin-line :background &...
0
votes
0
answers
28
views
Spacemacs - Setting a variable only works after refresh
Every time I start up spacemacs, some variables are not defined. I get:
"Symbols function definition is void: nil"
However, when I refresh the configuration (SPC f e R), everything works ...
0
votes
0
answers
38
views
Unicode commands in shell
I am using Emacs 31.0.50 in Windows. I have a shell command string which includes some unicode characters in its arguments. I can run this command in Windows command prompt without any problems. But I ...
0
votes
0
answers
37
views
org mode latex export - issue with newline in lists
When I do an export to latex from org mode lists are treated as follows:
a list item that has text has a newline (\\ in the tex file) at the end of that item if there is any text for that item. If ...
3
votes
0
answers
30
views
Project variable, function, macro checker
Is there an Emacs tool that show the dependencies for every file from a project?
I have undeclared errors at an Emacs project. If the variable or the function/macro into file is not declare yet, Emacs ...
0
votes
1
answer
44
views
disable view-read-only for some major modes
The view-read-only variable, when set, ensures view-mode is
enabled on all read-only buffers, which I find generally good. But
sometimes, the major mode already has similar functionality, so I'd
...
0
votes
0
answers
25
views
Further alignment than the one provided by align-current?
Suppose the following lines (AUCTeX mode active):
\documentclass{article}
\begin{document}
\begin{tabular}{lrr}
Foo & 42.00 & 242.50 \\
Foo bar & 3242.00 & 10.50 \\
\end{tabular}
\...
0
votes
0
answers
12
views
treemacs file tree, set zig icon
in my treemacs file tree, i see icons for .c,.cpp,.rust, but not zig. So i downloaded the zig png, put it under
~/.emacs.d/icons/zig.png
and updated my treemacs config to this
(use-package lsp-...
0
votes
0
answers
25
views
How to change the facecolor of org-mode emphasis markers?
For example, visually, some code actually has two ~, left and right, they are there occupying the space, but invisible to eyes.
Taking one step further, can we customize the width of the two ...
1
vote
0
answers
37
views
Org export: Conflict of keywords COMMENT and INCLUDE
I have a file test.org that includes files a.org and b.org:
test.org:
#+include: a.org
#+include: b.org
a.org:
* AAA
* COMMENT BBB
b.org:
* CCC
* DDD
When I export test.org the only section that is ...
0
votes
2
answers
47
views
How to check if the current buffer supports "strings" via the syntax-ppss?
When writing utilities that operate on "strings", the syntax-table can be used along with the parse state (syntax-ppss), however some major modes (such as text-mode) won't treat quoted text ...
0
votes
1
answer
28
views
How to ignore the line break between two consecutive links
The two inline images are supposed to be on the same line, but I want the image path on separate lines because the path is too long.
#+ATTR_ORG: :width 300
[[/this/is/a/very/long/file/path/to/an/...
1
vote
1
answer
61
views
Given a symbol defined with a defcustom form, how to programmatically identify its group(s)?
How to identify the parent group(s) of a symbol defined with a defcustom form with elisp code?
For instance I would like to use or write a function custom-group-of such that
(custom-group-of 'delete-...
3
votes
1
answer
173
views
Magit broken with message: transient-setup: Symbol’s value as variable is void: $
I get this message after updating packages. How can I fix it?
I load my file, then press C-g, and it shows Recent commits. After pressing any usual key, I get the message with the error, and magit ...
3
votes
0
answers
56
views
Package loading broke suddenly
Today, all of a sudden (possibly because of a system Emacs version update to 30.1?), loading packages broke for me. Specifically, my .emacs looks like this:
(require 'package)
(setq package-user-dir &...
1
vote
1
answer
126
views
PDF Tools not working
I have Emacs 30.2 installed on MacBook Pro (Mac Monterey Version 12.7.6). I cannot make pdf-tools to work. Please see my .emacs file:
**** .emacs file ****************
;; Initialize package sources
(...