1
submitted 5 days ago by to c/emacs@programming.dev
2
 
 

I've never been a big fan of the split source/preview workflow for Markdown. I just want to read nicely formatted text and edit it directly, without constantly switching between two views.

So I made markdown-ts-appear.

The idea is similar to org-appear: Markdown looks rendered by default, but when you move the cursor onto an element, its source is revealed for editing. Move away, and it goes back to looking nice. All in the same buffer, without modifying the underlying text.

I also wanted to go a bit beyond just hiding markup, so I ended up adding a bunch of visual improvements: prettier code fences, blockquotes, callouts, link icons, tables that wrap to fit the window, and optional MathJax previews.

It's built on the new Tree-sitter-based markdown-ts-mode (Emacs 31.1+), so rendering stays fast and responsive. It is available on MELPA.

I've been using it for my own Markdown editing, and it's pretty much the experience I was looking for. Thought I'd share it here in case anyone else has the same itch.

Feedback and bug reports are very welcome!

OC by @thysrael@lemmy.ml

3
4
 
 

Looks like someone set up a website at doomemacs.com that's a bunch of LLM generated crap. Stay away!

https://doomemacs.org/ is the official website.

5
 
 

I've been using vim/Neovim since 1999, and the amount of muscle memory that I've built up is deeply ingrained. I'm thinking that it may be time to branch out a bit and try my hand at emacs. How would you recommend dipping my toes into the emacs tackle box?

6
7
What's New in Emacs 31.1? (www.masteringemacs.org)
submitted 2 months ago by to c/emacs@programming.dev
8
 
 

I really appreciate all of the hard work that went into building the site and all of the documentation, it requires JS and therefore doesn't work in eww? That seems like a weird decision.

9
10
11
12
submitted 4 months ago by to c/emacs@programming.dev
 
 

The Canvas patch is almost done. Except that we need more testing, specifically for its MS Windows port. (Though testers on other operating systems like GNU/Linux and MacOS are also welcome.)

Since we don't have any computers running MS Windows, we are not sure if the code is actually correct.

13
 
 
14
15
 
 

Hello everyone,

The first pretest for what will be the 31.1 release of Emacs (the extensible text editor) is now available at:

https://alpha.gnu.org/gnu/emacs/pretest/emacs-31.0.90.tar.xz
https://alpha.gnu.org/gnu/emacs/pretest/emacs-31.0.90.tar.gz

The tarball is signed; you can get the PGP signature file at:

https://alpha.gnu.org/gnu/emacs/pretest/emacs-31.0.90.tar.xz.sig
https://alpha.gnu.org/gnu/emacs/pretest/emacs-31.0.90.tar.gz.sig

Please give it as much testing as you can.

As always, if you encounter problems building or using Emacs, send a report to bug-gnu-emacs@gnu.org with full details (if possible, use M-x report-emacs-bug).

Thanks for helping to test Emacs.

Source: Emacs 31.0.90 pretest is available

16
submitted 5 months ago by to c/emacs@programming.dev
17
18
 
 

Guidelines used to populate this list:

  • No packages, stock Emacs only.

  • No steep learning curves. Learn each feature in under two minutes or bust.

  • No gimmicks. No doctor, tetris, snake, dunnet, zone or butterfly.

  • Just the deltas. No commonly mentioned packages like flymake, doc-view, outline-minor-mode or eww/w3m. Nothing that Emacs brings up automatically or a nonspecific Google search gets you.

  • Assume a modern Emacs, 26.3+.

19
submitted 5 months ago by to c/emacs@programming.dev
20
21
 
 

I'd like to announce ghostel, a terminal emulator for Emacs that uses libghostty-vt - the same VT parsing engine behind the Ghostty terminal - as a native Zig module.

It's inspired by vterm and follows the same general approach (native module does terminal emulation, Elisp handles the Emacs integration), but uses a more modern engine that supports newer terminal protocols. Ghostel is a superset of vterm's feature set - everything vterm can do, ghostel can too, plus a lot more on top.

Feature comparison with vterm

Feature ghostel vterm
True color (24-bit) Yes Yes
OSC 4/10/11 color queries Yes No
Bold / italic / faint Yes Yes
Underline styles (5 types) Yes No
Underline color Yes No
Strikethrough Yes Yes
Cursor styles 4 types 3 types
OSC 8 hyperlinks Yes No
Plain-text URL/file detection Yes No
Kitty keyboard protocol Yes No
Mouse passthrough (SGR) Yes No
Bracketed paste Yes Yes
Alternate screen Yes Yes
Shell integration auto-inject Yes No
Prompt navigation (OSC 133) Yes Yes
Elisp eval from shell Yes Yes
TRAMP remote terminals Yes Yes
OSC 52 clipboard Yes Yes
Copy mode Yes Yes
Drag-and-drop Yes No
Auto module download Yes No
Scrollback default ~5,000 1,000
PTY throughput (plain ASCII) 65 MB/s 29 MB/s
Default redraw rate ~30 fps ~10 fps

Key differences

Terminal engine. libghostty-vt comes from Ghostty, a modern GPU-accelerated terminal, and supports Kitty keyboard/mouse protocols, rich underline styles, and OSC 8 hyperlinks. libvterm targets VT220/xterm emulation and is more conservative in protocol support.

Mouse handling. Ghostel encodes mouse events (press, release, drag) and passes them through to the terminal via SGR mouse protocol. TUI apps like htop or lazygit receive full mouse input. vterm intercepts mouse clicks for Emacs point movement and does not forward them to the terminal.

Rendering. Both use text properties (not overlays) and batch consecutive cells with identical styles. Ghostel's engine provides three-level dirty tracking (none / partial / full) with per-row granularity. vterm uses damage-rectangle callbacks and redraws entire invalidated rows. Ghostel defaults to ~30 fps redraw; vterm defaults to ~10 fps.

Shell integration. Ghostel auto-injects shell integration scripts for bash, zsh, and fish - no shell RC changes needed. vterm requires manually sourcing scripts in your shell configuration. Both support Elisp eval from the shell and TRAMP-aware remote directory tracking.

Performance. In PTY throughput benchmarks (5 MB streamed through cat, both backends configured with ~1,000 lines of scrollback), ghostel is roughly 2x faster than vterm on plain ASCII data (65 vs 29 MB/s). On URL-heavy output ghostel still comes out ahead (42 vs 24 MB/s); with link detection disabled ghostel reaches 65 MB/s regardless of input.

Color auto-detection. Thanks to OSC 4/10/11 support, TUI programs like duf, btop, and delta can query Emacs for its foreground/background colors and automatically adapt to your light or dark theme - no COLORFGBG hacks needed.

Installation. Ghostel can automatically download a pre-built native module or compile from source with Zig. vterm uses CMake with a single C dependency (libvterm) and can auto-compile on first load from Elisp.

Installation

ghostel is available on MELPA:

(use-package ghostel :ensure t)

Or with Emacs 30+ built-in vc-use-package:

(use-package ghostel :vc (:url "https://github.com/dakra/ghostel" :rev :newest))

The native module is downloaded automatically on first use. If you prefer to build from source, you'll need Zig 0.15.2+.

Requires Emacs 27.1+ with dynamic module support on macOS or Linux.

Feedback, bug reports, and contributions very welcome.

22
An offline-friendly Elfeed web UI (punchagan.muse-amuse.in)
submitted 7 months ago by to c/emacs@programming.dev
23
24
25
 
 

reka lets emacs' logic just flow into river. It is a window manager inside of Emacs for the Wayland world.

view more: next ›