Emacs

2026

在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.

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.