[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 75874ae 4/7: excorporate-diary: Add feature idea comment
From: |
Thomas Fitzsimmons |
Subject: |
[elpa] master 75874ae 4/7: excorporate-diary: Add feature idea comment |
Date: |
Fri, 14 Jun 2019 17:12:19 -0400 (EDT) |
branch: master
commit 75874ae2570e9c7990eabc71f16f599be138b6a0
Author: Thomas Fitzsimmons <address@hidden>
Commit: Thomas Fitzsimmons <address@hidden>
excorporate-diary: Add feature idea comment
* packages/excorporate/excorporate-diary.el
(exco-diary-insert-meeting): Comment on a potential feature that
would add a calendar name to each entry.
---
packages/excorporate/excorporate-diary.el | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/packages/excorporate/excorporate-diary.el
b/packages/excorporate/excorporate-diary.el
index 5e870bc..3668b85 100644
--- a/packages/excorporate/excorporate-diary.el
+++ b/packages/excorporate/excorporate-diary.el
@@ -151,6 +151,25 @@ Call FINALIZE after the meeting has been inserted."
excorporate-diary-transient-file)))
(with-temp-buffer
(insert icalendar-text)
+
+ ;; FIXME: Maybe some users of multiple calendars will want to
+ ;; know the source calendar's name for each diary entry.
+ ;; There is no great way to achieve that right now, but one
+ ;; idea is to add X-WR-CALNAME support to
+ ;; icalendar-import-buffer, replace the
+ ;; exco-diary-insert-meeting argument to
+ ;; exco-calendar-item-with-details-iterate with:
+ ;;
+ ;; (lambda (&rest arguments)
+ ;; (apply #'exco-diary-insert-meeting identifier arguments))
+ ;;
+ ;; and uncomment the following code.
+ ;;
+ ;; (goto-char (point-min))
+ ;; (while (re-search-forward
+ ;; "^SUMMARY\\([^:]*\\):\\(.*\\(\n[ ].*\\)*\\)" nil t)
+ ;; (insert (format "\nX-WR-CALNAME: (%s)" identifier)))
+
;; Escape literal percent signs (%). Use less-than sign (<)
;; and greater-than sign (>) which are forbidden URL
;; characters, so that in the plain text diary file,
- [elpa] master updated (e2ceac5 -> 50aceef), Thomas Fitzsimmons, 2019/06/14
- [elpa] master a426add 3/7: excorporate-diary: Fix documentation string, Thomas Fitzsimmons, 2019/06/14
- [elpa] master aa5513d 1/7: excorporate-diary: Always use diary-fancy-display, Thomas Fitzsimmons, 2019/06/14
- [elpa] master e4fdf86 5/7: excorporate-org: Support multiple calendars, Thomas Fitzsimmons, 2019/06/14
- [elpa] master 50aceef 7/7: Excorporate: Support multiple connections, Thomas Fitzsimmons, 2019/06/14
- [elpa] master 75874ae 4/7: excorporate-diary: Add feature idea comment,
Thomas Fitzsimmons <=
- [elpa] master aeb5488 2/7: excorporate-diary: Escape literal percent signs, Thomas Fitzsimmons, 2019/06/14
- [elpa] master 47c951c 6/7: excorporate-diary: Suppress compilation warning, Thomas Fitzsimmons, 2019/06/14