* Re: ical-events for GNU emacs 23 or xemacs 21.5.32
[not found] <87sj21qqed.fsf@mat.ucm.es>
@ 2013-05-05 20:11 ` Jan Tatarik
2013-05-05 20:18 ` Uwe Brauer
0 siblings, 1 reply; 3+ messages in thread
From: Jan Tatarik @ 2013-05-05 20:11 UTC (permalink / raw)
To: Uwe Brauer; +Cc: ding
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ical-events for GNU emacs 23 or xemacs 21.5.32
2013-05-05 20:11 ` ical-events for GNU emacs 23 or xemacs 21.5.32 Jan Tatarik
@ 2013-05-05 20:18 ` Uwe Brauer
2013-05-05 20:50 ` Jan Tatarik
0 siblings, 1 reply; 3+ messages in thread
From: Uwe Brauer @ 2013-05-05 20:18 UTC (permalink / raw)
To: Jan Tatarik; +Cc: ding
[-- Attachment #1: Type: text/plain, Size: 2121 bytes --]
>> "Jan" == Jan Tatarik <jan.tatarik@gmail.com> writes:
> On Sun, May 05 2013, Uwe Brauer wrote:
>> Hello
> 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.
Thanks for you fast answer.
> 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.
This is very good, thanks
> 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/
Ok that I have installed for Xemacs.
> 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).
Hm I have "Ma Gnus v0.6", is this recent enough or shall I have to
upgrade to 0.7?
> 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
I have using so far Ulfs old icalendar package which works with diary,
but I was looking for something a bit more modern than diary.
When I have success I let you know, otherwise I have to wait till June
to try to port it...
Uwe
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5556 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ical-events for GNU emacs 23 or xemacs 21.5.32
2013-05-05 20:18 ` Uwe Brauer
@ 2013-05-05 20:50 ` Jan Tatarik
0 siblings, 0 replies; 3+ messages in thread
From: Jan Tatarik @ 2013-05-05 20:50 UTC (permalink / raw)
To: Uwe Brauer; +Cc: ding
On Sun, May 05 2013, Uwe Brauer wrote:
[...]
> > 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).
> Hm I have "Ma Gnus v0.6", is this recent enough or shall I have to
> upgrade to 0.7?
The required macro (gmm-flet) is in Gnus since last December, but
whether it's present in your installation, I don't know.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-05-05 20:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <87sj21qqed.fsf@mat.ucm.es>
2013-05-05 20:11 ` ical-events for GNU emacs 23 or xemacs 21.5.32 Jan Tatarik
2013-05-05 20:18 ` Uwe Brauer
2013-05-05 20:50 ` Jan Tatarik
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).