From d0b58c5a017d45f7c3667c2d88391feef58ba6fb Mon Sep 17 00:00:00 2001 From: yvesf Date: Fri, 25 Mar 2011 22:11:15 +0100 Subject: Doku: Anbindung Emacs --- src/site/xdoc/user-emacs.xml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/site/xdoc/user-emacs.xml (limited to 'src/site/xdoc/user-emacs.xml') diff --git a/src/site/xdoc/user-emacs.xml b/src/site/xdoc/user-emacs.xml new file mode 100644 index 0000000..2df021e --- /dev/null +++ b/src/site/xdoc/user-emacs.xml @@ -0,0 +1,35 @@ + + + + Anbindung GNU Emacs + Yves Fischer + 24.02.2011 + + + +
+

+ 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