From 510e3b691c27653e21827cf3a18f92a84b5e16a6 Mon Sep 17 00:00:00 2001 From: yvesf Date: Mon, 28 Mar 2011 22:02:39 +0200 Subject: neue version der website --- user-emacs.html | 146 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 146 insertions(+) create mode 100644 user-emacs.html (limited to 'user-emacs.html') diff --git a/user-emacs.html b/user-emacs.html new file mode 100644 index 0000000..c7de27f --- /dev/null +++ b/user-emacs.html @@ -0,0 +1,146 @@ + + + + + + DHBW Calendar - + Anbindung GNU Emacs + + + + + + + + + + +
+ +
+
+
+ + +

GNU Emacs iCalendar Import

+

+ siehe auch + GNU Emacs Manual: 38.12 Importing and Exporting Diary Entries + + . +

+
(require 'url)
+(require 'icalendar)
+
+(defconst dualis-url "https://10.2.2.21/dhbwcalendar/ics")
+(defconst dualis-do-not-ask t)
+
+(defun dualis-import ()
+  (let ((buffer (url-retrieve-synchronously dualis-url)))
+    (save-excursion
+      (set-buffer buffer)
+      (icalendar-import-buffer nil dualis-do-not-ask)
+      (kill-buffer (current-buffer)))))
+			
+
+ + +
+
+
+
+
+ + + -- cgit v1.2.1