From: Jody Klymak <jklymak@OCE.ORST.EDU>
Subject: [ANNOUNCE] NNDiary to diary.
Date: Fri, 24 Aug 2001 18:45:00 -0700 [thread overview]
Message-ID: <vgjcc3qb.fsf@oce.orst.edu> (raw)
[-- Attachment #1: Type: text/plain, Size: 1568 bytes --]
Hello,
Hmmm, sorry if this got sent twice, but it hasn't shown up on the list...
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 reply other threads:[~2001-08-25 1:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-25 1:45 Jody Klymak [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-08-08 16:12 [ANNOUNCE] NNDiary, a diary backend for Gnus Didier Verna
2001-08-24 19:55 ` [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=vgjcc3qb.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).