r/emacs • u/macroKnoll37 • 5h ago
News Two good articles on GNU Hyperbole by Mike Hostetler
Mike is not new to r/emacs but he created a new account, u/MikeHoss42, a few days ago to post here about two blog articles he has written on the Hyperbole package. That post got stuck waiting for moderation approval since the new account has no karma. It has just been approved, so have a look at it here:
https://www.reddit.com/r/emacs/comments/1y185wb/two_ways_i_use_hyperbole/
r/emacs • u/mindstormer12 • 6h ago
Question How do you prefer workspaces, windows, and buffers for project management?
How do you prefer workspaces, windows, and buffers for project management? There's dozens of session/buffer/project/window management packages each either try to do a combination or some of these features or do one thing well (and may work better alongside another package).
Looking for a setup that:
- Allows persistent sessions to resume where you last left off in a project. Saving/restoring window layouts means you don't spend any time setting them back up and they naturally describe how the project was worked on (e.g. some projects may value the logs more so that window takes up the whole space while others may focus on coding so those windows takes up more space, etc. That visible part of the buffer on a function was where you last left off, etc.). This context is important when you're working on different projects at a time when you return to a project weeks later and need to "get back into the zone".
- Supports workspaces ("tabs")--a project may have more than one workspace similar to a Tmux session for a project where each window is a workspace.
- As a tiling window manager user, still not sure if I prefer multiple Emacs windows each an Emacs workspace or 1 Emacs window (at least per project). The former lets the window manager manage the windows with more natural window management like splitting/resizing/re-ordering) but the latter means you don't need to dedicate as much tiling window workspaces (since those workspaces are confined to the Emacs window instead). Restoring windows in tiling window manaer
- Projects seem to imply each have its own buffers (that should also be persistent to preserve the context of the project) but some buffers should be accessible by all projects (I like my org files always accessible).
What have you guys tried and settled on? The emphasis is to reduce as much friction as possible jumping straight to different projects you're working on and not have to set up the scaffolding again every time.
r/emacs • u/sonicLodge91 • 5h ago
Lars Ingebrigtsen: A new, faster Emacs package to do image triage
lars.ingebrigtsen.nor/emacs • u/tortoise10h • 17h ago
lzdockel: A lazydocker-inspired Docker UI built natively in Emacs
Hey everyone,
I usually use lazydocker in the terminal for checking for Docker stuff, but I'm kinda lazy to switch between emacs and terminal to check for that (and usinglazydocker on ghostel is not very native 😄)
So I built lzdockel https://github.com/tortoise10h/lzdockel which is Emacs-native Docker interface inspired by lazydocker
If you're interested, give it a try, and please let me know if you have any feedback

