From: Jody Klymak <jklymak@OCE.ORST.EDU>
Subject: Re: [ANNOUNCE] NNDiary to diary.
Date: Fri, 24 Aug 2001 12:55:47 -0700 [thread overview]
Message-ID: <8zg9dygs.fsf@oce.orst.edu> (raw)
In-Reply-To: <muxbslq1qev.fsf@uzeb.lrde.epita.fr>
[-- Attachment #1: Type: text/plain, Size: 1493 bytes --]
Hello,
I have come up with a way to translate nndiary entries to diary
entries. The code is kind of rough (my first real elisp attempt), but
it seems to be working for me.
Motivation: nndiary is great, but you can't see your diary entries in
your calendar or fancy-diary displays.
Solution: For each nndiary group, make a file that gets stored where
the diary entries are stored (i.e. ~/News/diary/diary) called diary
that can be "#include"-d in your ~/diary file
#include "~/News/diary/diary/diary"
I had to slightly modify nndiary.el and gnus-diary.el to make this
work. Don't think I broke anything. Then I made a second file
nndiary-to-diary.el.
Steps:
0) Install nndiary.el as per Didier's instructions
1) Put nndiary-to-diary.el in your load-path
2) edit .gnus:
(require 'nndiary-to-diary)
(add-hook 'nndiary-request-update-info-hooks 'gnus-nndiary-to-diary)
3) edit .emacs
;; Allow calendar and fancy-diary to see the included files
(add-hook 'list-diary-entries-hook 'include-other-diary-files)
(add-hook 'mark-diary-entries-hook 'mark-included-diary-files)
4) edit diary
#include "~/News/diary/diary/diary"
(or wherever your diary messages get put.)
5) Start gnus.
The diary files are updated every time that you update the diary
group (M-g, etc).
Any comments are most welcome. Very much beta software by a very
unknowledgeable lisp programmer. Hopefully Didier or someone else
will polish it up.... However, it seems to mostly work.
Cheers, Jody
[-- Attachment #2: nndiary-to-diary.el --]
[-- Type: application/emacs-lisp, Size: 8778 bytes --]
[-- Attachment #3: gnus-diary.el --]
[-- Type: application/emacs-lisp, Size: 12256 bytes --]
[-- Attachment #4: nndiary.el --]
[-- Type: application/emacs-lisp, Size: 61039 bytes --]
[-- Attachment #5: Type: text/plain, Size: 154 bytes --]
--
Jody M. Klymak mailto:jklymak@oce.orst.edu
College of Oceanic and Atmospheric Sicences
Oregon State University, Corvallis, OR, 97331
next prev parent reply other threads:[~2001-08-24 19:55 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-08 16:12 [ANNOUNCE] NNDiary, a diary backend for Gnus Didier Verna
2001-08-09 1:15 ` Colin Walters
2001-09-04 9:06 ` Didier Verna
2001-08-09 7:20 ` Jody Klymak
2001-08-09 11:14 ` Kai Großjohann
2001-08-09 15:14 ` Jody Klymak
2001-09-04 9:06 ` Didier Verna
2001-08-09 18:51 ` Jody Klymak
2001-08-10 19:10 ` Dan Nicolaescu
2001-08-10 19:14 ` Karl Kleinpaste
2001-08-10 21:07 ` Dan Nicolaescu
2001-08-10 21:49 ` Kai Großjohann
2001-08-10 22:12 ` Kai Großjohann
2001-08-10 22:25 ` Jody Klymak
2001-08-10 22:31 ` Jody Klymak
2001-08-11 0:04 ` Kai Großjohann
2001-08-11 0:27 ` Jody Klymak
2001-08-11 12:13 ` Kai Großjohann
2001-08-11 18:10 ` Jody Klymak
2001-08-11 20:04 ` Jody Klymak
2001-08-11 20:54 ` Kai Großjohann
2001-09-04 8:13 ` Didier Verna
2001-09-04 12:29 ` Kai Großjohann
2001-09-04 15:49 ` Paul Jarc
2001-09-04 8:09 ` Didier Verna
2001-08-11 18:51 ` Amos Gouaux
2001-09-04 8:03 ` Didier Verna
2001-08-11 18:50 ` Amos Gouaux
2001-08-11 20:52 ` Kai Großjohann
2001-08-10 22:50 ` Dan Nicolaescu
2001-08-13 18:29 ` Dan Nicolaescu
2001-09-04 9:06 ` Didier Verna
2001-09-04 9:06 ` Didier Verna
2001-09-04 12:25 ` Kai Großjohann
2001-09-04 15:15 ` Jody Klymak
2001-09-04 16:37 ` Kai Großjohann
2001-08-24 19:55 ` Jody Klymak [this message]
2001-08-25 1:45 [ANNOUNCE] NNDiary to diary Jody Klymak
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=8zg9dygs.fsf@oce.orst.edu \
--to=jklymak@oce.orst.edu \
/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).