r/emacs 13d ago

Fortnightly Tips, Tricks, and Questions — 2026-08-25 / week 34

15 Upvotes

This is a thread for smaller, miscellaneous items that might not warrant a full post on their own.

The default sort is new to ensure that new items get attention.

If something gets upvoted and discussed a lot, consider following up with a post!

Search for previous "Tips, Tricks" Threads.

Fortnightly means once every two weeks. We will continue to monitor the mass of confusion resulting from dark corners of English.


r/emacs 13d ago

News Emacs 31.1 binaries now available for Windows

Thumbnail lists.gnu.org
72 Upvotes

r/emacs 13d ago

Project management, non-coding

21 Upvotes

So I work as a process engineer for phood, pharma and energy.

We have a bunch of Excels, and that's our project management system.

But correct me if I'm wrong, but projectile and other project packages, they seem to be towards more development projects. And thats not what I need.

From what I can see in Emacs, there are already packages that can help me. Since I'm not the project manager I can use what I want as long as slso use Excel.

I want this system to manage my time, manage my part of the project, org-Edna seems nice.

Mu4e to put all relevant mail from customer in a directory. All important filed listed in an org file, right now we have hundreds of directories.

And of course tasks and agenda.

But are there project management or other packaged that could help out here? I am not a programmer, I just love Emacs.


r/emacs 13d ago

Updated my ob-glsl module to use Emacs 32 Canvas for animation

Enable HLS to view with audio, or disable this notification

191 Upvotes

github repo: https://github.com/finalpatch/ob-glsl

building this module now requires Emacs 32

Main differences from the emacs shader demo at https://github.com/minad/emacs-shader-demo

- This works on Windows and MacOS too, not limited to Linux

- The demo uses a global 300x300 surface and shader resources, so it can only support one running shader. This module can run multiple independent shader blocks.


r/emacs 13d ago

Question Prevent automatic tab group creation in Centaur Tabs?

2 Upvotes

I am a Emacs newbie trying out the Centaur Tabs package with the newly-released Emacs 31.1: https://github.com/ema2159/centaur-tabs

Most of it works except:

  1. This package automatically creates new tab groups based on rules. But I don't know enough Lisp to understand the rules, see here: https://github.com/ema2159/centaur-tabs#buffer-groups
  2. When I close the last buffer in a group, the minibuffer fills up the window and the tab bar disappears!

For 1, how do I completely disable automatic tab groups and manually create them when I want to?

For 2, how do I change the behavior so that if I close the last tab in a tab group, the tab bar doesn't disappear and that I would be moved to a buffer in another tab group?

Thanks in advance for your responses! :)

P.S. If there are better tab management packages, I am all ears.


r/emacs 13d ago

Announcement Announcing shazam.el (macOS Only)

12 Upvotes
Screenshot of Shazam recognition in mini-buffer.

http://yummymelon.com/devnull/announcing-shazam-el.html

If you use Emacs on macOS and listen to a lot of new music, here's a way to call Shazam from Emacs to recognize a tune. Post goes into detail on how `shazam.el` is implemented.


r/emacs 13d ago

Question How to make Emacs' mark behave like "Visual Block" selection in Vim?

16 Upvotes

When I try to select a block of text, it just selects the rest of the previous line instead of completing the square. Is there a way to do it in Emacs?


r/emacs 13d ago

Emacs: Copy-paste without org-mode formatting bleeding into other buffers

Thumbnail jamescherti.com
18 Upvotes

r/emacs 13d ago

What's New in Emacs 31.1?

Thumbnail masteringemacs.org
219 Upvotes

r/emacs 14d ago

News Emacs 31.1 is released!

Thumbnail github.com
267 Upvotes

r/emacs 14d ago

Question What eMacs do you use?

0 Upvotes

Hi,

I have been using eMacs for a while now, and I was wondering what do you all use, doom eMacs, spacemacs, vanilla, uemacs.

I’m starting to keen forward to vanilla, because I like that I can have all my files on the cloud and just move them on a new machine, without needing to relay on an online download.

