From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80095 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.gnus.general Subject: Re: nnir, gnus-goto-article and such Date: Wed, 28 Sep 2011 21:19:38 -0400 Message-ID: References: <87pqinvvg4.fsf@lifelogs.com> <87aa9pu1tx.fsf@lifelogs.com> <878vp8nq6y.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317259245 31689 80.91.229.12 (29 Sep 2011 01:20:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 29 Sep 2011 01:20:45 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28389@lists.math.uh.edu Thu Sep 29 03:20:41 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 1R95Im-00078a-RT for ding-account@gmane.org; Thu, 29 Sep 2011 03:20:41 +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 1R95IY-0003Wq-MO; Wed, 28 Sep 2011 20:20:26 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1R95IX-0003Wb-5N for ding@lists.math.uh.edu; Wed, 28 Sep 2011 20:20:25 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1R95IV-0006nG-R8 for ding@lists.math.uh.edu; Wed, 28 Sep 2011 20:20:25 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1R95IU-0003qc-Fv for ding@gnus.org; Thu, 29 Sep 2011 03:20:22 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R95IT-000734-57 for ding@gnus.org; Thu, 29 Sep 2011 03:20:21 +0200 Original-Received: from 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com ([207.172.223.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Sep 2011 03:20:21 +0200 Original-Received: from dave by 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Sep 2011 03:20:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 66 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) Cancel-Lock: sha1:lwnI4ggoz2Dxt06rzduKyQhQIno= X-Spam-Score: -5.4 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80095 Archived-At: on Wed Sep 28 2011, Ted Zlatanov wrote: >>> or by subject, or by sender? > > DA> You can't split by subject or sender without the registry?! You're > DA> kidding, right? Like I said, I never ask Gnus to shuffle mail into > DA> different folders for me but that seems pretty basic. > > No, I mean it will split to the same group as other articles with the > same subject or sender. So if I put your mails in "dave" it will figure > out it should keep putting new ones in there. ...which always seemed wrong to me. Some subject lines (e.g. "FYI") are so common that it's not a good guide to threading. Since the message has References: and In-Reply-To: headers, why not use those? >>> It lets the user keep registry marks? Are those not exploitative >>> enough? > > DA> What's a user going to *do* with registry marks? That's another tool > DA> whose real utility escapes me. > > It lets the user define any marks they want, without reconfiguring Gnus > and without storing them in the newsrc.eld, by message-ID and not > article number. IIRC, IMAP lets you do that anyway? But anyway, again, why would I want to define new marks? I guess I can think of a use-case, but marks that don't follow me to other mail clients are pretty limited. >>> (defun gnus-registry-handle-action (id from to subject sender >>> &optional recipients) > > DA> Umm, sorry. That function isn't documented. How do I use it? How > DA> would I get the group that gnus-summary-refer-article finds the message > DA> in into the registry? I don't even see a parameter for group. > > id = message ID, a string > from = source group, nil in your case for a new article nil is not useful to me; the whole point of this exercise is to record the group associated with an article. What I'd want to do with the registry is get gnus-summary-refer-article to put in the registry the group in which it finds the article, so gnus-warp-to-article will go to *that* group when I try to get to the whole thread. > to = destination group, your group I don't think I want gnus to remember that the article is in my group. I want it to be like an nnir group, where Gnus remembers the group in which the article was originally found. Note: nnir doesn't use the registry, but has its *own* record of which group was the source of each article. Why? Dunno. > subject, sender, receipients = strings > > The group name is fully qualified IIRC. -- Dave Abrahams BoostPro Computing http://www.boostpro.com