From Emacs 23.1, you can change the font of current buffer, using buffer-face-set
.
You can toggle this using buffer-face-mode
or buffer-face-toggle
.
For example, change the font of all org mode buffers when openning:
(add-hook 'org-mode-hook (lambda () (buffer-face-set :family "LXGW WenKai Mono" :height 140)))
The argument should be a face name or a property list of face attributes and values. If more than on face is listed, that specifies an aggregate face, like in a face text property. Font face attributes are family, height, weight, slant, etc.
Related
llama.cpp使用
前面的一篇文章介绍了Ollama运行DeepSeek-R1,实际上Ollama的后端使用的是llama.cpp。
Ollama运行DeepSeek-R1
Ollama 是一个用于构建大型语言模型应用的工具,它提供了一个简洁易用的命令行界面和服务器,让你能够轻松下载、运行和管理各种开源LLM。
Org导出HTML时生成稳定ID
使用Org导出成HTML的时候,文档内部的标题和图片等元素都会生成格式如 orgxxxxxxx 的ID,这个ID从字面上并不能看出来对应那个元素,并且每次文档重新导出时,这个ID都会改变。