r/emacs • u/spinless_spinor • 3h ago
Running Ladybird browser within Emacs inside ghostel :)
Was testing Ladybird alpha and got to know that it is possible to run it inside a terminal using
ladybird --headless=terminal <url>
Very cool!
r/emacs • u/spinless_spinor • 3h ago
Was testing Ladybird alpha and got to know that it is possible to run it inside a terminal using
ladybird --headless=terminal <url>
Very cool!
r/emacs • u/Public-Individual-64 • 5h ago
I always wanted to try out emacs, but i was stuck with my dad's windows laptop cuz mine broke(artix btw) on which i used nvim+tmux in foo term.
i installed the installer from https://www.gnu.org/software/emacs/ which seems to be the official site. but windows defender flagged it as severe threat and after allowing it from defender this happens.
I tried installing the portable version from scoop and it worked fine(other than a warning of missing 'lexical-binding' cookie in my init.el and custom-theme.el file)
should i just ignore it, or is this some malware. i think i downloaded the official installer but if that's not the case please tell me where to get the official windows installer.
r/emacs • u/Sensitive_Weight2478 • 7h ago
I built a small Emacs tool that lets you discover commands using natural language instead of guessing their names.
Just type something like "How do I split a window vertically?" and it returns relevant commands, their actual keybindings, and documentation. You can then view the help, execute the command, or translate its documentation.
It uses a lightweight local embedding model via Ollama, supports multilingual queries, and runs entirely locally. No cloud API or generative LLM required for searching.
Feedback and suggestions are welcome!
r/emacs • u/smyrgeorge • 8h ago
A while ago I posted my Doom setup built around coding agents. You can now use the "agent shows its work" parts without taking the whole config.
Agent UI has moved into its own repo:
https://github.com/smyrgeorge/agent-ui
What it is: a canvas at the bottom of an agent-shell session's pane. The agent draws on it instead of writing everything into the chat: progress bars, checklists, tables, charts, diffs, Mermaid diagrams, logs. Each one updates in place as the work goes on, so it doesn't scroll away. The agent can ask you things there too, like picking an option, confirming, filling in a form, approving a plan or accepting a diff, and your answer goes back into its prompt. It drives all of this with one shell command (JSON in and out) or through MCP tools. There are about 30 component types, and it works in a terminal frame too.
Dashboards: I use these a lot. You can treat them like artifacts. Ask the agent "make me a dashboard with our CI runs and the error rate" and it writes .agent-ui/dashboards/NAME.el into the repo, checks it and opens it. From then on M-x agent-ui-open-dashboard opens it in its own window, and it fetches fresh data while it's shown. The canvas is for what the agent is doing right now. A dashboard is for things you come back to, and since it's committed with the project, your team gets it too. Dashboard code comes from a repo, so Emacs asks before running it the first time. The repo has two demos (cpu, memory) you can open right away.
It isn't on MELPA yet. You can install it with package-vc, straight or Doom's package! (the README has recipes), and M-x agent-ui-doctor tells you what's missing.
Two more packages built on it also have their own repos now:
All three are young, so expect rough edges. Issues and feedback are very welcome.
r/emacs • u/CountryEmotional4228 • 9h ago
Hello r/emacs,
I've just released toko.el, the Emacs port of Toko, my desktop prompt board for coding agents.
Toko.el is a board inside Emacs where you write prompts as cards and send them any CLI agent (Claude Code, pi, OpenCode, etc...). The answers come back as cards linked to your prompt, and each send continues the session of the agent.
It works with Org links, the Org agenda and `project.el`, and it runs on the canvas image type of Emacs 32 (development build, the install script builds it).
If you're interested, the full story is here: https://donovan-ratefison.mg/2026/12/05/Whats-behind-the-curtain-of-Toko/
r/emacs • u/klasp100 • 16h ago
Sometimes, when I write a new Scheme procedure, Emacs indents the body of the procedure incorrectly (indenting with TAB removes all indentation and sticks the text next to the line number column). Then if I just stop typing or clicking and wait for like 5 seconds, then press TAB again, it indents the body of the procedure correctly.
No, this is not a case of malformed code elsewhere in the buffer screwing with the indentation algorithm (I have experience with that type of mis-indentation, and I assure the reader that this problem is different). Is this a known bug? Is there a workaround or a configuration setting to fix it somehow?
This is the best improvement to Emacs' startup I've had. It wasn't made by me, after describing the problem of graphical flicker at startup to AI, it came up with something I've never seen or considered before and it works fantastically so I thought I'd share. At least on windows there is always distracting graphical flicker despite starting quickly which is solved just by setting the window frame alpha to 0 until the window setup is complete:
;; early-init.el
;; Paint the finished first frame while transparent, then reveal it. - sol
(when (and initial-window-system (not noninteractive) (not (daemonp))
(not init-file-debug)
(not (assq 'visibility initial-frame-alist)))
(push '(alpha . 0) initial-frame-alist)
(push '(visibility . nil) initial-frame-alist)
(add-hook 'window-setup-hook
(lambda ()
(setq initial-frame-alist
(assq-delete-all 'visibility
(assq-delete-all 'alpha initial-frame-alist)))
(let ((frame (selected-frame)))
(unwind-protect
(progn
(make-frame-visible frame)
(redraw-frame frame)
(redisplay t))
(set-frame-parameter frame 'alpha 100))))
t))
r/emacs • u/Kinneyzhang • 23h ago
Hi r/emacs,
I'd like to share egfx-browser 0.6.0, a native cross-platform GUI web browser that lives directly inside stock GNU Emacs 29.1+ with zero CEF bundling, zero Emacs binary patching, and zero offscreen pixel copying.
Built on egfx's GPU-less native container host, it mounts each operating system's own multi-process browser engine straight into an Emacs window:
WKWebView (system WebKit.framework)WebKitGTK (runtime dlopen of libwebkit2gtk-4.1.so.0, zero -dev headers, X11 and native Wayland)WebView2 (pure C COM)C-x b, C-x 3 splits, and q to close, while keeping your mode-line intact and limiting chrome to a single vector header-line. Switch live between sidebar, popover, compact, and none tab UIs, hibernate tabs (z), and restore closed tabs (u).completing-read Omnibar (o / t) backed by built-in Emacs 29.1+ SQLite (history, bookmarks, multi-engine search prefixes); non-blocking overlap-free Link Hints (f / F / y f); zero-DOM-pollution counted find (/ / N / P); automatic modal focus (INPUT on click, C-z passthrough, ESC straight back to Emacs); centered floating child-frame ? cheatsheet that never reflows the page.Deep Emacs Ecosystem Integration:
e edits any live web <textarea> in an Emacs split and commits back with C-c C-c)y o / y m) and native org-store-link (y l)bookmark.el (C-x r m / C-x r b) and regex browse-url routingC-u R), html-mode source view (G v), *Browser Console* JS REPL (G c), PDF/PNG export, and native DevTools (<f12>)R), desktop browser cookie/bookmark import (Chrome, Arc, Edge, Brave, Firefox, etc.), pure in-memory private tabs, named multi-profile isolation, native adblock, and UserScripts/UserStyles.git clone https://github.com/emacs-gfx/emacs-gfx
cd emacs-gfx
make -C packages/egfx native-build
make -C apps/egfx-browser nativeThen add to your config:
(add-to-list 'load-path "/path/to/emacs-gfx/packages/egfx")
(add-to-list 'load-path "/path/to/emacs-gfx/apps/egfx-browser")
(require 'egfx-browser)
(egfx-browser-open "https://emacs-gfx.github.io/egfx-browser/")Run M-x egfx-browser-doctor to check the native engine, SQLite store, and active profile. Feedback and PRs welcome!
r/emacs • u/deployfan64 • 1d ago
I spend my days jumping between Python scripts and shell logs, and I was still using isearch plus a lot of C-s C-s C-s to scan through long config dumps. Last week I swapped in consult-line bound to C-c s, and being able to type a partial match, see all candidates with previews, and refine as I type completely changed how I dig through files. It also plays nicely with my workflow of jumping between work buffers since the preview shows me exactly where the match lands before I commit. Small lesson: if you're stuck on defaults because they've "always worked," spend one afternoon trying the consult suite—you probably have muscle memory you didn't realize was costing you time.
r/emacs • u/Low_Money_633 • 1d ago
I do a lot of server work and use the terminal a lot. lately I figured why not try to just use emacs in the terminal and I cant put my finger on it, but I think I like it better than the GUI. I know seems wrong but its true.
I maintain opencode.el, an Emacs interface to OpenCode, a coding harness. Sharing now as I've been working on it and using it for a year now, and finally feel it's reasonably polished in terms of features present and bugs fixed.
Why use or develop this over all the other Emacs alternatives?
When I started opencode.el the alternatives in emacs were missing a lot of features I wanted, and I thought it'd be more practical to piggy-back on the massive non-emacs community of developers and just maintain an emacs integration with the most popular open source coding harness. Other emacs packages have improved a lot since then, but so has opencode and opencode.el with it. I included a comparison with agent-shell in the README.
Why use OpenCode from Emacs instead of from it's TUI?
I can in use it a lot faster, as I can quickly add buffers, regions, and files to context, complete symbols from my code in chat buffers, review changes with ediff, and more. And as many have experienced, once you integrate different things into emacs and have a consistent UI and language for dealing with different systems, interesting synergies happen. I have a sort of live coding environment for python in emacs (much less polished, only try now if you're ready to run into bugs), where I've been adding integrations with opencode.el, like hot reloading changes after LLM edits, asking questions about live objects, auto generating inspector views for objects, and automatically debugging exceptions. Longer term for my work I am integrating Org mode, opencode.el, swanky python, and another external software together, and what will be possible with them all integrated through emacs, I think will be quite powerful.
r/emacs • u/RussKazik • 2d ago
In Poland, December 6 is St. Nicholas Day. Kids put their shoes by the door and wake up to something small and sweet. I won't be at my keyboard this Sunday, so I'm leaving this one a few days early.
This year's gift is Bruma, a new winter family in au-themes. It comes as two themes of the same snowy scene.
Screenshots as always:
https://szymon-wilczek.me/writings/au-themes-screenshots/#au-bruma-day
https://szymon-wilczek.me/writings/au-themes-screenshots/#au-bruma-night
We've got accepted into NonGNU ELPA! You can try out whole collection with:
M-x package-install RET au-themes RET :)
Bruma is already on the GitHub release, waiting for GNU mirrors to synchronize.
I've also started Discussions in the repo: https://github.com/szymonwilczek/au-themes/discussions
I want to have a better contact with you guys, so I can respond to feedback quicker and track the ideas. Go check it out!
And... there's one more Bruma theme still under the tree. It's waiting for Christmas Eve. Stay tuned.
Thanks for all the kind feedback on au-themes so far. Wishing you a warm, slow December with good tea and short compile times. If something looks off in your setup, I'll catch up after the weekend.
Just released Superchat 2.1.0 — an Emacs-native agent that keeps all past chats and tool calls in one SQLite file.
Instead of building a fancier memory system, I read The Bitter Lesson for Agent Memory and audited 20 days of my own logs (~7,200 entries, 47 chats). Turns out four simple bugs were doing most of the damage:
#ID date title), and the agent opens one only when relevant."diary journal" looked for that exact phrase, and 2-character Chinese words failed inside longer queries. Now searches match individual words and rank entries matching more of them first.I re-ran 10 real questions from my own past chats on isolated copies of the database (deepseek-flash):
| 10 real questions (total) | 2.0.0 | 2.1.0 |
|---|---|---|
| Answered correctly | 10 / 10 | 10 / 10 |
| Model rounds | 65 | 25 (-62%) |
| Memory lookups | 73 (24 empty) | 18 (1 empty) |
| Total time | 151.2 s | 52.7 s (2.9× faster) |
On one question ("how much disk space did my first cleanup free?"), 2.0.0 wandered for 20 rounds / 46s; 2.1.0 saw the title right away and answered in 2 rounds / 3.8s.
One caveat: on a progress-tracking question, 2.1.0 stopped right after reading a slightly older progress note (8.7s), whereas 2.0.0 stumbled onto a later message after 28 searches (49s). Good reminder to retire finished progress notes.
Also new since 2.0.0: Org-file workflows (with :fix: retry loops and resume), ghost-text completion (superchat-complete-mode), and org-indent-mode no longer shifting the chat prompt right. Needs Emacs 30.1+ and curl, ~7,400 lines of Elisp, 580 tests.
Feedback welcome!
r/emacs • u/fixermark • 2d ago

As an exercise in vibe-coding, I took tetris.el as a starting point and put together a little Dr. Mario clone with some help from Claude. This is formatted as a literate-programming file, so the README.org is also the source code (you just need that and the .xbm sprites to play it).
The game: https://github.com/fixermark/dr-macsio/tree/main
Some thoughts on using AI to make it: https://blog.fixermark.com/posts/2026/dr-macsio-and-claude/
Share and enjoy. ;)
r/emacs • u/macroKnoll37 • 2d ago
r/emacs • u/artist-mode • 2d ago
I guess many have already seen the news. Long story short, we’re being urged by many parties – including NSA, OpenAI, and Anthropic – to move to post-quantum cryptography as soon as possible. Based on the public comments from e.g. the Cloudflare CEO, it sounds like most likely AI has found some fundamental vulnerability that affects both RSA and Elliptic Curve cryptography, which would affect most of the SSH and GPG keys out there (at least on my up-to-date Fedora system, elliptic curve crypto is default for both of these programs).
I’m posting this here partly in case someone didn’t see this yet, and partly to see what everyone is doing about it. For SSH, the solution seems simple:
ssh-keygen -t mldsa44-ed25519
But I’m not sure what to do about GPG. I use it a lot since it’s well-integrated in Emacs, for example ~/.authinfo.gpg as a password store, various .org.gpg note files for sensitive content synced via cloud vendors, and so on. I see that GPG 2.5 added some support for PQC algorithms, but from what I could gather, it’s not as complete yet as in e.g. Sequoia PGP (which I hadn’t heard of before now, but appears to be made by former GPG developers).
Do you consider it sufficient to just update GPG to 2.5 and generate new PQC keys, or are people migrating to other crypto tools? If the latter, what are people using, and how well-integrated is it with Emacs? I think my most important usecase is to encrypt files that only I myself will use, so I suppose symmetric encryption already supported by GPG might also be an option, since AFAIK only asymmetric crypto appears to be affected.
r/emacs • u/ForeignCherry2011 • 2d ago
A couple of months ago I asked here whether anyone would like a Java language server that reads what the Maven build captured link. Thanks for the feedback! New version 0.4.0 is out.
Lathe takes the compiler settings from your build and uses javac, so the editor sees your code the way the build does. It now supports Maven, Gradle, the OpenJDK build and Lombok, and runs on JDK 17+.
It works with the built-in Eglot, so you don't need a Lathe package. Register Lathe in your build, run the first build once, and point Eglot at the launcher it writes:
(with-eval-after-load 'eglot(add-to-list 'eglot-server-programs'(java-mode ".lathe/lathe-launcher.sh")))
I'm not an Emacs user, so I'd like to know whether there is interest in an alternative to JDT LS (standard Eglot java)? I wrote up how they compare: https://github.com/ag-libs/lathe/blob/main/docs/guide/jdtls-comparison.md
Emacs guide with a demo: https://github.com/ag-libs/lathe/blob/main/docs/guide/editors/emacs.md
Thanks for reading!
r/emacs • u/sadlypriceyallies • 3d ago
i kept complaining about modern electron apps eating ram and taking forever to boot, and then realized my own emacs was taking over two full seconds to open a plain text file lol. humbled real quick.
ran esup on my config and turns out i was eagerly loading org-roam, magit, and a bunch of pdf-tools hooks right at launch even when i just wanted to edit one quick config line.
ended up deferring almost everything behind `:defer t` or `:commands` in use-package and moved some garbage collection thresholds around so gc doesn't fire ten times during boot. down to ~0.3s now on cold start and `emacsclient` handles the rest anyway.
funny how ppl always warn you about yak shaving in here, because i still haven't actually edited the file i opened emacs for in the first place.
r/emacs • u/jamesfarted09 • 3d ago
Spent most of the day configuring NetBSD. I'm using the same config as my desktop with a few things gated behind x86_64/netbsd, since i don't need things like eat or supersonic on this machine.
r/emacs • u/sonicLodge91 • 3d ago
I keep an org file per incident and used to lose minutes fumbling with timestamps and service names mid-outage. Now I have a tiny function bound to a global key that opens today's on-call log, inserts an active timestamp, and prompts for the service name from a list stored in a config file, since I only own three exporters. The biggest lesson was using org-capture with a template instead of hand-rolling the insertion logic, which I should have done from the start. Curious if others doing on-call work have templates for structured incident notes, especially anything that pulls in context automatically.
r/emacs • u/SandPrestigious2317 • 3d ago
r/emacs • u/mindstormer12 • 3d ago
Tl;dr: org-capture-template jumps to the headline after the intended one, how to fix?
Trying to add a "bookmark" to org-capture-template--the idea is that adding and editing notes should be in the same interface as a way to quickly do that in a split window then get back to work. If I add to a grocery list, I might want to review the list or re-order it. When I record the note I do not want to consciously think about whether to use an org-capture template or to jump to a bookmark, i.e. I want the effect of C-u org-capture to jump to as a bookmark in the org-capture-template so I am simply presented with a buffer to either add or edit notes. I am not looking for checkitem or typical template that only lets the user add (but not edit) notes.
The following code is close, but there are issues:
(defun my/goto-grocery-list-template ()
"Move cursor to the 'grocery list' headline in the current Org buffer."
(interactive)
(let ((pos (org-find-exact-headline-in-buffer "grocery list")))
(if pos
(progn
(goto-char pos))
;; TODO create the headline if it doesn't exist instead
(message "Headline 'grocery list' not found."))))
(setq org-capture-templates
'(("g" "Jump: Grocery list" plain
(file+function "~/docs/notes/shopping.org" my/goto-grocery-list-template)
""
:immediate-finish t
:jump-to-captured t)))
)Issues:
grocery list headline. I'd also prefer to jump to the empty line after the line matching "List:" in the content of this headline (so I can simply start typing to add item to the list instead of moving the cursor past the properties drawer). If I C-u org-capture, I jump to the target headline as intended, just can't do the same as a capture "template".An alternative idea is to have the org-capture template show a narrowed buffer of the target headline to edit the file but that seems like a more convoluted implementation.
r/emacs • u/CountryEmotional4228 • 3d ago