[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/excorporate da3898b 85/93: Excorporate: Rename a functi
From: |
Stefan Monnier |
Subject: |
[elpa] externals/excorporate da3898b 85/93: Excorporate: Rename a function |
Date: |
Sun, 29 Nov 2020 15:43:15 -0500 (EST) |
branch: externals/excorporate
commit da3898bf662188fc01563bff641095f49c6170a4
Author: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Commit: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Excorporate: Rename a function
* packages/excorporate/excorporate.el
(exco-resolve-organizer-email-address-synchronously): Rename from
exco-organizer-smtp-email-address.
* packages/excorporate/excorporate-org.el
(exco-org-insert-meetings): Use
exco-resolve-organizer-email-address-synchronously.
---
excorporate-org.el | 2 +-
excorporate.el | 18 ++++++++++--------
2 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/excorporate-org.el b/excorporate-org.el
index b7c1b76..6499dc8 100644
--- a/excorporate-org.el
+++ b/excorporate-org.el
@@ -311,7 +311,7 @@ meeting organizer."
(org-mode)
(let ((new-arguments arguments))
(setf (nth 7 new-arguments)
- (exco-organizer-smtp-email-address
+ (exco-resolve-organizer-email-address-synchronously
identifier organizer-structure))
(apply #'exco-org-insert-meeting new-arguments))))
subject start-internal end-internal
diff --git a/excorporate.el b/excorporate.el
index b068121..b9d1748 100644
--- a/excorporate.el
+++ b/excorporate.el
@@ -865,17 +865,19 @@ argument ICALENDAR-TEXT."
mime-path response)))
coding-system))))))
-;; The organizer email is in the server's internal "EX" format.
-;; Resolve it synchronously, for simplicity.
-(defun exco-organizer-smtp-email-address (identifier organizer-structure)
+;; The organizer email address is in some cases returned in the
+;; server's internal "EX" format which is very long and unfamiliar.
+;; If necessary resolve it to the "SMTP" format. This is done
+;; synchronously, for simplicity.
+(defun exco-resolve-organizer-email-address-synchronously (identifier
+ organizer-structure)
"Return the organizer's SMTP email address as a string.
IDENTIFIER is the connection identifier to use to resolve
ORGANIZER-STRUCTURE to the returned value. ORGANIZER-STRUCTURE
-should be treated as opaque.
-
-This function queries the server synchronously. It times out and
-returns nil if the server does not respond in under
-`exco--server-timeout' seconds."
+should be treated as opaque. If the address is not already an
+SMTP address, then this function queries the server synchronously
+to resolve the SMTP address. It times out and returns nil if the
+server does not respond in under `exco--server-timeout' seconds."
(let* ((wrapped (list (list organizer-structure)))
(routing-type
(exco-extract-value '(Organizer Mailbox RoutingType) wrapped))
- [elpa] externals/excorporate a7e0cd3 53/93: packages/excorporate: Bump version to 0.8.3, (continued)
- [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, 2020/11/29
- [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 <=
- [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
- [elpa] externals/excorporate f3888e1 77/93: Excorporate: Require Org 9.0 or newer, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 2f76f57 71/93: Excorporate: Change organizer representation, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 30cc0bd 63/93: Excorporate: Add appointment deletion in Org buffer, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 538e908 68/93: Excorporate: Support cancelling meetings in Org buffer, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 8e7779a 81/93: Excorporate: Expand responses in API usage examples, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 5f81163 88/93: Excorporate: Fix a byte-compilation warning, Stefan Monnier, 2020/11/29