[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/excorporate 0d014c7 64/93: Excorporate: Support appoint
From: |
Stefan Monnier |
Subject: |
[elpa] externals/excorporate 0d014c7 64/93: Excorporate: Support appointment creation |
Date: |
Sun, 29 Nov 2020 15:43:10 -0500 (EST) |
branch: externals/excorporate
commit 0d014c7d94c732fb7be1700e176920416e2d248a
Author: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Commit: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Excorporate: Support appointment creation
* packages/excorporate/excorporate.el
(exco-calendar-item-appointment-delete): Adjust documentation.
(exco-calendar-item-appointment-create): New function.
---
excorporate.el | 36 ++++++++++++++++++++++++++++++------
1 file changed, 30 insertions(+), 6 deletions(-)
diff --git a/excorporate.el b/excorporate.el
index 66ba673..25f2b5c 100644
--- a/excorporate.el
+++ b/excorporate.el
@@ -659,16 +659,40 @@ PATH is an ordered list of node names."
(setq values (assoc path-element values)))
(cdr values)))
+(defun exco-calendar-item-appointment-create (identifier
+ subject body start end callback)
+ "Create an appointment calendar item.
+IDENTIFIER is the connection identifier.
+SUBJECT is a string, the subject of the appointment.
+BODY is a string, the message text of the appointment.
+START is the start date and time in Emacs internal representation.
+END is the end date and time in Emacs internal representation.
+CALLBACK is a callback function called with two arguments,
+IDENTIFIER, the connection identifier for the responding
+connection, and RESPONSE, the server's response to the
+appointment creation."
+ (exco-operate identifier
+ "CreateItem"
+ `(((SendMeetingInvitations . "SendToNone")
+ (Items
+ (CalendarItem
+ (Subject . ,subject)
+ (Body (BodyType . "Text") ,body)
+ (Start . ,(exco-format-date-time start))
+ (End . ,(exco-format-date-time end)))))
+ nil nil nil nil)
+ callback))
+
(defun exco-calendar-item-appointment-delete (identifier
item-identifier callback)
"Delete an appointment.
IDENTIFIER is the connection identifier. ITEM-IDENTIFIER is the
-item identifier in the form:
-
-(ItemId (Id . ID-STRING) (ChangeKey . CHANGEKEY-STRING))
-
-CALLBACK is the callback called with the identifier and
-response."
+item identifier in the form
+\(ItemId (Id . ID-STRING) (ChangeKey . CHANGEKEY-STRING)).
+CALLBACK is a callback function called with two arguments,
+IDENTIFIER, the connection identifier for the responding
+connection, and RESPONSE, the server's response to the
+appointment deletion."
(exco-operate identifier
"DeleteItem"
`(((DeleteType . "MoveToDeletedItems")
- [elpa] externals/excorporate 8279180 20/93: packages/excorporate: Bump url-http-ntlm required version to 2.0.3, (continued)
- [elpa] externals/excorporate 8279180 20/93: packages/excorporate: Bump url-http-ntlm required version to 2.0.3, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 90532e9 29/93: packages/excorporate: Support retrieving meeting details, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate f5abc2a 36/93: packages/excorporate: Fix comment typo., Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate d7b3ef3 48/93: packages/excorporate: Bump version to 0.8.2, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 4b975b2 45/93: Excorporate: Support multiple connections, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate d6176ca 66/93: Excorporate: Provide organizer to iterators, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate a7e0cd3 53/93: packages/excorporate: Bump version to 0.8.3, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 5e44589 60/93: Excorporate: Avoid trailing newline in Org buffer, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate ebbf99a 78/93: Excorporate: Document new interactive functions, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate ff4e272 74/93: Excorporate: Simplify organizer handling in Org backend, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 0d014c7 64/93: Excorporate: Support appointment creation,
Stefan Monnier <=
- [elpa] externals/excorporate de50497 75/93: Excorporate: Support replying to meeting requests in Org buffer, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate ebf91e4 50/93: excorporate-diary: Update warning message, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 5bd2608 59/93: Excorporate: Support appointment deletion, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 064e34d 57/93: packages/excorporate/excorporate.el: Adjust case in example URL, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 6487138 70/93: Excorporate: Adjust some documentation strings, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate da3898b 85/93: Excorporate: Rename a function, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 96a76cd 90/93: Excorporate: Adjust some URLs in the manual, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 47d2698 32/93: packages/excorporate: Support diary on Emacs 24.1, 24.2, 24.3, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 77030b3 37/93: packages/excorporate: Fix generated whitespace issue, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 7849d8f 42/93: excorporate-diary: Add feature idea comment, Stefan Monnier, 2020/11/29