commit f96609e83af7e2f7cd947ac04c18d1791fe37fa4 parent c379740504dfed4c0fd453bf56ea9cfc1d868cbc Author: andsy10 <andsy1016@gmail.com> Date: Sat, 17 Oct 2026 23:34:57 +0800 Update denote-agenda-include-regexp Diffstat:
| M | lisp/init-org.el | | | 11 | ++++++++--- |
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/lisp/init-org.el b/lisp/init-org.el @@ -88,7 +88,9 @@ :demand t :config (consult-denote-mode) - (setq consult-denote-buffer-sources nil) + (setq consult-denote-buffer-sources nil + consult-denote-buffer-source nil + consult-denote-subdirectory-source nil) :init (defvar my-denote-exclude-file-glob '("*==archive*" "*==journal*")) @@ -119,8 +121,11 @@ :hook (find-file . denote-rename-buffer-mode) (dired-mode . denote-dired-mode) - :autoload denote-retrieve-filename-identifier + :autoload denote-retrieve-filename-identifier denote-file-prompt :init + (defvar denote-excluded-files-regexp) + (defvar denote-journal-signature) + (defvar denote-file-prompt-extra-metadata) (defun my-denote-find-file (&optional arg) "Find file use denote-open-or-create." (interactive "P") @@ -198,7 +203,7 @@ (my-use-package denote-agenda :autoload denote-agenda-insinuate :init - (setq denote-agenda-include-regexp "==agenda\\|==project") + (setq denote-agenda-include-regexp "==agenda\\|==project\\|_todo") (with-eval-after-load 'org-agenda (denote-agenda-insinuate))