From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72705 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.general Subject: splitting working now : some issues/questions Date: Thu, 07 Oct 2010 09:28:06 +0200 Organization: aich tea tea pea dicky riley dot net Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286436516 28488 80.91.229.12 (7 Oct 2010 07:28:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Oct 2010 07:28:36 +0000 (UTC) To: nognus Original-X-From: ding-owner+M21077@lists.math.uh.edu Thu Oct 07 09:28:35 2010 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 1P3ku2-00026H-Av for ding-account@gmane.org; Thu, 07 Oct 2010 09:28:34 +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 1P3kti-0007RM-Ru; Thu, 07 Oct 2010 02:28:14 -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 1P3kth-0007R9-HO for ding@lists.math.uh.edu; Thu, 07 Oct 2010 02:28:13 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P3ktf-0002LZ-Ou for ding@lists.math.uh.edu; Thu, 07 Oct 2010 02:28:12 -0500 Original-Received: from mail-ew0-f44.google.com ([209.85.215.44]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P3kte-0006ye-00 for ; Thu, 07 Oct 2010 09:28:10 +0200 Original-Received: by ewy21 with SMTP id 21so114497ewy.17 for ; Thu, 07 Oct 2010 00:28:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:organization :date:message-id:user-agent:mime-version:content-type; bh=xZeDaiLvqZC11Ij25tLWeSAnCIzoyA71n+Cc9o7yvwA=; b=TSAIHxm4fH3JDkZLzGB1YNTZ/m7x7CJNYeoBUsS7BhAJ7/HimkwG6+wraqesgtyZex Vk8LRZavqpEdUr3s3oDSHTWC9jEeGGRU3qwsoAPszxkkH/ch7bp+X74Hm0wAWmlC6r9G Pxw6Hye1MRq9e+hNiMV3hK7Be5J0l/tQytqG4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:organization:date:message-id:user-agent :mime-version:content-type; b=t7EwWClHD/9aEOPHk7oMP2moe/3IHFbddAZVNqSD9Bkdj+GAuD2dC1X+LXYOYYtjsY uFQ+Z11iPagLUGj7AP2TaESFVllmUvSUJITSKVJE263djhUYhGx1kTa7Wp8eNkMfAFzZ 5WnBPNvqU61TS2h1HUwOB/oH1+NlybvmJ0xDw= Original-Received: by 10.213.42.72 with SMTP id r8mr204747ebe.86.1286436489970; Thu, 07 Oct 2010 00:28:09 -0700 (PDT) Original-Received: from localhost ([85.183.18.158]) by mx.google.com with ESMTPS id v8sm2946524eeh.2.2010.10.07.00.28.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 07 Oct 2010 00:28:08 -0700 (PDT) User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72705 Archived-At: My splitting is now working. Before I ask Qs, heres the essense of my setup now. ,---- | (setq spam-use-bogofilter t) | (setq spam-use-blackholes t) | | (require 'spam) ; ** (1) | (spam-initialize) | | (setq nnimap-inbox "INBOX") | (setq nnimap-split-methods 'default) | (setq nnimap-split-download-body t) | | (setq nnmail-split-fancy '(|(: spam-split)"mail")) ; ** (2) | (setq nnmail-split-methods 'nnmail-split-fancy) | | (setq spam-autodetect-recheck-messages nil) | (setq spam-mark-ham-unread-before-move-from-spam-group t) | (setq spam-mark-new-messages-in-spam-group-as-spam t) | (setq spam-split-group "Gnus-Spam") | | (setq spam-split-disabled nil) | | (setq gnus-select-method '(nnml "" | (nnmail-split-methods nil) | )) | | (setq gnus-secondary-select-methods nil) | | (add-to-list 'gnus-secondary-select-methods | '(nnimap "riley" | (nnir-search-engine imap) ; ** (3) | (nnimap-address "offlineimap") | )) `---- I have numbered the 3 points I have Qs and comments about. (1) : mea culpa. because of a reorg of my startup files gnus was being initialized before these two lines. There was no obvious error however and bogofilter filtering still occurred. But often fell over with no obvious reasons. Possibly something could be added to warn the user inside spam.el? Certainly loading gnus after this removed a lot of problems. (2) This was a major issue. I dont or didnt really want to move my mail from INBOX (which maps to my gmail inbox). However setting the final clause to "INBOX" saw ALL mail processed each and very time as if it was unread. Possibly something else triggered this but I couldnt find the setting. Now mail is processed and moved in to "mail" there are no problems since INBOX only contains NEW mail now. This is different than how it worked for me in normal Gnus, (3) Its unclear to me (a novice elisper) when one must pass values as part of the select. Using things like the nnimap variables as an example I had assumed this line was unnecessary if I had earlier something like (setq nnir-search-engine 'imap) However nnir was not enabled for the select method. Could someone please explain this. But the bottom line is that it now works. I *think* something has changed with regard to it always processing all messages in the INBOX - it didnt do it before for me but I am happy enough with the stop gap measure of placing all processed mails into "mail" for the time being where it is not processed further. Powerful but heady stuff.