From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75894 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Automatically processing plain text attachments Date: Mon, 24 Jan 2011 14:00:09 -0800 Organization: Programmerer Ingebrigtsen Message-ID: <87ei82otcm.fsf@gnus.org> References: <877hdvf11u.fsf@berkeley.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1295906457 4986 80.91.229.12 (24 Jan 2011 22:00:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 24 Jan 2011 22:00:57 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M24245@lists.math.uh.edu Mon Jan 24 23:00:53 2011 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 1PhUSy-0005z8-FD for ding-account@gmane.org; Mon, 24 Jan 2011 23:00:52 +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 1PhUSr-0007nd-C7; Mon, 24 Jan 2011 16:00:45 -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 1PhUSq-0007nW-78 for ding@lists.math.uh.edu; Mon, 24 Jan 2011 16:00:44 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PhUSl-0000wt-Tt for ding@lists.math.uh.edu; Mon, 24 Jan 2011 16:00:44 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PhUSl-00048I-6Q for ding@gnus.org; Mon, 24 Jan 2011 23:00:39 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PhUSk-0005ss-U0 for ding@gnus.org; Mon, 24 Jan 2011 23:00:38 +0100 Original-Received: from baybryj.net ([198.144.208.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Jan 2011 23:00:38 +0100 Original-Received: from larsi by baybryj.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 24 Jan 2011 23:00:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: baybryj.net Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:yzQyrIAMAWoA2pWERpQx/FCNeB8= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75894 Archived-At: Richard Lawrence writes: > Perhaps my question boils down to: what hooks are available in Gnus that > would allow me batch process the full content of these paper-submission > emails at the time they are split from my inbox (without having to > download the full content of *every* mail, e.g., by setting > nnimap-split-download-body)? Hm... I don't think there's any easy way to hook that up. The -download-body thing is done sort of "top level" before noticing what groups the articles are supposed to go to. The only this that occurs to me immediately is to look at the `nnmail-split-trace' variable after the split has finished. If new messages has shown up in your special group, then do, er, stuff based on that. For instance, request the new messages one by one, and run some filtering stuff... It's just a small matter of programming. :-) -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen