From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16335 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.user Subject: Re: Some Gnus Registry questions Date: Sun, 16 Jun 2013 05:17:32 -0400 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: References: <87k3m2ihdx.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1371374407 16809 80.91.229.3 (16 Jun 2013 09:20:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Jun 2013 09:20:07 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sun Jun 16 11:20:09 2013 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uo984-0005Ne-A4 for gegu-info-gnus-english@m.gmane.org; Sun, 16 Jun 2013 11:20:08 +0200 Original-Received: from localhost ([::1]:53170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uo983-000741-S9 for gegu-info-gnus-english@m.gmane.org; Sun, 16 Jun 2013 05:20:07 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 28 Original-NNTP-Posting-Host: 11.79-161-196.customer.lyse.net Original-X-Trace: quimby.gnus.org 1371374252 16665 79.161.196.11 (16 Jun 2013 09:17:32 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sun, 16 Jun 2013 09:17:32 +0000 (UTC) User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (darwin) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Cancel-Lock: sha1:mdLISDchAgSFwTeRh+ME6Iwfw9U= Original-Xref: usenet.stanford.edu gnu.emacs.gnus:87462 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:16335 Archived-At: On Thu, 13 Jun 2013 08:08:40 +0200 Tassilo Horn wrote: TH> Ok, so now I've set gnus-registry-track-extra to nil in order to make TH> the registry only track message ids. That works fine for new articles, TH> but is there a way to remove the sender, recipients, and subjects from TH> old articles that are already contained in the registry? TH> `gnus-registry-remake-db' looks like it will erase all information, so TH> I've not tried that so far. I have definitely not needed this so far :) You can probably write it starting with `gnus-registry-remove-ignored' for the iteration across all articles and for each article, do something like this (untested): (defun gnus-registry-remove-id-key (id key) (let ((db gnus-registry-db) (entry (gnus-registry-get-or-make-entry id))) (registry-delete db (list id) nil) (setq entry (assq-delete-all key entry)) (gnus-registry-insert db id entry) entry)) where `key' is 'subject for example. If that works for you, I can add both a more generic iteration and the remove function above. Ted