Dropped because the UX is confusing and it went unused. Removed:
config.el rmh-elfeed-org-files, elfeed-search-filter, the custom
"elfeed:" org link type (follow + store), the SPC o e
binding, my/elfeed-entry-to-org-roam and its SPC "e"
capture template, and the two elfeed-mode keybindings
mac/init.el ;;(rss +org) -- the module exists only to provide elfeed,
so it is now disabled here too (it already was in
linux/init.el)
elfeed.org the feed list, 20 feeds
Kept: the org-link-preview binding (SPC m l p), which sat between the
elfeed blocks and has nothing to do with it.
After pulling on the mac: doom sync, since a module left the list.
Two leftovers this commit does not touch:
- the feed list Emacs actually read is ~/Documents/qwan/essays/willem/
elfeed.org (905 bytes, newer than the copy deleted here) because
rmh-elfeed-org-files was relative to org-directory. That file now has
no consumer, and it sits inside org-roam-directory, so it will still
show up as a node until you delete or archive it.
- notes captured with my/elfeed-entry-to-org-roam contain
[[elfeed:...]] links whose link type no longer exists. They open as
unknown links now. I could not check how many there are: the vault is
not readable from this sandbox.
Doom's `doom!' takes a single module list, so this file cannot be shared:
the two machines want different module sets (vertico + popup + workspaces
here, ivy + dashboard + doom-quit there), and the mac list still carries
pre-3.0 names that this Doom rejects. Instead of merging 143 lines of it,
each machine keeps its own copy:
linux/init.el from linux-adopt, verbatim (cmp: identical)
mac/init.el the previous root init.el, verbatim (cmp: identical)
The root init.el is now an *untracked* symlink into whichever directory
matches the machine, created by bin/link-machine.sh. It has to be
untracked: one branch is shared by both machines, and a tracked symlink can
only have one target. /init.el is gitignored so a stray link can never be
committed and clobber the other machine.
Verified:
- link resolves: file-truename init.el -> .../linux/init.el
- the file parses (check-parens) through the link
- sh -n clean; unknown-machine path exits 1 with a message
- git status clean apart from this commit (symlink is ignored)
On the mac, after pulling: ./bin/link-machine.sh && doom sync
Caveats, all consequences of the link being untracked:
- a fresh clone has no init.el until you run the script
- `git clean -xfd' deletes it; re-run the script
- Emacs' byte-compiler would write init.elc next to the link (repo root);
harmless here since *.elc is ignored and the target's mtime wins when
the .el has been edited
config.el and packages.el stay shared at the root for now: their content is
mostly common, and three-way merges are worth more there than isolation.
That is also why AGENTS.md, snippets/ and qwan/ stay where they are.