commit a8464fdf9c2a95e51f3b59dd983706bea69b0685
parent 6b85067cf9742657f94d88022f40589ada8cf76d
Author: Vineet Kumar <git@vineetk.net>
Date: Tue, 17 Nov 2026 20:17:43 +0100
home, files/emacs: replace org-node with denote
Diffstat:
2 files changed, 27 insertions(+), 21 deletions(-)
diff --git a/epistemia/files/emacs/.config/emacs/init.el b/epistemia/files/emacs/.config/emacs/init.el
@@ -637,27 +637,33 @@
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))))
-;; TODO replace org-mem and org-node with org-roam again? org-mem is wonky and seems to break with non-zk files a lot that use lots of properties.
-;; org-mem -- database to speed up loading lots of files
-(use-package org-mem
- :defer
- :config
- (org-mem-updater-mode)
- :custom
- (org-mem-do-sync-with-org-id t)
- (org-mem-watch-dirs (list org-directory)))
-
-;; org-node -- zettelkatsen notes
-(use-package org-node
- :config
- (org-node-cache-mode)
- (org-node-roam-accelerator-mode)
+;; denote -- notes system
+(use-package denote
+ :hook (dired-mode . denote-dired-mode)
+ :bind (:map global-map
+ ("C-c n n" . denote)
+ ("C-c n d" . denote-dired)
+ ("C-c n g" . denote-grep)
+ ("C-c n r" . denote-rename-file)
+ ("C-c n R" . denote-rename-file-using-front-matter)
+
+ :map org-mode-map
+ ("C-c n l" . denote-link)
+ ("C-c n L" . denote-add-links)
+ ("C-c n b" . denote-backlinks)
+ ("C-c n q c" . denote-query-contents-link) ; create link that triggers a grep
+ ("C-c n q f" . denote-query-filenames-link) ; create link that triggers a dired
+
+ ;; Key bindings specifically for Dired.
+ :map dired-mode-map
+ ("C-c C-d C-i" . denote-dired-link-marked-notes)
+ ("C-c C-d C-r" . denote-dired-rename-files)
+ ("C-c C-d C-k" . denote-dired-rename-marked-files-with-keywords)
+ ("C-c C-d C-R" . denote-dired-rename-marked-files-using-front-matter))
:custom
- (org-node-directory (file-truename (concat org-directory "/roam/")))
- :bind (("C-c n f" . org-node-find)
- ("C-c n g" . org-node-grep)
- ("C-c n i" . org-node-insert-link)
- ("C-c n c" . org-node-capture)))
+ (denote-directory (file-truename (concat org-directory "/roam/")))
+ (denote-known-keywords '("emacs" "semiconductors" "photonics"))
+ :config (denote-rename-buffer-mode 1))
;; org-present -- fancier presentations so I don't have to do beamer
(use-package org-present
diff --git a/epistemia/home/config.scm b/epistemia/home/config.scm
@@ -89,6 +89,7 @@
emacs-citeproc
emacs-clang-format
emacs-consult
+ emacs-denote
emacs-eat
emacs-elfeed
emacs-erc-hl-nicks
@@ -110,7 +111,6 @@
emacs-marginalia
emacs-notmuch
emacs-notmuch-indicator
- emacs-org-node
emacs-org-present
emacs-paredit
emacs-pdf-tools