Emacs

2025

Converting Between Symbols and Strings

A small tip to show how to convert between symbols and strings.

Replacing text across multiple files

Find and replace text across multiple file in project, dired-mode or grep-mode buffer.

Emacs Highlight Keywords With Overlays

Use overlays to highlight a buffer’s keywords on the screen.

Color Lighten and Darken

RGB color lighten and darken in catppuccin-themes.

Emacs Garbage Collection

gcmh(aka “Garbage Collection Magic Hack”) is useful and easy to handle garbage collection for GNU Emacs.

Integrate Harper With Emacs

Harper is a grammar checker designed to run anywhere there is text (so really, anywhere).

DIY Modus Themes

Each Modus theme specifies a color palette that declares named color values and semantic color mappings.

Emacs中去光亮所有符号

之前的文章介绍了如何在Emacs中高亮符号,一般运行 M-x unhighlight-regexp 来选择其中一个符号去高亮。

Better capture template for blog post

An org capture template to create post file in blog directory, and insert some front matters.

Emacs中记笔记

Denote is a simple note-taking tool for Emacs.

Emacs中高亮关键字

Use font-lock to highlight keywords.

Emacs中高亮符号

Use hi-lock to highlight symbol.

Org Mode Archiving

Archiving in agenda view.

Change buffer font in Emacs

From Emacs 23.1, you can change the font of current buffer, using buffer-face-set.

llama.cpp使用

前面的一篇文章介绍了Ollama运行DeepSeek-R1,实际上Ollama的后端使用的是llama.cpp。