Gnus development mailing list
 help / color / mirror / Atom feed
From: Jan Tatarik <jan.tatarik@gmail.com>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: ding@gnus.org
Subject: Re: ical-events for GNU emacs 23 or xemacs 21.5.32
Date: Sun, 05 May 2013 22:11:43 +0200	[thread overview]
Message-ID: <5n5x2r4nehuqyo.fsf@nb-jtatarik2.xing.hh> (raw)
In-Reply-To: <87sj21qqed.fsf@mat.ucm.es> (Uwe Brauer's message of "Sun, 05 May 2013 19:37:30 +0200")

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



       reply	other threads:[~2013-05-05 20:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87sj21qqed.fsf@mat.ucm.es>
2013-05-05 20:11 ` Jan Tatarik [this message]
2013-05-05 20:18   ` Uwe Brauer
2013-05-05 20:50     ` Jan Tatarik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5n5x2r4nehuqyo.fsf@nb-jtatarik2.xing.hh \
    --to=jan.tatarik@gmail.com \
    --cc=ding@gnus.org \
    --cc=oub@mat.ucm.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).