Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Damon Haley <dkh@member.fsf.org>
To: info-gnus-english@gnu.org
Subject: Re: nnimap splitting emacs 24, does not split
Date: Tue, 03 Jul 2012 08:54:03 -0600	[thread overview]
Message-ID: <86y5n0q4j8.fsf@member.fsf.org> (raw)
In-Reply-To: <fdaa0bd3-78c3-450d-83fc-5b2feadcade7@googlegroups.com> (pramble@xemaps.com's message of "Tue, 3 Jul 2012 04:29:51 -0700 (PDT)")

pramble@xemaps.com writes:

Hi,

If you're using fancy splitting with the gnus that ships with emacs 24,
you probably just need to configure these three variables:


(setq nnimap-split-methods 'nnmail-split-fancy)
(setq nnmail-split-abbrev-alist
      '((any . "from\\|to\\|cc\\|sender\\|apparently-to\\|resent-from\\|resent-to\\|resent-cc")
        (mail . "mailer-daemon\\|postmaster\\|uucp")
        (to . "to\\|cc\\|apparently-to\\|resent-to\\|resent-cc")
        (from . "from\\|sender\\|resent-from")
        (daemon-errors . "Cron daemon\\|mailer-daemon")
        (list . "list-id\\|x-mailing-list\\|to\\|cc\\|sender")))


(setq nnmail-split-fancy
      '(| ("from" mail (| ("subject" "warn.*" "mail.warning")
                          "mail.misc"))
          (& (|
              (any "ding@gnus.org" "list.ding")
                ("subject" "ding" "ding.misc"))
             ;; Other mailing lists...
             ("list-id" "conkeror\\.mozdev\\.org" "list.conkeror")
             (any "infosecnews" "list.infosecnews")
             (any "orgmode" "list.orgmode")
             (any "emacs-orgmode" "list.orgmode")
             (any "bbdb-info"  "list.bbdb-info")
             (any "info-gnus" "list.info-gnus")
             (any "emacs-devel" "list.emacs-devel")
             )
          "INBOX.mail.unsorted"))

In a nutshell, gnus got rid of the old nnimap-split-fancy function (used
in Emacs 23), so you now need to use nnmail-split-fancy with nnimap.

Damon

               
> After upgrading from emacs 23 to 24, nnimap splitting does not split.
> Sorry if this sounds vague, but I would be so grateful for pointers as
> to where to start looking.
> From the customize buffer, the relevant parts look like the section
> below. I only post this, hoping it is more readable than the lines
> from my .emacs file.
>
> I have no problem collecting mail from three imap servers. Everything
> simply goes into my INBOX.
>
> I do not expect anybody to fix this for me, but do not hesitate to
> tell me which variables I should set to get some more information.
> I did have "default" before the start of the list below, but that did
> not make any difference.
> Many thanks for any advice.
>
> Gnus Secondary Select Methods:
> INS DEL Select Method:
>             Method: Value Menu nnimap
>             Address: muenchen
>             Options:
>             INS DEL Variable: nnimap-address
>                         Value: "mailhost.uni-blah.de"
>             INS DEL Variable: nnimap-server-port
>                         Value: 993
>             INS DEL Variable: nnimap-stream
>                         Value: ssl
>             INS DEL Variable: nnimap-inbox
>                         Value: "INBOX"
>             INS DEL Variable: nnimap-split-methods
>                         Value:
> (("INBOX.moocow" "From:.*moocow*")
>  ("INBOX.spam" "from:.*knauer.net")
>  ("INBOX.spam" "subject: .*symposium on neural networks"))
> _______________________________________________
> info-gnus-english mailing list
> info-gnus-english@gnu.org
> https://lists.gnu.org/mailman/listinfo/info-gnus-english
>

-- 
Damon K. Haley ಠ_ಠ
e-mail: d k h @ member.fsf.org
jabber: vinylisl @ jabber.sdf.org
thaweb: vinylisland.org (including pgp sig, irc handle)
    
    

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

  reply	other threads:[~2012-07-03 14:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-03 11:29 pramble
2012-07-03 14:54 ` Damon Haley [this message]
2013-04-07 18:35   ` Seb
2013-04-09 13:25     ` Seb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86y5n0q4j8.fsf@member.fsf.org \
    --to=dkh@member.fsf.org \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).