From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79170 Path: news.gmane.org!not-for-mail From: lee Newsgroups: gmane.emacs.gnus.general Subject: Re: getting nndiary to work Date: Thu, 23 Jun 2011 21:08:26 +0200 Organization: my virtual residence Message-ID: <87ei2knz6d.fsf@yun.yagibdah.de> References: <87wrgdk3r0.fsf@yun.yagibdah.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1308856126 17461 80.91.229.12 (23 Jun 2011 19:08:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Jun 2011 19:08:46 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27469@lists.math.uh.edu Thu Jun 23 21:08:43 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QZpGZ-0005YW-61 for ding-account@gmane.org; Thu, 23 Jun 2011 21:08:39 +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 1QZpGR-0005i7-IS; Thu, 23 Jun 2011 14:08:31 -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 1QZpGP-0005hv-Ph for ding@lists.math.uh.edu; Thu, 23 Jun 2011 14:08:29 -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 1QZpGO-000625-LJ for ding@lists.math.uh.edu; Thu, 23 Jun 2011 14:08:29 -0500 Original-Received: from static.73.179.46.78.clients.your-server.de ([78.46.179.73]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QZpGM-0000IO-VY for ding@gnus.org; Thu, 23 Jun 2011 21:08:27 +0200 Original-Received: from lee by yun.yagibdah.de with local (Exim 4.76) (envelope-from ) id 1QZpGM-000437-EW for ding@gnus.org; Thu, 23 Jun 2011 21:08:26 +0200 Mail-Followup-To: ding@gnus.org In-Reply-To: (Didier Verna's message of "Thu, 23 Jun 2011 09:35:44 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-1841--5929h-0s--0d--H*u:Emacs, 0.000-1712--5512h-0s--0d--H*u:Gnus, 0.000-1643--5291h-0s--0d--H*u:linux, 0.000-1643--5291h-0s--0d--H*UA:linux, 0.000-1592--5126h-0s--0d--H*UA:gnu Spam tokens: 0.956-4117--1375h-51457s--0d--H*r:quimby.gnus.org, 0.925-238--192h-4027s--0d--H*r:sk:static., 0.881-1442--4080h-51737s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.881-1442--4080h-51737s--0d--H*RU:quimby.gnus.org, 0.881-1267--3683h-46381s--0d--H*Ad:D*gnus.org Autolearn status: no -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 2.0 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79170 Archived-At: Didier Verna writes: > lee wrote: > >> Unfortunately, nndiary doesn=C2=B4t do anything. > > I've just sent myself a new diary message with all X-Diary header set > to * and X-Diary-Minute to 45, and it's popping up as new as expected. > > Messages from diary groups are supposed to be renewed according to the > value of nndiary-reminders, maybe that's what you're missing ? Yes, that was missing. I looked at [1] and added (setq nndiary-reminders '((7 . day) (0 . day) (60 . minute) (15 . minute) (0 . minute))) Having set nndiary-reminders does make a difference in that nndiary now reads incoming mail and removes it from the ~/.nndiary mbox-file. It prints messages into the message buffer about it like: ,---- [ *Messages* ] | Reading active file from diary via nndiary... | Opening nndiary server on diary...done | nndiary: Reading incoming mail from file... | Wrote /home/lee/News/diary/nndiary:diary/12 | nndiary: Reading incoming mail (1 new)...done | Reading active file from diary via nndiary...done | Reading active file from news1.open-news-network.org via nntp... `---- However, mail read by nndiary doesn't show up anywhere in gnus, and I'm not getting any reminders. The files seem to be there, though: ,---- [ lee@yun:~$ ls -laR ~/News/diary/ ] | /home/lee/News/diary/: | insgesamt 20 | drwxr-xr-x 4 lee lee 4096 23. Jun 20:51 . | drwxr-xr-x 7 lee lee 4096 23. Jun 15:23 .. | -rw-r--r-- 1 lee lee 33 23. Jun 20:51 active | drwxr-xr-x 2 lee lee 4096 16. Jun 16:32 diary | drwxr-xr-x 2 lee lee 4096 23. Jun 20:51 nndiary:diary |=20 | /home/lee/News/diary/diary: | insgesamt 20 | drwxr-xr-x 2 lee lee 4096 16. Jun 16:32 . | drwxr-xr-x 4 lee lee 4096 23. Jun 20:51 .. | -rw------- 1 lee lee 1158 16. Jun 12:39 1 | -rw------- 1 lee lee 486 16. Jun 16:32 2 | -rw------- 1 lee lee 354 16. Jun 16:32 .overview |=20 | /home/lee/News/diary/nndiary:diary: | insgesamt 60 | drwxr-xr-x 2 lee lee 4096 23. Jun 20:51 . | drwxr-xr-x 4 lee lee 4096 23. Jun 20:51 .. | -rw------- 1 lee lee 950 23. Jun 02:05 1 | -rw------- 1 lee lee 856 23. Jun 19:24 10 | -rw------- 1 lee lee 846 23. Jun 20:05 11 | -rw------- 1 lee lee 840 23. Jun 20:51 12 | -rw------- 1 lee lee 1189 23. Jun 02:05 2 | -rw------- 1 lee lee 862 23. Jun 02:05 3 | -rw------- 1 lee lee 858 23. Jun 02:05 4 | -rw------- 1 lee lee 882 23. Jun 02:05 5 | -rw------- 1 lee lee 843 23. Jun 02:05 6 | -rw------- 1 lee lee 862 23. Jun 02:05 7 | -rw------- 1 lee lee 851 23. Jun 02:06 8 | -rw------- 1 lee lee 923 23. Jun 02:06 9 | -rw------- 1 lee lee 2163 23. Jun 20:51 .overview `---- What's with "/home/lee/News/diary/diary/"? Is that a leftover from my trying to get it to work? [1]: http://www.linux-france.org/article/appli/emacs/bibliotheque/.gnus.el ((7 . day) (0 . day) (60 . minute) (15 . minute) (0 . minute)) I'm not sure what it means, though. I'm guessing it means I should be reminded 7 days in advance of the date, then on the day of the date 60 minutes, 15 minutes and 0 minutes in advance of the date.