From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46518 Path: main.gmane.org!not-for-mail From: jhbrown@ai.mit.edu (Jeremy H. Brown) Newsgroups: gmane.emacs.gnus.general Subject: Re: spam*.el and ifile-gnus.el? Date: 12 Sep 2002 23:39:10 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: <8765xdva0q.fsf@emacswiki.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031888396 4116 127.0.0.1 (13 Sep 2002 03:39:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 13 Sep 2002 03:39:56 +0000 (UTC) Cc: ding@gnus.org Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17phJB-000141-00 for ; Fri, 13 Sep 2002 05:39:53 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17phIn-0004kO-00; Thu, 12 Sep 2002 22:39:29 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 12 Sep 2002 22:40:06 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id WAA15496 for ; Thu, 12 Sep 2002 22:39:54 -0500 (CDT) Original-Received: (qmail 19614 invoked by alias); 13 Sep 2002 03:39:12 -0000 Original-Received: (qmail 19609 invoked from network); 13 Sep 2002 03:39:12 -0000 Original-Received: from life.ai.mit.edu (128.52.32.80) by gnus.org with SMTP; 13 Sep 2002 03:39:12 -0000 Original-Received: from suspiria.ai.mit.edu (suspiria [128.52.39.94]) by life.ai.mit.edu (8.12.2/8.12.2/BASENAME(ai.master.life-8.12.2.mc,.mc):RCS_REVISION(evision: 1.23 ) with ESMTP id g8D3dBbM025266; Thu, 12 Sep 2002 23:39:11 -0400 (EDT) Original-Received: by suspiria.ai.mit.edu (8.8.8/1.1.19.2/08Jul98-0847PM) id XAA0000028822; Thu, 12 Sep 2002 23:39:10 -0400 (EDT) Original-To: David Aspinwall In-Reply-To: Original-Lines: 29 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46518 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46518 Interesting problem. There isn't currently a better mechanism than what you've done, but I'll add one. I'd like suggestions on what it should look like. Some options: (ifile-set-active bool), or (ifile-activate) and (ifile-deactivate), or (with-ifile-inactive body) Preferences? Other ideas? Thanks, Jeremy David Aspinwall writes: > I like ifile-gnus.el, but one problem I have is that I use > nnmail-expiry-target to expire articles into a group. When > that happens, ifile gets run. I don't really want things > split into the expired articles group though. I'm using a > hack which seems to work: > > (defadvice nnmail-expiry-target-group > (around do-not-run-ifile-when-expiring activate) > "Don't run ifile when doing expiry" > (let ((ifile-program "/bin/true")) > ad-do-it)) > > but that's pretty ugly. Is there any better way to do it?