From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46411 Path: main.gmane.org!not-for-mail From: Joakim Hove Newsgroups: gmane.emacs.gnus.general Subject: Calling a function in nnmail-split-methods Date: 05 Sep 2002 15:04:20 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1031231030 7615 127.0.0.1 (5 Sep 2002 13:03:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 5 Sep 2002 13:03:50 +0000 (UTC) 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 17mwIX-0001yh-00 for ; Thu, 05 Sep 2002 15:03:49 +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 17mwJI-0003oa-00; Thu, 05 Sep 2002 08:04:37 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 05 Sep 2002 08:05:11 -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 IAA00320 for ; Thu, 5 Sep 2002 08:05:01 -0500 (CDT) Original-Received: (qmail 1732 invoked by alias); 5 Sep 2002 13:04:22 -0000 Original-Received: (qmail 1727 invoked from network); 5 Sep 2002 13:04:22 -0000 Original-Received: from solan.itea.ntnu.no (129.241.190.100) by gnus.org with SMTP; 5 Sep 2002 13:04:22 -0000 Original-Received: from metropolis.phys.ntnu.no.phys.ntnu.nu (metropolis.phys.ntnu.no [129.241.48.32]) by solan.itea.ntnu.no (8.12.1/8.12.1) with ESMTP id g85D4KVL005761 for ; Thu, 5 Sep 2002 15:04:20 +0200 (MET DST) Original-To: ding@gnus.org Original-Lines: 31 User-Agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46411 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46411 Hi, according to the documentation of nnmail-split-methods it should be possible to insert a function instead of a regexp to determine whether a particular mail should go in group xxx, however i can not get the syntax right: (defun hotmail-check () ;; OK - I will take it anyway: 't) (setq nnmail-split-methods '(("mail.hotmail" hotmail-check) ("mail.INBOX" ""))) The function hotmail-check is *never called*, and all messages end up in the mail.INBOX group instead of the mail.hotmail group. I have tried many varieties of quoting and such to no avail. Any tips greatly appreciated. Joakim -- ==== Joakim Hove www.phys.ntnu.no/~hove/ ======================= || Institutt for fysikk (735) 93637 / E3-141 | Skøyensgate 10D || || N - 7491 Trondheim hove@phys.ntnu.no | N - 7030 Trondheim || ================================================= 73 93 31 68 =========