From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64899 Path: news.gmane.org!not-for-mail From: Dave Goldberg Newsgroups: gmane.emacs.gnus.general Subject: Re: calendar integration (ical) with Gnus Date: Thu, 05 Jul 2007 18:19:26 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1183674046 23506 80.91.229.12 (5 Jul 2007 22:20:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Jul 2007 22:20:46 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13409@lists.math.uh.edu Fri Jul 06 00:20:45 2007 connect(): Connection refused Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1I6Zgm-0006b4-EE for ding-account@gmane.org; Fri, 06 Jul 2007 00:20:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1I6Zfq-0003mT-0W; Thu, 05 Jul 2007 17:19:42 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1I6Zfo-0003mD-98 for ding@lists.math.uh.edu; Thu, 05 Jul 2007 17:19:40 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1I6Zfk-0001CY-PT for ding@lists.math.uh.edu; Thu, 05 Jul 2007 17:19:40 -0500 Original-Received: from vms042pub.verizon.net ([206.46.252.42]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1I6Zfj-0004KL-00 for ; Fri, 06 Jul 2007 00:19:36 +0200 Original-Received: from davestoy.homelinux.org.verizon.net ([71.174.120.12]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JKQ00LE18OEPHR5@vms042.mailsrvcs.net> for ding@gnus.org; Thu, 05 Jul 2007 17:19:30 -0500 (CDT) X-Face: W!bie|rYVd43O:2CkHTb*~s5}Yzx30X<@6Tq_bnP56Hp!xX4sVl4tgYRirjRcke\wfY!JJ9 i?]VIUJicJzq2\!3%7$5R%wi!R[.]Va97q In-reply-to: (Trey Jackson's message of "Thu, 05 Jul 2007 09:17:14 -0700") User-Agent: Gnus/5.110007 (No Gnus v0.7) XEmacs/21.4.20 (linux) X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64899 Archived-At: I use icalendar.el () and have this in my .xemacs/init.el for added support: (require 'icalendar) (defun dsg-icalendar-handle-part (handle) (when (equal (car (mm-handle-type handle)) "text/calendar") (with-temp-buffer (insert (mm-get-part handle)) (goto-char (point-min)) (let* ((e (car (icalendar--all-events (icalendar--read-element nil nil)))) (subject (icalendar--convert-string-for-import (or (icalendar--get-event-property e 'SUMMARY) "No Subject"))) (dtstart (icalendar--get-event-property e 'DTSTART)) (dtstart-dec (icalendar--decode-isodatetime dtstart)) (start-d (icalendar--datetime-to-diary-date dtstart-dec)) (start-t (icalendar--datetime-to-colontime dtstart-dec))) (if (y-or-n-p (format "Add appointment for \"%s\" on %s at %s to diary? " subject start-d start-t)) (icalendar-import-buffer (expand-file-name "~/ical-diary") t nil)))))) (setq gnus-article-mime-part-function 'dsg-icalendar-handle-part) The above results in my being prompted to add appointments generated by Exchange into a diary file. -- Dave Goldberg david.goldberg6@verizon.net