From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81612 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.gnus.general Subject: [PATCH 2/5] Record information in the registry about each article retrieved Date: Thu, 15 Mar 2012 14:23:10 -0400 Message-ID: <1331835793-70228-3-git-send-email-dave@boostpro.com> References: <1331835793-70228-1-git-send-email-dave@boostpro.com> NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1331835934 18868 80.91.229.3 (15 Mar 2012 18:25:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Mar 2012 18:25:34 +0000 (UTC) Cc: Dave Abrahams To: ding@gnus.org Original-X-From: ding-owner+M29891@lists.math.uh.edu Thu Mar 15 19:25:31 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S8FMa-000051-Cy for ding-account@gmane.org; Thu, 15 Mar 2012 19:25:24 +0100 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 1S8FLm-0003gf-VM; Thu, 15 Mar 2012 13:24:35 -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 1S8FLm-0003gY-3X for ding@lists.math.uh.edu; Thu, 15 Mar 2012 13:24:34 -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 1S8FLM-0006nD-Tn for ding@lists.math.uh.edu; Thu, 15 Mar 2012 13:24:33 -0500 Original-Received: from mail-yw0-f44.google.com ([209.85.213.44]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1S8FLL-0000fq-9x for ding@gnus.org; Thu, 15 Mar 2012 19:24:07 +0100 Original-Received: by yhkk25 with SMTP id k25so886418yhk.17 for ; Thu, 15 Mar 2012 11:24:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=5iSWrRh/yB1fulA5rYFLivTZ8tcMT1Z/7PcSo7SQTCc=; b=GI6wa2NOxazCIBHspUv7mr4Sqs3YRFYshvuxrLlgi9NbdoTatOrRz82RIoAhRniDvy aVYprFD9AbjIjLs6y9lXRQquUN3k1IOpa3aVfliIhP0E8Xyn3MJ+1PNZhIlIHZ48gFCd 8692W04P62L3ywvhHCAsu+hI9pUGuYanulFX0SQOv8n/luaOuwbJfENgchYTYnHU7LXL JQtKuR9eEaOguXaNoupnZneZiYvba4pyxblNdn5DXETpeCTWEsZfdwWWMqumfQdx7LQy FIVu+5fTZMObmXTRbD68c3Nsux7KIeV3pEUD3Svm8xXr58AkQkBREzrwcQ8+z0QUjUIz oVFg== Original-Received: by 10.224.218.10 with SMTP id ho10mr307296qab.16.1331835841479; Thu, 15 Mar 2012 11:24:01 -0700 (PDT) Original-Received: from pluto.luannocracy.com (207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com. [207.172.223.249]) by mx.google.com with ESMTPS id z6sm5378736qap.17.2012.03.15.11.24.00 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Mar 2012 11:24:01 -0700 (PDT) X-Mailer: git-send-email 1.7.9.2 In-Reply-To: <1331835793-70228-1-git-send-email-dave@boostpro.com> X-Gm-Message-State: ALoCoQk1UIHavmFGEzpda66YDnmJ7H7KRFw7U8RWxD7iPrLZOUDr1vLDitdgWzxiCk1NiwpXmmUI X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81612 Archived-At: --- lisp/gnus-sum.el | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el index 8c7334a..b37562d 100644 --- a/lisp/gnus-sum.el +++ b/lisp/gnus-sum.el @@ -12428,6 +12428,13 @@ If REVERSE, save parts that do not match TYPE." (not (setq header (car (gnus-get-newsgroup-headers nil t))))) () ; Malformed head. (unless (gnus-summary-article-sparse-p (mail-header-number header)) + (when (and (bound-and-true-p gnus-registry-enabled) + (not (gnus-ephemeral-group-p (car where)))) + (gnus-registry-handle-action + (mail-header-id header) nil + (gnus-group-prefixed-name (car where) gnus-override-method) + (mail-header-subject header) + (mail-header-from header))) (when (and (stringp id) (or (not (string= (gnus-group-real-name group) -- 1.7.5.4