From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/38581 Path: main.gmane.org!not-for-mail From: Didier Verna Newsgroups: gmane.emacs.gnus.general Subject: Re: [ANNOUNCE] NNDiary, a diary backend for Gnus. Date: Tue, 04 Sep 2001 10:13:45 +0200 Message-ID: References: <3d6z5z8c.fsf@oce.orst.edu> <3d6ya2nk.fsf@oce.orst.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035174423 23311 80.91.224.250 (21 Oct 2002 04:27:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:27:03 +0000 (UTC) Cc: Jody Klymak , ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 16444 invoked from network); 4 Sep 2001 08:59:19 -0000 Original-Received: from hermes.epita.fr (163.5.255.10) by gnus.org with SMTP; 4 Sep 2001 08:59:19 -0000 Original-Received: from goa.lrde.epita.fr (mail@goa.lrde.epita.fr [10.223.13.2]) by hermes.epita.fr id f84AvaL10028 Tue, 4 Sep 2001 10:57:36 GMT Original-Received: from uzeb.lrde.epita.fr ([10.223.13.53] ident=mail) by goa.lrde.epita.fr with esmtp (Exim 3.31 #1 (Debian)) id 15eCBm-000185-00; Tue, 04 Sep 2001 11:08:10 +0200 Original-Received: from didier by uzeb.lrde.epita.fr with local (Exim 3.32 #1 (Debian)) id 15eCAL-0006W7-00; Tue, 04 Sep 2001 11:06:41 +0200 Original-To: Kai.Grossjohann@cs.uni-dortmund.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) X-Attribution: drv X-Url: http://www.lrde.epita.fr/~didier X-Web: http://www.lrde.epita.fr/~didier X-Home-Page: http://www.lrde.epita.fr/~didier In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Sat, 11 Aug 2001 22:54:54 +0200") X-Face: |j}\)O|k##MrRz#VK$Jy=0r=3Qc,,a/Tr6*JQbE73dy17]2YcmW$9Z&H21e}#~#pgc>dn(is5Bv1l!{1re+Q9suKIOUmOqZs2>QMxHlR;;}kaGYA@HR3D C6 X-Face: 6o|eiKqaHN.ANh8HXDzntcWUOCg\]RsOd.ctvm~*y}Y^R&*a+Co,\s#=HWsw3x$b_n2kJ#g (7u?J^@^xP)f,jUF|0Z'J:|G/bMA5O12*b,7`-Q`=pKsCRIpso07.Y>YB2H{7`?u&yh;C_ZtLHfj Jody Klymak writes: > >> nndiary-request-update-info calculates whether a message is read or >> not based on the schedule for the message. It then sets the message >> as unread - without entering the summary buffer. Without this nndiary >> wouldn't be much good at reminding you of appointments. > > That's a good point. Hm. So, I guess what we want is a > gnus-backend-request-update-info-hook, and nndiary (or gnus-diary) > could hang its fancy stuff off of that. > > I wonder what Didier is going to think of that... Here's my point of view: nndiary is a backend for the same reason as nndraft is one. That's because the article renewing feature is implemented = via the request-update-info backend function. All features not belonging to the backend are already part of the upper layer called gnus-diary. Giving control on the renewing mecanism to the user for *any* mail (news ?, perhaps cached ones) is a very natural idea: when I receive and interesting call for papers in my nnml:virtual-reality group, I'd like it to pop up from time to time in this very group until the deadline arrives. BTW, the same applies to draft messages IMO. People might type `C-u a' on a grou= p to start editing a message, and prefer that the draft stays in this group. However, if we want to extract this feature from the backends, we'll have to change the implementation. It's not reasonable to scan *all* messag= es in each group to see if they have to be renewed. We'll have to store this information somewhere. The ideal case would also be to disconnect the featu= re from the update-info routines. In other words, it shouldn't be necessary to have to type `g' in order to see messages renewed. The use of timers comes = to mind, but I don't currently have a clear view on the complexity of such kind of implementation. Another idea that just came to my mind: if we ever have a global renewing mechanism, we'd probably like to have special summary lines for th= ese messages. Let's implement an X-Gnus-Summary-Line-Format header ... -- Didier Verna, didier@lrde.epita.fr, http://www.lrde.epita.fr/~didier EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (1) 53 14 59 47 94276 Le Kremlin-Bic=EAtre, France Fax.+33 (1) 44 08 01 99 didier@xemac= s.org