Emacs

2026

Emacs 自动保存文件

目前比较流行的 Emacs 自动保存文件的包有 super-save 和 buffer-guardian.el 等。

在 Emacs 中交换文本

Emacs 中内置了交换字符、单词、表达式、行等功能,日常使用起来非常方便。

查找替换前先对比

大多数情况下在 Emacs 的大文件查找替换时,都是先通过 query-replace 或者 query-replace-regexp 进行全量查找替换,完成后再对比查看是否有错误的地方。

Arch Linux 中从源码编译 Emacs

这里介绍在 Arch Linux 环境中从源码编译安装 Emacs 的经验。

Debian 中从源码编译 Emacs

以下介绍在 Debian 13 KDE 桌面环境中从源码编译 Emacs 的经验。

使用 Cloudflare Pages 部署博客

Cloudflare Pages is a JAMstack platform for frontend developers to collaborate and deploy websites.

在Emacs中显示天气

使用异步调用的方式,从 wttr.in 在线获取最新的天气信息,显示到 Emacs 的 mode-line 或者 echo-bar 。

雾凇拼音简繁转换

朙月拼音和双拼默认使用的是繁体字库,输入方案中转换简体功能,是通过内置OpenCC进行转换的,词典中保存的都是繁体。

安装雾凇拼音词库

雾凇拼音提供了一套开箱即用的完整配置,包含输入方案(全拼、常见双拼)、长期维护的开源词库及各项扩展功能。

在 WSL 中使用 emacs-rime

在 WSL 中使用 Emacs 时,无法直接使用 Windows 安装的 RIME 输入法,当前比较好的方案是在 WSL 中安装 librime ,在 Emacs 中使用 emacs-rime 作为前端,使用体验比较贴近原生 RIME 输入法。

My Custom Org Agenda

By setting the org-agenda-custom-commands variable, we can define our own agenda views that only include necessary information.

2025

Eglot: Connect to Multiple LSP Servers

Use rassumfrassum to connect a LSP client to multiple LSP servers.

Emacs Copy/Paste Problem in WSL

Fix messy chinese characters copy/paste between Emacs(in WSL) and Windows.

Set TX-02 Oblique in Emacs

Berkeley Mono is a love letter to the golden era of computing.

Converting Between Symbols and Strings

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