Blogs / Personal blogs

Mickey Petersen

masteringemacs.org

Are you struggling with the basics? Have you mastered movement and editing yet? When you have read Mastering Emacs you will understand Emacs.

Popular posts
20
Total points
3,824
HN comments
1,924
Rank
#340 personal

Visit masteringemacs.org → RSS feedOn Hacker News Nov 2010 – Aug 2026

Tools & Productivity 20Software Engineering 19Life, Learning & Writing 1

1

Keyboard shortcuts for GNU Readline

Most command line programs that offer line editing -- like bash, Python, GDB, psql, sqlite and more -- do so using GNU readline. Readline's a powerful library that grants history, completion, movement and editing to programs that use it --- and a stable and consistent set of keyboard shortcuts. Shame, then, that even…

4

How to Get Started with Tree-Sitter

Emacs 29 introduces tree-sitter support, a powerful parsing library that enhances its understanding of source code. With this integration, Emacs gains features like precise syntax highlighting, accurate indentation and easier extensibility. Here's how you install and configure Emacs with tree-sitter support.

7

Let's write a treesitter major mode for Emacs

Creating a standard programming major mode presents significant challenges, with the intricate tasks of establishing proper indentation and font highlighting being among the two hardest things to get right. It's painstaking work, and it'll quickly descend into a brawl between the font lock engine and your desire for…

11

Why Emacs has buffers

Emacs's buffers are so much more than their name implies. They're not just a vessel for you to read or write from. Buffers in Emacs host network processes, shells, and transient data. They're also a key part to understanding why Elisp is designed the way it is.