From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/17279 Path: news.gmane.org!not-for-mail From: Rupert Swarbrick Newsgroups: gmane.emacs.gnus.user Subject: Two nnimap splitting questions Date: Thu, 04 Dec 2014 09:12:19 +0000 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8824305466643490205==" X-Trace: ger.gmane.org 1417709286 6530 80.91.229.3 (4 Dec 2014 16:08:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2014 16:08:06 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Dec 04 17:08:00 2014 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XwYwg-0004vB-Oj for gegu-info-gnus-english@m.gmane.org; Thu, 04 Dec 2014 17:07:58 +0100 Original-Received: from localhost ([::1]:46476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwYwg-00035s-Ae for gegu-info-gnus-english@m.gmane.org; Thu, 04 Dec 2014 11:07:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwYwX-00035e-3D for info-gnus-english@gnu.org; Thu, 04 Dec 2014 11:07:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwYwQ-0003fH-RN for info-gnus-english@gnu.org; Thu, 04 Dec 2014 11:07:49 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:54615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwYwQ-0003f9-Li for info-gnus-english@gnu.org; Thu, 04 Dec 2014 11:07:42 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XwYwP-0004kl-Fx for info-gnus-english@gnu.org; Thu, 04 Dec 2014 17:07:41 +0100 Original-Received: from host-92-16-147-145.as13285.net ([92.16.147.145]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Dec 2014 17:07:41 +0100 Original-Received: from rswarbrick by host-92-16-147-145.as13285.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Dec 2014 17:07:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 63 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: host-92-16-147-145.as13285.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:17279 Archived-At: --===============8824305466643490205== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain I'm using Gnus at work (yay!) with nnimap. After quite a bit of fiddling, I eventually got fancy splitting working based on nnimap-split-methods. However, there are two things confusing me: 1. In the Client-Side IMAP splitting page of the Gnus manual, there's this example: (nnimap "imap.example.com" (nnimap-inbox "INBOX") (nnimap-split-methods (| ("MailScanner-SpamCheck" "spam" "spam.detected") (to "foo@bar.com" "foo") "undecided"))) But copying it failed miserably for me: it seems that by the time we get to the splitting functions in nnmail, they look at eg. nnmail-split-fancy which just has its default value (and isn't populated with the contents of my nnimap-split-methods). Does anyone have an example like this working for them? If so, I was probably not updating things properly and being bitten by my second question... 2. I finally got things working with something like this in my .gnus.el: (setq gnus-select-method '(nnimap "imap.example.com" (nnimap-inbox "INBOX") (nnimap-split-methods nnmail-split-fancy) (nnmail-split-fancy (| (something or other) ... "undecided")))) and that's great, but I had reasonably complicated splitting rules I was trying to "port" from Thunderbird, so I had to edit them several times (less painful when I'd found B q and B t). Unfortunately, just re-evaluating the gnus-select-method setq form didn't update the splitting rules, nor did hitting "r" in the Group buffer. Is there any way to update my splitting rules without quitting gnus and restarting? (That got irritating pretty quickly...) Rupert --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iJwEAQECAAYFAlSAJXMACgkQRtd/pJbYVobPqQP8ChiHoUpdz9Ht99rngCGdeok6 3eeT3yebnz5fqMKAiYxZiZkqLiibDJ+AhfAmi4Cy4t2sygET90Frn/fMZNiQ3Z0J 4y6UyUGwAdvcJ363l/3fYSDI2tqhcdvIsMVqxj/JBi/Ki5GKZqlWfxuI4HS/m/vr lMY7oVh/Xjcng8HEO70= =fgWa -----END PGP SIGNATURE----- --=-=-=-- --===============8824305466643490205== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline