From bddcf8d018f487541860a74f4f46ab2b4e6ba427 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 31 Dec 2022 12:06:19 -0500 Subject: denote: Drop date from directory value Setting denote-directory to the subdirectory for the current year means things like denote-link-backlinks can't find files for previous years. Go with the flat organization for now. If I end up wanting the year subdirectories, it's not too much of a hassle to move these to subdirectories later. (I could also adjust denote-prompts so that I can always choose the dated subdirectory, but that's annoying to have to choose every time.) --- init.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/init.el b/init.el index cd9bb3e..cfd5c19 100644 --- a/init.el +++ b/init.el @@ -1720,9 +1720,7 @@ ("C-c d t" . denote-type) ("C-c d f" . km/find-file-with-denote-naming)) :config - (setq denote-directory - (expand-file-name (file-name-as-directory - (format-time-string "~/notes/%Y")))) + (setq denote-directory (expand-file-name "~/notes")) (setq denote-file-type 'text)) -- cgit v1.2.3