summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-14 07:11:41 +0000
committernoa@gaiwan.org2024-06-14 07:11:41 +0000
commit5efb8d17e28c13ffb4e2930c89fa80d5ef494341 (patch)
treecbb19019bfae789e746e7ed3550cfe1df101ff28 /emacs
parent196456c9104906297e28644576bcb95732431748 (diff)
Update org-capture-templates to not cause a warning
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el12
1 files changed, 7 insertions, 5 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 43d548f..08b6f87 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -248,17 +248,19 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word."
(setopt org-log-done 'time)
(setopt org-return-follows-link t)
(setopt org-agenda-files '("~/data/notes/notes.org"))
-(setopt org-capture-templates `(("j" "Journal" entry (file+datetree "~/data/notes/notes.org") "* %?\n" :empty-lines 1)
- ("w" "Website" entry (file+datetree "~/data/notes/notes.org") "* %a\n%?\n" :empty-lines 1)
- ("c" "Contact" entry (file+datetree "~/data/notes/notes.org")
- "* %^{Name}
+(setopt org-capture-bookmark nil)
+(setopt org-capture-templates '(("j" "Journal" entry (file+olp+datetree "~/data/notes/notes.org") "* %?\n" :empty-lines 1)
+ ("w" "Website" entry (file+olp+datetree "~/data/notes/notes.org") "* %a\n%?\n" :empty-lines 1)
+ ("c" "Contact" entry (file+olp+datetree "~/data/notes/notes.org")
+ "* %^{Name}
:PROPERTIES:
:ADDRESS: %^{Address}
:BIRTHDAY: %^{yyyy-mm-dd}
:EMAIL: %^{EMAIL}p
:NOTE: %^{NOTE}
:END:"
- :empty-lines 1)))
+ :empty-lines 1)
+ ))
(setopt org-agenda-block-separator ?─)
(setopt org-agenda-time-grid '((daily today require-timed)