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.
The most common archiving action is to move a project tree to another file, the archive file. Type C-c C-x C-a
to evaluate org-archive-subtree-default
, archive the current entry using the command specified in the variable org-archive-default-command
. The default command is org-archive-subtree
to archive the subtree starting at point position to the location given by org-archive-location
. The default archive location is a file in the same directory as the current file, with the name derived by appending _archive
to the current file name. You can also choose what heading to file archived items under, with the possibility to add them to a datetree in a file. For information and examples on how to specify the file and the heading, see the documentation string of the variable org-archive-location
.
If you want to just switch off certain subtrees without moving them to a different file for agenda views, you can use the ARCHIVE
tag. A headline that is marked with the ARCHIVE
tag stays at its location in the outline tree.
The archived (sub)trees will not be shown in agenda views by default, type v a
or v A
to toggle archived (sub)trees.
Related
Org导出HTML时生成稳定ID
使用Org导出成HTML的时候,文档内部的标题和图片等元素都会生成格式如 orgxxxxxxx 的ID,这个ID从字面上并不能看出来对应那个元素,并且每次文档重新导出时,这个ID都会改变。
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。