mu4e (ical): Optionally save ical events to a diary file upon reply

This commit is contained in:
Christophe Troestler
2019-04-18 23:11:57 +02:00
parent 0f38dd4b1a
commit 834582b7bd
2 changed files with 48 additions and 7 deletions

View File

@ -439,6 +439,22 @@ Useful when this is not equal to the From: address."
This is the message being replied to, forwarded or edited; used
in `mu4e-compose-pre-hook'. For new messages, it is nil.")
(defgroup mu4e-icalendar nil
"Icalendar related settings."
:group 'mu4e)
(defcustom mu4e-icalendar-trash-after-reply nil
"If non-nil, trash the icalendar invitation after replying."
:type 'boolean
:group 'mu4e-icalendar)
(defcustom mu4e-icalendar-diary-file nil
"If non-nil, the file in which to add events upon reply."
:type '(choice (const :tag "Do not insert a diary entry" nil)
(string :tag "Insert a diary entry in this file"))
:group 'mu4e-icalendar)
;; Folders
(defgroup mu4e-folders nil
"Special folders."