From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83121 Path: news.gmane.org!not-for-mail From: Jan Tatarik Newsgroups: gmane.emacs.gnus.general Subject: Re: ical-events for GNU emacs 23 or xemacs 21.5.32 Date: Sun, 05 May 2013 22:11:43 +0200 Message-ID: <5n5x2r4nehuqyo.fsf@nb-jtatarik2.xing.hh> References: <87sj21qqed.fsf@mat.ucm.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1367784792 2275 80.91.229.3 (5 May 2013 20:13:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 May 2013 20:13:12 +0000 (UTC) Cc: ding@gnus.org To: Uwe Brauer Original-X-From: ding-owner+M31387@lists.math.uh.edu Sun May 05 22:13:08 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UZ5Iv-00066z-ST for ding-account@gmane.org; Sun, 05 May 2013 22:13:06 +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 1UZ5Hq-0002pK-TU; Sun, 05 May 2013 15:11:58 -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 1UZ5Hp-0002p2-J8 for ding@lists.math.uh.edu; Sun, 05 May 2013 15:11:57 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1UZ5Hm-0002HC-F7 for ding@lists.math.uh.edu; Sun, 05 May 2013 15:11:55 -0500 Original-Received: from mail-bk0-f42.google.com ([209.85.214.42]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1UZ5Hj-0004Qm-Vt for ding@gnus.org; Sun, 05 May 2013 22:11:52 +0200 Original-Received: by mail-bk0-f42.google.com with SMTP id j4so1326123bkw.29 for ; Sun, 05 May 2013 13:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=xRlBlvEvS6NbLEV5Q665+yrR7LCqCWIqUPu1nTmBgSo=; b=gFIXfgHldvWpIE5kLwMxylBScGCeISWtFVojbmDRrfKmlnGSRcBKt/P8+TfbK1f/3l 5tFm6vyrURWvIImN7FZKkie/NqCIEo1LPta+kEvxDnSJaMVJ6H4YGn6DAh0o0jYgjiHM H8XkH+IrwN28wEWUYaHujcs8NQv/cPKTBtzrr1lEb0SIueXWd1LjdY68HVGmtF1rLaMC ycUdtWBhUsHBa0y5I9T8ZvOzEDwCVOhVl5yvs+aEzK/4AzW0Y1aGx/7zgFLV3cF2wyaD v3l9YuYsbEwF617p/gu/IXJY76JtYGlqht3yoZofOoY7v7Z6UVj8WBBx5vCM76aZSsm8 eOeA== X-Received: by 10.205.115.73 with SMTP id fd9mr7269169bkc.58.1367784706523; Sun, 05 May 2013 13:11:46 -0700 (PDT) Original-Received: from nb-jtatarik2.xing.hh (d207134.adsl.hansenet.de. [80.171.207.134]) by mx.google.com with ESMTPSA id f4sm4621647bkz.14.2013.05.05.13.11.44 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 05 May 2013 13:11:45 -0700 (PDT) In-Reply-To: <87sj21qqed.fsf@mat.ucm.es> (Uwe Brauer's message of "Sun, 05 May 2013 19:37:30 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Spam-Score: 0.0 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83121 Archived-At: On Sun, May 05 2013, Uwe Brauer wrote: > Hello > I just learnt about your package. I cannot compile it neither in GNU > emacs 23 (cannot find eieio) > nor in Xemacs 21.5.32 cannot find cl-lib. > Especially cl-lib, what does it contain? cl-lib contains elisp equivalents of some Common Lisp macros, I think this is Emacs 24 specific. ical-event was developed using Emacs 24, so compatibility with any other version or flavor of Emacs would be purely accidental. I want to eventually get the feature in Gnus proper, so if you have a look at https://github.com/jtatarik/gnus/blob/icalendar/lisp/gnus-icalendar.el you should find a newer version of the code with some of the Emacs24 specifics removed. I have not tested the code against any other Emacs versions/flavors yet, so I cannot guarantee it will work for you immediately, but cl-lib is not a dependency anymore. eieio still is, however, and if it is not shipped with your Emacs you will want to install the cedet package http://cedet.sourceforge.net/ I would be happy if you could give it a try with other Emacs versions and let me know the results. The gnus-icalendar.el file needs fairly recent version of Gnus (uses gmm-flet from gmm-utils.el). My current setup is like this: #+BEGIN_SRC emacs-lisp (require 'gmm-utils "~/repos/gnus/lisp/gmm-utils.el") ;; gmm-flet not in emacs ;; proper yet (require 'gnus-icalendar "~/repos/gnus/lisp/gnus-icalendar.el") (gnus-icalendar-setup) (setq gnus-icalendar-org-capture-file "~/org/notes.org") (setq gnus-icalendar-org-capture-headline '("Calendar")) (gnus-icalendar-org-setup) #+END_SRC gnus-icalendar.el and the old ical-event are mostly identical with regard to functionality. The one big improvement in gnus-icalendar is you can refile your org events after capturing them, and gnus will still find them. Once again, I would be happy to hear about your experience when running under Emacs 23 or XEmacs. Thanks, Jan