Skip to content
项目

关于

我的 .emacs.el 文件和其他个人 Emacs 配置

其他项目

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

dot-emacs

My .emacs file and other personal Emacs goodies.

On Clio, this checkout lives at ~/.config/emacs. Home Manager owns only the nix-packages and nix-packages.el leaves there, not the checkout. The Makefile still synchronizes init.org from ~/org/init.org; edit that source before rebuilding init.el.

Only configuration lives in this checkout. What Emacs writes while it runs goes to one of three places, by what it is: data (saved choices, tokens, tree-sitter grammars) under $XDG_DATA_HOME/emacs, state (histories, recent files, sessions, backups) under $XDG_STATE_HOME/emacs, and caches under $XDG_CACHE_HOME/emacs. lisp/user-paths.el defines the three roots and early-init.el loads it first. Run xdg/check-litter.sh to see whether anything has crept back. make init.el refuses an init.org from before this layout, and an init.el from before it stops with an error at its own definition of the data directory, before it has written anything.

I keep my Emacs file in literate Org mode, so that it's easier to organize and also document how things are to be used, since there are enough packages that I often forget. You can view that document here:

https://github.com/jwiegley/dot-emacs/blob/master/init.org

NOTE: I no longer use git-subtree or submodules for most dependencies. Instead, packages are built and managed using Nix and Nix overlays: https://github.com/jwiegley/nix-config/blob/master/overlays/10-emacs.nix

The exceptions are lisp/llm-setup, lisp/dired-filetags and lisp/org-agents, which are development submodules.

探索相关项目

加载中…