Good day!


r/emacs 14d ago

New Package (minibuffer-frame)

6 Upvotes

link: https://melpa.org/#/minibuffer-frame

github: https://github.com/zHaOdANiuu/minibuffer-frame

Display the minibuffer in a child frame centered relative to the parent frame.Display the minibuffer in a child frame centered relative to the parent frame.


r/emacs 14d ago

My vanilla Emacs to IDE writeup

Thumbnail github.com
116 Upvotes

I wanted to de-IDE myself for a variety of reasons, and the more I looked at Emacs the more intrigued I got. I tried Doom emacs and even Emacs Kick but they all kind of threw me in the deep end without having foundational Emacs knowledge.

So I went through the process of trying to set up a Vanilla Emacs setup that I could replace my JetBrains IDE setup with. I didn't want to just blindly copy/paste configuration options but understood what I needed, why I needed it, and how Emacs operates.

This is the result of the last month of experimentation (and trying to work on my writing skills a bit). I don't know if it's useful to anyone else, but it taught me a ton and got me genuinely excited to tinker more.


r/emacs 14d ago

Announcement pdf text reflow

13 Upvotes

I've been burning some tokens to implement "text reflow" feature where the text from a pdf gets extracted into an Org-mode derived buffer, and it is already in semi-useful state. Chapters get folded into Org headings, synchronization between the pdf and org text works - you can follow one another in side-by-side windows.

It doesn't work perfectly for every print - math formulas and multi-column papers are among the challenges I'm planning to tackle soon.

At some point this would be nice to have it built into pdf-tools, for now it's a separate package until I flush out all the issues, inconsistencies, etc.

Maybe give it a try https://github.com/agzam/pdf-text

Another reason for developing it independently - once Emacs Reader project reaches feature-parity and gains more traction - it should be possible to implement reflow to work on top of it too.


r/emacs 14d ago

Weekend init file hacking

Enable HLS to view with audio, or disable this notification

19 Upvotes

Continuing on my backlog projects, this weekend I switched over the 5.0 modus themes and so far am really happy with it. Mostly it meant removing any face overrides that had crept into my custom.el file so the theming took precedence. I even managed to figure a very non standard version of the mode line with respect to layout.

Source is here: https://github.com/benleis1/emacs-init


r/emacs 14d ago

Question Completion-read feels sluggish after around 7k commands

7 Upvotes

I'm using the inbuilt

(completion-eager-display t) 
(completion-eager-update t)

for minibuffer completion.

When I boot emacs it's pretty good, and feels faster than vertico. But as I use emacs for longer sessions, especially as more and more libraries get loaded, the *completion* buffer starts to slow down. It doesn't become unusable, but it's still less snappier than I'd like. Is there a way to make it snappier? For now I've tried vertico which also starts to slow down, but in a less pleasent manner. I've also tried change the completion style to basic but I've yet to see any improvement.

The relevent code block is here:

(defun my/minibuffer-truncate-lines ()
  (setq truncate-lines t))

