From: Jakub Czajka Date: Sun, 21 Apr 2024 10:41:41 +0000 (+0200) Subject: [emacs] Append date when inserting calendar event. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=4e2104cdf751676bf4d39713800b7d3731659d5b;p=guix.git [emacs] Append date when inserting calendar event. If the date is not present, org-gcal appends it. However, it requires full date+time timestamp specification which is not always appropriate. --- diff --git a/emacs/.config/emacs/conf/conf-calendar.el b/emacs/.config/emacs/conf/conf-calendar.el index 4605951..06dfb38 100644 --- a/emacs/.config/emacs/conf/conf-calendar.el +++ b/emacs/.config/emacs/conf/conf-calendar.el @@ -80,7 +80,7 @@ (setq cfw:org-capture-template '("c" "calendar event" entry (function conf:get-org-file-for-calendar-id) - "\n* %?")) + "\n* %?\n:org-gcal:\n%^t\n:END:\n\n")) (add-to-list 'org-capture-templates cfw:org-capture-template) (defun conf:org-gcal-delete-at-point ()