r/emacs • • 19h ago

egfx-browser 0.6.0: A native cross-platform browser inside Emacs (WKWebView / WebKitGTK / Edge WebView2, zero CEF, zero Emacs patching)

51 Upvotes

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:

Highlights

  • One Buffer per Page & 4 Switchable Tab UIs: Works with standard 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).
  • Keyboard-First Navigation: Unified 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:

    • Plugin-free Edit with Emacs (e edits any live web <textarea> in an Emacs split and commits back with C-c C-c)
    • One-key Org-mode / Markdown clipping (y o / y m) and native org-store-link (y l)
    • Native bookmark.el (C-x r m / C-x r b) and regex browse-url routing
    • Pure Emacs text Reader buffer (C-u R), html-mode source view (G v), *Browser Console* JS REPL (G c), PDF/PNG export, and native DevTools (<f12>)
  • Visuals, Sessions & Privacy: Native-first MIT Dark Reader (preserves native dark sites, dynamically themes bright white pages with optional warm sepia), icon-safe custom web fonts, clean Reader Mode (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.

Quick Start (GNU Emacs 29.1+)

git clone https://github.com/emacs-gfx/emacs-gfx
cd emacs-gfx
make -C packages/egfx native-build
make -C apps/egfx-browser native

Then 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 • • 21h ago

Question After years of resisting, I finally bound a key to consult-line and I'm mad I waited this long

49 Upvotes

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 • • 3h ago

Agent UI is now its own package: a canvas where coding agents show their work in Emacs, plus dashboards

Thumbnail gallery
26 Upvotes

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:

  • agent-workflow (Stable-ish): the work on an issue as jobs and steps, GitHub Actions style. Some steps are scripts or Lisp, others are LLM agents. Emacs runs it, and you follow each run on an Agent UI canvas.
  • agent-workspace (Experimental): a crew of agents on one project, each in its own git worktree. One app shows the issues, a pane per agent, and a room where the crew talks to you.

All three are young, so expect rough edges. Issues and feedback are very welcome.


r/emacs • • 1h ago

Fuck You Windows!!

Thumbnail gallery
15 Upvotes

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 • • 18h ago

A function to reduce startup flicker

8 Upvotes

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 • • 3h ago

Announcement I made a small tool for emacs function query

Thumbnail gallery
4 Upvotes

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!

https://github.com/xboss/emacs-ask


r/emacs • • 4h ago

toko.el: a prompt board for coding agents, on the new canvas image type (Emacs 32)

Post image
4 Upvotes

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/