From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74500 Path: news.gmane.org!not-for-mail From: Andrew Cohen Newsgroups: gmane.emacs.gnus.general Subject: deleting articles from search groups? Date: Sun, 28 Nov 2010 16:17:20 -0500 Message-ID: <87eia5p2qn.fsf@andy.bu.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1290979132 6317 80.91.229.12 (28 Nov 2010 21:18:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 28 Nov 2010 21:18:52 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22859@lists.math.uh.edu Sun Nov 28 22:18:48 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 1PMoe0-0005Vk-DS for ding-account@gmane.org; Sun, 28 Nov 2010 22:18:48 +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 1PMocx-00042O-Lo; Sun, 28 Nov 2010 15:17:43 -0600 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 1PMocu-000428-RC for ding@lists.math.uh.edu; Sun, 28 Nov 2010 15:17:40 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PMoct-0000h5-Nm for ding@lists.math.uh.edu; Sun, 28 Nov 2010 15:17:40 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PMocs-0008KD-00 for ; Sun, 28 Nov 2010 22:17:38 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PMocr-00056H-GG for ding@gnus.org; Sun, 28 Nov 2010 22:17:37 +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 ; Sun, 28 Nov 2010 22:17:37 +0100 Original-Received: from cohen by rain.gmane.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Nov 2010 22:17:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 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:VdfF1JPes/+UuuRSImzBHYxOyGA= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74500 Archived-At: I just added the ability to delete articles directly from an nnir buffer (similar to moving them). nnir just passes the delete request up the food chain to the original group holding the article. But after doing this, I'm wondering whether or not this is a good idea. Should we worry that someone might be surprised that an action on the results of a search has the effect of deleting an article permanently from its original group? But you might say the same thing about moving articles. A secondary question (assuming that allowing deletes is the Right Thing) is whether or not I've implemented it correctly:) Deleting articles is done through the 'request-expire-articles function, so I've created one for nnir. But this means that gnus-summary-expire-articles is called on the nnir group upon summary-buffer exit. Stepping through this when exiting an nnir group always shows the list of "expirable" articles as nil and so no harm is done. Is this guaranteed? I'm guessing that since nnir is an "ephemeral" group and doesn't really have marks that the list of expirable articles (gnus-newsgroup-expirable) is always empty? Andy