Emacs

Emacs中去光亮所有符号

之前的文章介绍了如何在Emacs中高亮符号,一般运行 M-x unhighlight-regexp 来选择其中一个符号去高亮。 那么如何去高亮当前Buffer中所有的符号呢?方法是运行 C-u M-x unhighlight-regexp 。 ...

Emacs中记笔记

Denote is a simple note-taking tool for Emacs. It is based on the idea that notes should follow a predictable and descriptive file-naming scheme. The file name must offer a clear indication of what the note is about, without reference to any other metadata. Denote basically streamlines the creation of such files while providing facilities to link between them.

Emacs中高亮关键字

日常编码或者阅读其他代码时经常会使用或看到TODO/FIXME等关键字,之前是使用hl-todo来进行高亮,hl-todo中还提供了很多其它功能,我基本上只使用了高亮关键字的功能。 ...

Emacs中高亮符号

日常都是使用symbol-overlay包在编程时进行符号高亮,James Cherti介绍了Emacs内置功能实现符号高亮的方法,核心是使用Emacs内置的hi-lock包来实现。 ...

Org Mode Archiving

When a project represented by a (sub)tree is finished, you may want to move the tree out of the way and to stop it from contributing to the agenda. Archiving is important to keep your working files compact and global searches like the construction of agenda views fast. ...

Change buffer font in Emacs

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

llama.cpp使用

前面的一篇文章介绍了Ollama运行DeepSeek-R1,实际上Ollama的后端使用的是llama.cpp。 ...

Ollama运行DeepSeek-R1

Ollama 是一个用于构建大型语言模型应用的工具,它提供了一个简洁易用的命令行界面和服务器,让你能够轻松下载、运行和管理各种开源LLM。 DeepSeek-R1 is DeepSeek’s first-generation reasoning models, achieving performance comparable to OpenAI-o1 across math, code, and reasoning tasks. ...

Org导出HTML时生成稳定的ID

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