Emacs

2025

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。

Ollama运行DeepSeek-R1

Ollama 是一个用于构建大型语言模型应用的工具,它提供了一个简洁易用的命令行界面和服务器,让你能够轻松下载、运行和管理各种开源LLM。

Org导出HTML时生成稳定ID

使用Org导出成HTML的时候,文档内部的标题和图片等元素都会生成格式如 orgxxxxxxx 的ID,这个ID从字面上并不能看出来对应那个元素,并且每次文档重新导出时,这个ID都会改变。

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.