r/emacs • u/NewHost1066 • 12h ago
Failed to verify signature archive-contents Error while using M-X pa-co
Hey guys,
So i was trying to install markdown-mode package and trying to refresh the package contents through M-X pa-co and everytime i do this it gives me error and i am not be able to proceed further , How to resolve this issue , I am on windows 10 i installed this emacs 31.1 version using installer.exe
Edit: It got fixed ! cuz my mysys2 gpg was creating this malformed directory while refreshing contents. so removing it solved the issue! Thanks
r/emacs • u/lord_of_the_keyboard • 8h ago
Question How to customize RA's custom semantic tokens, using eglot
I am using eglot and would like to customize the font-face of some semantic tokens. Issue is, they are rust-analyzer's custom semantic tokens (lifetime, selfKeyword, builtinType, derive, macroBang, formatSpecifier and unsafe) and I don't see any direct way of achieving this. Any help?
r/emacs • u/Subject-Mobile-6250 • 1d ago
Meow from evil
Hello! I am a new vanilla evil emacs user, and I have heard a lot about meow, and I came over to try it, but ran into a few issues:
- A lot of my keybinds on evil are <leader>-something, whereas I know meow encourages using god-mode to bind most of your keys to control or option. How do most ppl from evil to meow convert their leader keybinds?
- I cannot tell whether it is a quirk of meow or just years of muscle memory, but I feel that my editing style has become molded to vim, and if it was not for evil mode, I would not have even considered emacs. Even the caps lock key has turned into a escape on single and control in unison with other keys, and even instead of pressing h I press i <esc>. I could list many other ways my editing style is idiosyncratic, but I will spare you the boredom and get to the point, that as my brain has adapted to a lot of quirks in vim for example how ce and ci( finds the nearest quote, even the fact that a does not append after the visual cursor bugs me, and these little inconsistencies bother me.
- A big part of my keybindings is the lsp hover on K, and g-(d, rd, rr, rt, ri, rn, c, u, U, etc), and having an lsp action under C-c l seems very out of place for me...
I was wondering, especially for ppl who migrated from evil to meow, is the emacs-native worth it, and how do you handle these issues?
r/emacs • u/NewHost1066 • 1d ago
Thank you emacs users and devs team!
So few days ago I shared a emacs post on reddit on how I started using emacs and why i cant use any other editor anymore, and it got almost 24k views and my blog which dont had any readers till that post , once the reddit post got released my blog got around 1.7k views from all over the world in 24 hrs.
The blog post got featured in emacs planetlife and sacha chua's november 16 round up post!
I was literally out of the sky that day! was so happy that people read my blog. Even though I write them for fun.
Emacs is an amazing community and I am glad to be the part of it!
Edit: If you dont know which blog here : https://kirisoft.pages.dev/#/blog/oNHZVj2yBY4JJBibEsD9
Thanks & Regards,
Kiri
r/emacs • u/CountryEmotional4228 • 1d ago
Vim/Neovim's hype dying while Emacs still lives on?
I noticed that with AI, the flames around Neovim is slowly fading away.
In 2025 the neovim community really had the spotlight everywhere I look. But now...
Emacs on the other hand is steadily moving forward at the same pace as before. Similar to the IDE and VSCode mania.
Vim is a realy good editor. It especially thrives at code editing. When AI stripped away the code editing part, what's left is almost nothing.
You can still edit prompts with it but it has to be streamlined somehow to other tools in order to be usable.
Emacs is not a code editor and that's why the AI flares didn't affect it that much. You still have your malleable tool that can adapt to everything.
What are your thoughts on this?
r/emacs • u/Martinsos • 1d ago
Question Question to package authors: how do you deal with long names and scoping?
TLDR: I am struggling to best organize a bigger package specifically in elisp, due to everything being global/unscoped in elisp. Instead of e.g. Org8/AgentSession/Backend/ClaudeCodeVterm.hs with sessionTranscriptTailMesssagesCache function in it, I end up with org8-agent-session-backend-claude-code-vterm.el with defun org8-agent-session-backend-claude-code-vterm-session-transcript-tail-messages-cache. I have 20+y SWE experience and am not vibing it, I just love organizing code well.
Hey all, I am writing a somewhat bigger emacs package for some time now and I am starting to really struggle with long names of my functions/variables/files, and while I am quite sure at this point there is no great solution, I am hoping somebody might point me to a solution that works well enough in practice.
Btw my main languages are Haskell and TypeScript, so I might below accidentally use some terminology from there.
Ok so since in elisp everything is global, I prefix all symbols with <pkgname>-, ok that makes sense. In my personal config I was always using my/.
However, I have quite a few of files/modules in my package at this point, and I wanted to prefix functions in a way that makes it clear which module they come from. So i started doing <pkgname>-<module-name>- as prefix for symbols.
However, some modules are conceptually submodules of other modules, so that <module-name> in some instances is getting really big, because it is really <parent-module-name>-<child-module-name>, and that might even go to the third level.
And that sucks because of length, but I would say even length is not the biggest problem, the biggest problem is that once this whole big prefix is done, comes the name of the acual symbol, wihch is also likely multiple words, and there is no clear way to differentiate where the prefix starts and symbol beggins.
One of more extreme examples from my codebase, to show how ridiculous this gets:
org8-agent-session-backend-claude-code-vterm-session-transcript-tail-messages-cache
where org8-agent-session-backend-claude-code-vterm is prefix and -session-transcript-tail-messages-cache is what really carries the info on what symbol is in this context.
If this was some other language, I would have dir structure like Org8/AgentSession/Backend/ClaudeCodeVterm.hs and in it function sessionTranscriptTailMesssagesCache.
I guess I am addressing multiple problems here:
- Names are too long.
- There is no clear delineatinon between parts of the name.
I considered using some kind of abbreviations for names, like org8-as-b-ccvterm, but that is so hard to guess what it means.
I considered organizing it all somehow into directories but from what I understood so far that is not really how it is done for packages because it complicates distributing them, instead all is kept on top level.
I considered dropping part of prefix, just doing org8-claude-code-vterm, but I really don't like that when I konw where it belongs and this obscures, when looking at it in e.g. dired, where it fits into the whole codebase.
I am currently playing with shorthands, using this/ and this// to shorten prefix for public and private symbols, but that works only inside that file, make it much harder to search for a symbol accross files, and also doesn't solve long names for symbols I imported. Also, public symbols still look ridiculously long to users of the package.
Above is mostly about shortening the names. As for delineating prefix from actual name, I considered using /, like org8/agent-session/backend/claude-code-vterm/session-transcript-tail-messages-cache, but that is not a convention and I am worried it will look real weird for users when using the package public functoins, nobody does that from what I saw.
Thanks for any advice, I feel like while in theory these are just shortcomings of elisp, there must be some practically blessed way that works well for people so would love to hear what works, and that might also help me accept it.
EDIT: Seems that some commenters wonder if I am just overengineering or vibing this and it's a ton of slop code, so just want to clarify upfront that I am not, this is a bigger package at this point, been working on it for months, and it is somewhat complex, multiple subsystems, backends, implementations of those backends. I stick to my own versoin of Clean Code so I keep functoins small, I keep modules organized by responsibility, I use descriptive names, and so on. I have been programming like this for 20 or so years and enjoyed it so far, just have never done it in a language like elisp that has no scoping. And I am not complainng about elisp, I get that it is older and has its quirks, but am looking for practical advice how to get the most out of it.
Machine Learning & AI Superchat 2.0: an Emacs agent that runs in your Emacs, keeps a record of its work, and learns skills from what worked
Superchat 2.0 is out. It is a rewrite of Superchat: an AI agent whose loop runs inside your Emacs process.
What makes it different from calling Claude Code/Codex through emacsclient, or from gptel:
- It works in your Emacs. The model runs Lisp in your session (
eval_elisp), reads and edits buffers, and looks up any installed package with adescribetool built on Emacs's own documentation, instead of guessing function names. Ask it to pull today's Telega messages on a topic, list the Org headings due this week, or fix the failing test in the buffer you have open. - It keeps a record. Every conversation, tool call and result goes into one append-only SQLite file (the Tape). It can search earlier work, keep notes, and each answer names the tool calls it relied on.
- It learns from what worked.
/learn calendar-turns the code that answers actually cited into a skill with typed tools; the next time it's one tool call instead of a search. Nothing is saved without yourC-c C-c. - It keeps working. Timers, an inbox and background runs (while Emacs is open); a run that needs permission waits for you instead of blocking Emacs.
Permissions: read-only, ask (default: asks before every edit, write and command) or auto.
On Aider's polyglot benchmark (225 exercises, same model, deepseek-flash) it scored 85.8% against Aider's 80.0%: one run, details in the README.
Limits, honestly:
- Models: OpenAI-compatible APIs (DeepSeek, Groq, local Ollama/LM Studio, …) and Anthropic's Messages API. The Anthropic part is tested against a stubbed server only.
- No MCP and no sub-agents (1.x had both).
- Emacs 30.1+ with SQLite.
Coming from 1.x: it is a rewrite (~6,500 lines plus a built-in model client, down from ~125k), with new settings; docs/migrating.md maps the old options and commands.
Repo: https://github.com/yibie/superchat
Release notes: https://github.com/yibie/superchat/releases/tag/v2.0.0
Feedback and bug reports welcome.
r/emacs • u/Signal_Pattern_2063 • 2d ago
Configuring speedbar to run in window-mode
github.comI decided to write up how to get speed bar working in windows-mode with v31 given some parts of the process are non-trivial. This is the built in tree oriented file/buffer/specialized mode manager that ships with Emacs. Long term I think it has promise to be used more widely.
Scaling up Org Agenda in 2026. How large are your agenda files?
Good day all,
- I have been an org-agenda user since 2020.
- A 1.9 MB org agenda file, ~4700 headings.
- Heavy use of org custom agenda.
How do more experienced org-agenda users deal with the following:
- A slow org-agenda with a substantial agenda.
org-agenda-listworks one day at a time. - Detection of double-booking. I am aware of org-conflict and I have my own fork with patches. E.g. a post-capture hook is not enough, as one reschedules existing items often enough.
- Detection of semantically similar tasks as an Org after-capture hook. E.g. it has happened that upon a reminder email for our turkey bowl game, I found myself adding the same gameday/practice reminders twice. I am aware of org-semantic, but have a custom, lighter sqlite-vec solution that adds a
:SIMILAR:property drawer like:RESOURCE:.
I am curious to hear your workflow on all 3 points.
I have pointed my favourite stochastic parrot at point 1 specifically, and the implementation for a pre-filter index is here, but I wish to discuss higher-level details. I believe it's no outlier to need to see 2 months ahead; I have noticed that if I increase the look-ahead on the agenda from something from 60 to 120 days I get the following performance increases after a pre-filter index:
| View | Before | After |
|---|---|---|
d (60-day Calendar) | 1.49 s | 0.50 s |
r (Review, 120 days) | 4.73 s | 2.18 s |
| 14-day view from a week ago, log mode on | 0.38 s | 0.18 s |
| Conflict audit, 30 days | 0.63 s | 0.20 s |
| Free-slot planner, 61 days | 1.17 s | 0.41 s |
| Calendar, per day | ~22 ms | ~7 ms |
The improvements in seconds can definitely be felt. When I call org-agenda, I expect a near-instantaneous response. Any longer of a delay, and it will impact my train of thought. I am opening a public discussion to share ideas before any possible upstream proposal, as I believe my org-agenda is not an uncommon size1 and the solution currently uses org-mode internals. I hope the whole community can benefit from discussion on the three points above.
I am testing the waters here to see if there are other extensive users with "large" agendas. The last relevant Google result is almost half a decade old. I can't be the only one who has run into these pain points? I am on org-mode version 10.0-pre. I appreciate your time and your thoughts!
1 fn
Why is your org agenda so large?
- Unity is one of the 5 transcendentals; org agenda has a broad scope as my only agenda. There are currently six broad areas of health and fitness, education, work, relationships (family and kids being a subtree), finance & admin (maintenance-type tasks included here), and miscellaneous.
- "The whole usefulness of education consists only in the memory of it" — Hugh of St. Victor. I create flashcards with anki-connect (for the mobile aspect), inside my org agenda file. These flashcards make up >60% of the agenda file.
- Why not separate the flashcards out? Removing subtrees with no keyword and no active stamp (i.e. all flashcards with some other headings) removed 88% of the file but shaved 12% of the time. It's beneficial to my mental model to keep resources separated from tasks, and other people's information separated from my own actions. The flashcards often need to be edited and that falls under "doing". It allows archival of the entire course with its coursework under one parent tree with org mode's chronological archiving. It can then be linked to the relevant resource heading in my org files. A balance between the qualities of 'genus' and 'time'.
Have you tried org-sticky-agenda?
- In practice, org-sticky-agenda to t means I find myself having to manually remember to refresh (doubly so if one uses clocking). Having a background refresh just isn't clean with elisp. If only elisp had concurrency like common lisp or guile.
Does archiving help?
- It certainly does. Every week I archive done PROJ's and TODO's with org-mode's chronological subtree.
Have you considered org-ql?
- Big fan of alphapapa's work; some of his other packages are mainstays in my config. Perhaps 3. falls under org-ql's scope. As of now, org-ql uses the same trick my config does by preferring todo blocks over tags "TODO". It doesn't touch org-agenda-list and what I find lacking is the abscence of per-day sections and org-ql's parsing of repeaters in timestamps.
r/emacs
•
u/thndrbrrr
•
3d ago
Announcement [ANN] Earwig: modern dictation and voice commands for Emacs
Earwig is a dictation and voice commands package for Emacs, inspired by Sacha Chua's speech recognition setup. It supports push-to-talk, streaming transcription, and a grammar of editing commands (e.g. "select last two words", "replace Monday with Tuesday in this paragraph", "format bold from results until breakthrough"). Speech is transcribed locally by Orukeet.
r/emacs • u/manu_moreno • 3d ago
Thank you Emacs team/devs
I've used Emacs on and off for several years but never gave it a real opportunity until now. Emacs has been part of my daily workflow for about 6 months. It's been nothing but a joy. I find this ecosystem, above all, to be stable and predictable. It always works. Thank you Emacs team!
r/emacs • u/Low_Money_633 • 3d ago
Upgrading to Emacs 31 — How stable are heavily customized setups?
I've been building a personal productivity system using Doom Emacs and Org-mode, including a custom Agenda Dashboard, folding overlays, project/resource registries, and automated workflows.
I've tried to rely on built-in functionality rather than adding lots of packages.
I'm really interested in upgrading to Emacs 31.1 because of its major improvements, but I'm concerned about long-term compatibility. I've spent considerable time building my setup, particularly the Dashboard and Agenda workflows, and I'd hate to have major updates break everything.
For those who've maintained complex setups for years:
- How often do major updates actually break things?
- Are custom hooks, overlays, and advice generally stable between versions?
- What practices help keep configurations reliable long-term?
- Is upgrading between major Emacs versions typically straightforward with Doom?
I want to take advantage of Emacs improvements without constantly having to repair my configuration.
Is this a legitimate concern, or am I overthinking the risks?
r/emacs • u/portmint470 • 3d ago
Mickey Petersen: Announcing DreamCoder
masteringemacs.orgr/emacs • u/xenodium • 3d ago
agent-shell 0.98 updates
Latest agent-shell updates as of 0.98 https://xenodium.com/agent-shell-0-98-updates
r/emacs • u/MikeHoss42 • 3d ago
Two ways I use Hyperbole
Hyperbole is hard to explain as an abstract project. I've had better luck figuring things out about it by just playing around with it. With some urging from u/rswgnu, I'm putting up a post I just wrote as well as a longer one a couple of years ago. With the new videos now making the rounds, these two write-ups from my own workflow should help people see how to use Hyperbole in their day-to-day work.
| Post | What it covers |
|---|---|
| Easy Buttons in Hyperbole | A one-line <function> button in .envrc that refreshes my AWS credentials. Seven fiddly steps became one M-RET. |
| The Emacs Hyperbole | From a couple of years ago: implicit and explicit buttons, the Smart Key in Org/Magit/Python, window and frame control, and my Transient/Hydra setup around it. |
Neither of these are killer features but rather small "that used to take a minute" wins.
I'm excited about the new-ish additions Hyperbole devs have put into integrate with Denote. I will make a post about that after I play with it for a little while longer
r/emacs • u/Low_Money_633 • 2d ago
Ghostel scrolling issue in Doom Emacs — prompt disappears below window
I'm having an issue with Ghostel in Doom Emacs where long commands wrap below the bottom of the window, hiding the prompt and cursor.
What I've tested:
Ctrl+ltemporarily fixes it.- Happens with both Fish and Bash.
stty sizereports matching terminal dimensions.- Splitting the Emacs window seems to fix it.
- Returning to a single window brings the issue back.
- Hiding the mode line helps, but doesn't completely fix it.
I've also noticed graphical glitches with TUIs like btop, which render correctly in WezTerm.
Has anyone experienced this with Ghostel? Could it be related to Emacs window sizing, scrolling, or redisplay?
Question Why does C-x t 2 (tab-new) leave the previous tab's buffer in the new tab's tab-line?
I run tab-bar-mode and global-tab-line-mode together on Emacs 32 (master build). My setup: tab-bar-new-tab-choice is "*scratch*", default tab-line-tabs-function (tab-line-tabs-fixed-window-buffers). No third-party tab packages, no advice on tab-new.
Repro: current window shows buffer X, press C-x t 2.
- The new tab has exactly one window showing
*scratch*— correct. - But the tab-line above it has two entries: X and
*scratch*. X is not in this tab anywhere; clicking it just switches this window to X.
Why: tab-bar-new-tab-to (tab-bar.el) deliberately rebuilds the window to shed old window parameters — delete-other-windows, then (split-window nil window-safe-min-width t), then (delete-window). The comment says the new window exists "to get rid of old window parameters (e.g. prev/next buffers) of old window". But delete-window does the opposite for one of them: it records the deleted window's buffer in the surviving window's prev-buffers (that's what switch-to-prev-buffer relies on). And tab-line renders exactly prev-buffers + current buffer + next-buffers. So the new tab inherits one buffer's worth of history.
Minimal repro without tabs at all, in a fresh frame:
(set-window-buffer (selected-window) A)
(let ((w2 (split-window nil nil t)))
(set-window-buffer w2 B)
(delete-window (selected-window))) ; delete the window showing A
;; => the surviving window (showing B) has
;; (window-prev-buffers) = ((A ...))So: is this intended, or just an accident of reusing split-window + delete-window?
Specifically I'd like to know:
- Since the comment already says the point is to get rid of prev/next buffers, would a
(set-window-prev-buffers nil nil)after thedelete-windowbe acceptable upstream? Or is that history intentionally kept, soC-x C-<left>in a fresh tab takes you back to what you were reading? tab-bar-new-tab-groupalso defaults tot, so the new tab lands in the same group as the old one (very visible withtab-bar-format-tabs-groups). Two separate "the new tab looks like a copy" surprises — is that the design people expect?
My workaround in the meantime (feels like fighting the framework a bit):
(defun my/tab-forget-inherited-buffers (_tab)
(unless (eq tab-bar-new-tab-choice 'clone)
(walk-windows
(lambda (w)
(set-window-prev-buffers w nil)
(set-window-next-buffers w nil)
(set-window-parameter w 'tab-line-buffers nil)
(set-window-parameter w 'tab-line-cache nil))
'no-minibuffer (selected-frame))))
(add-hook 'tab-bar-tab-post-open-functions #'my/tab-forget-inherited-buffers)And the second question: how do you all actually manage this layer? Are you running tab-bar and tab-line together, or only one? What do you set tab-line-tabs-function to (tab-line-tabs-buffer-groups? tab-line-tabs-mode-buffers?), what's your tab-bar-new-tab-choice, your tab-bar-format, and do you still reach for tabspaces / bufler / activities / persp-mode on top? I'd like to know what a "settled" configuration looks like before I keep bolting things onto mine.
r/emacs • u/sonicLodge91 • 4d ago