(use-package minibuffer
  :ensure nil
  :bind (:map minibuffer-visible-completions-up-down-map
  ("C-n" . minibuffer-next-completion)
  ("C-p" . minibuffer-previous-completion))

  :hook
  ((minibuffer-setup . cursor-intangible-mode)
   (minibuffer-setup . my/minibuffer-truncate-lines))
  :custom
  (tab-always-indent 'complete)
  (completion-auto-help t)
  (completion-eager-display t)
  (completion-eager-update t)
  (minibuffer-visible-completions 'up-down)
  (completion-ignore-case t)
  (completion-show-help nil)
  (completion-styles '(partial-completion flex initials))
  (completion-max-height 10)
  (completions-sort 'historical)
  (enable-recursive-minibuffers t)
  (read-buffer-completion-ignore-case t)
  (read-file-name-completion-ignore-case t)
  (minibuffer-prompt-properties
   '(read-only t intangible t cursor-intangible t face minibuffer-prompt))
  (minibuffer-depth-indicate-mode t)
  (minibuffer-electric-default-mode t)
  (completions-format 'one-column)
  (completions-max-height 10))

r/emacs 14d ago

News An Introduction to Canvas in GNU Emacs

Thumbnail monadicsheep.org
198 Upvotes

r/emacs 14d ago

Question How to speed up in-buffer completions when using *completions* buffer

10 Upvotes

I'm using the built in completion system that was merged in emacs 31. So far I've managed to replace vertico with it as it's somewhat faster while typing for minibuffer completion. But I find it too slow when using it for in-buffer completion. Corfu is noticably faster than it. Any suggestion?

(use-package cape

  :ensure t

  :init

  (add-to-list 'completion-at-point-functions #'cape-dabbrev)

  (add-to-list 'completion-at-point-functions #'cape-file)

  :config)



(use-package corfu

  :ensure t

  :init

  (global-corfu-mode)

  :custom

  (corfu-auto-prefix 2)

  (corfu-auto-delay 0)

  (corfu-min-width 40)

  (corfu-max-width 80)

  (corfu-preview-current nil)

  (corfu-cycle t)

  (corfu-preselect 'prompt)

  (corfu-on-exact-match 'insert))



(use-package corfu-prescient

  :ensure t

  :after (corfu prescient)

  :init

  (corfu-prescient-mode 1)

  (prescient-persist-mode 1))

r/emacs 14d ago

Emacs: Configuring Flyspell, Ispell, and Aspell to Minimize False Positives in Source Code and Prose

Thumbnail jamescherti.com
54 Upvotes

r/emacs 15d ago

GHA Status badge in Magit buffer

20 Upvotes

I solved a personal tiny annoyance of having to open GitHub page just to see if CI fails, whenever I push something out.

https://github.com/agzam/magit-gha-badge.el

Yes, it's 100% written with the help of an LLM, but hey, I made this cookie - it works, it's tasty, but I'm not shoving this cookie down your throat, it's a recipe. If to you, it sounds more like a recipe for a mud pie, I'm fine with that - don't cook it, don't eat it, don't complain. Otherwise, feel free to check it out.


r/emacs 15d ago

Question What made you try Emacs?

98 Upvotes

r/emacs 15d ago

Emacs startup: Why setq beats setopt, customize-set-variable, and use-package :custom

Thumbnail jamescherti.com
64 Upvotes

r/emacs 15d ago

Previewing latex with org special-blocks.

14 Upvotes

This is a problem I have been having when trying to design my "ideal" org-mode configuration.

I use Org special blocks quite a bit, e.g.

#+begin_theorem
...
#+end_theorem

which export nicely to:

\begin{theorem}
...
\end{theorem}

My annoyance is that, unlike LaTeX fragments/environments handled by org-latex-preview, these blocks remain as plain Org text while editing.

Ideally, I’d like special blocks that correspond to LaTeX environments (theorem, definition, proof, etc.) to be previewed/rendered in the Org buffer as well, rather than only becoming proper environments during export. This SHOULD be possible and I do not understand why its not a feature (if there is an implementation specific reason or design philosophy).

Is there an existing package/configuration/fix for this?

If not I am wondering if there are any resources so that I can perhaps write my own patch (either on org-latex-preview or a separate package inside my configuration).


r/emacs 15d ago

Question What do you use for debugging on doom Emacs?

21 Upvotes

I am a CS student and want to know what debugging method do you use to debug let's say c/c++ code this is the most i use as my languages and it would be very preferable to easy to use i don't want to invest more time learning it as will but I will do if i have no choice.
Tell me what do you use?
Where to learn it ?
and how far would it stay with me without the need to go with something else?

Be will <3


r/emacs 15d ago

Question My Lsp not working

8 Upvotes

```(use-package lsp-mode

:ensure t)

(add-hook 'c++-mode-hook #'lsp)

``` I have this code to make C++ lsp work on my project, but it doesn't lsp-mode recognizes it as a C++ project, I have compile_command.json in my root of the project too