From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74581 Path: news.gmane.org!not-for-mail From: Andrew Cohen Newsgroups: gmane.emacs.gnus.general Subject: Re: nnir and move Date: Wed, 01 Dec 2010 12:47:39 -0500 Message-ID: <87bp55e66c.fsf@andy.bu.edu> References: <87wrox5jyh.fsf@andy.bu.edu> <87sjzl5jis.fsf@andy.bu.edu> <8739rl5d9d.fsf@andy.bu.edu> <87vd4h3xmh.fsf@andy.bu.edu> <87sjzap2yk.fsf@lifelogs.com> <87lj49eg3n.fsf@andy.bu.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291225696 25463 80.91.229.12 (1 Dec 2010 17:48:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Dec 2010 17:48:16 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22940@lists.math.uh.edu Wed Dec 01 18:48:12 2010 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 1PNqmp-00068c-Vk for ding-account@gmane.org; Wed, 01 Dec 2010 18:48:12 +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 1PNqmb-0005hM-3L; Wed, 01 Dec 2010 11:47:57 -0600 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 1PNqma-0005hA-2c for ding@lists.math.uh.edu; Wed, 01 Dec 2010 11:47:56 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PNqmV-0005UN-J7 for ding@lists.math.uh.edu; Wed, 01 Dec 2010 11:47:55 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PNqmU-0002hd-00 for ; Wed, 01 Dec 2010 18:47:50 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PNqmU-0005wi-K7 for ding@gnus.org; Wed, 01 Dec 2010 18:47:50 +0100 Original-Received: from rain.gmane.org ([80.91.229.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Dec 2010 18:47:50 +0100 Original-Received: from cohen by rain.gmane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Dec 2010 18:47:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: rain.gmane.org User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:H0xWrP9yHCQYWPAVfeI3DP5R7aA= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74581 Archived-At: >>>>> "Lars" == Lars Magne Ingebrigtsen writes: Lars> Andrew Cohen writes: >> gnus-summary-delete-article deletes all the articles in a batch >> (no problem here since it just calls nnir-request-delete-article) >> but then goes through the deleted articles one by one to update >> the registry. So it's not easy to pass the original article group >> through the let mechanism when different articles come from >> different groups. >> >> WDYT? Lars> Hm. That's a sticky problem, yes. It does sound like Lars> special-casing is needed. I don't think the other "virtual" Lars> servers allow deletion or anything else, so the Gnus methods Lars> in this area probably do the wrong thing. Lars> On the other hand, perhaps nnir itself should just do the Lars> stuff that Gnus does wrt. the registry. Right. How about the following: Add gnus-summary-article-delete-hook (and -move-hook) to gnus-summary-local-variables (these are the hooks the registry uses to do its thing). Then nnir can override them in nnir groups and deal with the registry stuff itself. This should be really easy and means all the nnir-specific stuff is confined to nnir.el. Andy