From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84750 Path: news.gmane.org!not-for-mail From: Christopher Culver Newsgroups: gmane.emacs.gnus.general Subject: Hooks for moving an article and for setting it expirable Date: Tue, 05 Aug 2014 19:26:21 +0300 Message-ID: <87silaykb6.fsf@aura.christopherculver.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1407443665 24715 80.91.229.3 (7 Aug 2014 20:34:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Aug 2014 20:34:25 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32992@lists.math.uh.edu Thu Aug 07 22:34:18 2014 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 1XFUO9-000165-MQ for ding-account@gmane.org; Thu, 07 Aug 2014 22:34:18 +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 1XFUMs-0001V4-BO; Thu, 07 Aug 2014 15:32:58 -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 1XEhZa-0005DR-8B for ding@lists.math.uh.edu; Tue, 05 Aug 2014 11:26:50 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XEhZP-0005gK-Cz for ding@lists.math.uh.edu; Tue, 05 Aug 2014 11:26:49 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XEhZN-0007hN-4z for ding@gnus.org; Tue, 05 Aug 2014 18:26:37 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XEhZM-0004DC-SF for ding@gnus.org; Tue, 05 Aug 2014 18:26:36 +0200 Original-Received: from 188.24.92.57 ([188.24.92.57]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Aug 2014 18:26:36 +0200 Original-Received: from crculver by 188.24.92.57 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Aug 2014 18:26:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 9 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 188.24.92.57 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:rVTuwFkqSY7kIYaQl4P4vf/hhpM= X-Spam-Score: 1.2 (+) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0825 Ham tokens: 0.000-2403--17754h-0s--0d--H*u:Emacs, 0.000-283--2087h-0s--0d--H*u:Gnus, 0.000-283--2087h-0s--0d--H*UA:Gnus, 0.000-273--2015h-0s--0d--H*u:linux, 0.000-273--2015h-0s--0d--H*UA:linux Spam tokens: 0.992-23246--1140h-99601s--0d--HTo:D*gnus.org, 0.991-24089--1194h-103264s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.991-24089--1194h-103264s--0d--H*RU:quimby.gnus.org, 0.990-23844--1440h-103269s--0d--HX-Spam-Relays-Internal:quimby.gnus.org, 0.990-23844--1440h-103269s--0d--H*RT:80.91.231.51 Autolearn status: no 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.0 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [80.91.229.3 listed in list.dnswl.org] -0.0 BAYES_20 BODY: Bayes spam probability is 5 to 20% [score: 0.0825] 1.7 FSL_HELO_BARE_IP_2 FSL_HELO_BARE_IP_2 List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84750 Archived-At: I’d like to configure gnus so that when I move (with the keyboard command B m) an e-mail out of my inbox into another mail group, it automatically runs the article through a pipe (to train my spam filter). Ditto for setting an message expirable (with the keyboard command E). I’ve had a look at the "Function Hooks" chapter in the Gnus manual, but I cannot find an appropriate hook for when an article is moved or when it is marked expirable. Do such hooks exist?