Newest Questions

0 votes
0 answers
17 views

Adjust indentation: discriminate between innamespace and inclass etc

When adjusting C++ indentation, I know I can show the syntactic point with C-c C-s and then in .emacs something like (c-set-offset 'inline-open -0) Now how do I discriminate between different contexts;...
emacs drives me nuts's user avatar
1 vote
1 answer
357 views

Trying to prompt the user for an input in a `let` [duplicate]

Why can read-string prompt the user for an input in the context of a message but not in the context of a let? (message (format "Value entered: %s" (read-string "Enter value: "))) ;;...
vmonteco's user avatar
  • 123
0 votes
0 answers
32 views

Strange graphical artifacts

Edit: I thought this was an emacs problem, it now looks like a Fedora/Gnome problem so I've asked here This is on a custom build of 30.1 on Fedora 41, just ./configure --prefix=my-prefix. Anyone have ...
John Graham's user avatar
0 votes
0 answers
28 views

LaTeX mode configuration file with texlab LSP and latexmk compilation

I have two issues related to my configuration, but I don’t know what I’m doing wrong. For my eglot config : ;; eglot mode (use-package eglot :ensure t :defer t :preface (defun mp-eglot-eldoc ()...
Louis's user avatar
  • 103
0 votes
0 answers
33 views

save an history of command input, package loading and unloading and emacs closing

I am currently trying to get some statistics of my coding time so I would like to be able to track when a package related to coding (e.g python-mode, lsp-mode etc) is loaded and also when it closes. I ...
R-addict's user avatar
2 votes
1 answer
67 views

Generating org-mode LaTeX previews for tikz-cd

I'm trying to get tikz-cd LaTeX previews working with org-mode and org-fragtog. I found online that the default dvipng method doesn't like tikz in particular, and I can see that in action: #+begin_src ...
Andrii Kozytskyi's user avatar
2 votes
1 answer
76 views

Why does emacs whitespace-mode "skip" tab stops that are only one character away from the last character, diverging from terminals and other editors?

There seems to be a slight difference in how emacs, with whitespace-mode enabled, displays tabs compared to e.g. terminals: When a tab would lead to only one (visual) space being displayed before the ...
Julien Oster's user avatar
2 votes
1 answer
44 views

Zsh running in Emacs shell hides partial lines (those lacking trailing newlines)

When running zsh under Emacs shell (M-x shell) with the stock zsh config (zsh -f), partial lines are hidden from the output. Example: Start emacs without config file: $ emacs -q Set (setq explicit-...
arvidj's user avatar
  • 87
1 vote
1 answer
49 views

org-mode beamer export with an overlay option <n> set to a frame

I'd like to export an org-mode in beamer/latex and setting an overlay option to the exported frame. More specifically, If I have a heading like * Heading title I'd like to do something so that it is ...
Laurent Jacques's user avatar
1 vote
1 answer
40 views

Looking for help/examples for ediff selective browsing

I use ediff all the time but haven't played with the selective browsing feature which looks incredibly useful. I mainly want to ignore a few types of differences. First, any RCS keyword text. meld has ...
David R's user avatar
  • 51
0 votes
0 answers
116 views

How to paste with mouse middle click the text copied from Emacs or other applications?

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
23 views

Unfocused Emacs'UI is different

This is my ~/.config/gtk-3.0/gtk.css /* @import 'colors.css'; */ #pane #menubar { color: #ffd; background-color: #042; font-family: "Candara"; font-size: 13pt; font-...
gboffi's user avatar
  • 624
0 votes
0 answers
28 views

How to capture to subheading in current clock?

I'm aware of how to capture to the current clock (#1 below). And I'm aware of how to capture to a subheading or headline within a file (e.g.: #2 below). But how do I prompt to capture to a ...
Mugshep's user avatar
  • 123
0 votes
1 answer
25 views

Browsing itex/MathML websites

One of my favorite things to do on the web is read nlab articles. As noted in the FAQ answer I linked to, the nlab uses MathML/itex to write its math code. Sadly, native eww doesn't seem to be able to ...
Alexander Praehauser's user avatar
1 vote
1 answer
89 views

pdf-tools package's pdf-view-shrink function does not work. Where to start inspection?

I installed pdf-tools package from MELPA, and I built it by adding (pdf-tools-install) in my init file. I can visit a PDF file and have it rendered. However, I can not zoom out. As far as I learned, ...
norio's user avatar
  • 213

15 30 50 per page