From 1feff04a169a0442aa6006825412426214ebbe57 Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Sat, 29 Jun 2024 09:32:43 +0000 Subject: Add commented org-time-stamp-formats definition --- config.org | 57 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 28 deletions(-) diff --git a/config.org b/config.org index 3edae50..3b6127d 100644 --- a/config.org +++ b/config.org @@ -546,34 +546,35 @@ If we enable this, emphasis markers will be hidden for a more word processor fee #+end_src #+begin_src elisp -(setopt org-startup-with-inline-images t) -(setopt org-image-actual-width '(300)) -(setopt org-auto-align-tags nil) -(setopt org-tags-column 0) -(setopt org-catch-invisible-edits 'show-and-error) -(setopt org-special-ctrl-a/e t) -(setopt org-insert-heading-respect-content t) -(setopt org-ellipsis "…") -(setopt org-display-custom-times t) -(setopt org-time-stamp-custom-formats '("%Y-%m-%d" . "%Y-%m-%d %H:%M")) -(setopt org-extend-today-until 4) -(setopt org-adapt-indentation nil) -(setopt org-log-done 'time) -(setopt org-return-follows-link t) -(setopt org-agenda-files '("~/data/notes/notes.org")) -(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) - )) + (setopt org-startup-with-inline-images t) + (setopt org-image-actual-width '(300)) + (setopt org-auto-align-tags nil) + (setopt org-tags-column 0) + (setopt org-catch-invisible-edits 'show-and-error) + (setopt org-special-ctrl-a/e t) + (setopt org-insert-heading-respect-content t) + (setopt org-ellipsis "…") + (setopt org-display-custom-times t) + (setopt org-time-stamp-custom-formats '("%Y-%m-%d" . "%Y-%m-%d %H:%M")) + ;; (setopt org-time-stamp-formats '("<%Y-%m-%d>" . "<%Y-%m-%d %H:%M>")) + (setopt org-extend-today-until 4) + (setopt org-adapt-indentation nil) + (setopt org-log-done 'time) + (setopt org-return-follows-link t) + (setopt org-agenda-files '("~/data/notes/notes.org")) + (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) + )) #+end_src #+begin_src elisp -- cgit 1.4.1-2-gfad0