Emacs

2025

Emacs中使用大型语言模型

Emacs有不少LLM的客户端,这里我们选择gptel,在 init.el 中添加以下代码:

2024

Generating sitemap in Emacs

使用Emacs导出博客时,可以导出Sitemap文件,可以很方便的生成最近的文章信息或者归档列表。

Python Development in Emacs

A guide to setup python development environment in Emacs.

Emacs tree-sitter

tree-sitter是一个解析器生成工具和增量解析库。它可以为源文件构建语法树,当源文件修改时可以高效的更新语法树。

sdcv

sdcv is a simple, cross-platform, text-based utility for working with dictionaries in StarDict format.

Safe Local Variable Directories

This variable is a list of directories where local variables are always enabled.

Build Emacs On Windows

We can build Emacs with MSYS2 and MinGW-W64 on Windows.

Build Emacs From Source

A guide to build emacs from source on Linux.

Emacs Proxy

Proxy servers are commonly used to provide gateways through firewalls or as caches serving some more-or-less local network.

Emacs tokyonight-themes

A clean dark Visual Studio Code theme that celebrates the lights of Downtown Tokyo at night.

Disable Annoying Audio Notifications

By default Emacs ring the bell to attract the user’s attention, this is annoying.

Clangd Configuration With Eglot

Eglot是Emacs内置的LSP客户端。Eglot内置已支持大量的LSP服务端。以C++语言为例,Eglot支持clangd和ccls两种服务端模式。