unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: 20610-ubl+/3LiMTaZdePnXv/OxA@public.gmane.org
Subject: bug#20610: 25.0.50; Gnus fancy mail splitting not working anymore
Date: Tue, 19 May 2015 14:40:11 +0200	[thread overview]
Message-ID: <868uckoi50.fsf@example.com> (raw)

While "fancy mail splitting" (section 6.4.6 of the manual) with the
`gnus-private' attribute of BBDB [1] works perfectly -- for years! --
under (Windows) Emacs 24.5 (and many previous versions), it stops
working when using Emacs 25.0.50 [2]... while (let's be explicit!) the
`.gnus' file stays strictly the same.

Here a minimal working configuration file for Emacs 24.5:

--8<---------------cut here---------------start------------->8---
(require 'gnus)

(require 'auth-source)
(setq auth-source-debug t)

;; Configure incoming mail.
(setq gnus-select-method
      '(nnimap "mail"
               (nnimap-address "mail")
               (nnimap-server-port 993)
               (nnimap-stream ssl)))

;; Name(s) of IMAP mailboxes to split mail from.
(setq nnimap-inbox "INBOX")

;; The first match in `nnmail-split-rule' found will be used.
(setq nnmail-crosspost nil)

;; BBDB (Big Brother DataBase) is loaded from my `.emacs' file.
(require 'bbdb-gnus)

;; Split function to use (sorting mails into groups using BBDB).
(setq nnimap-split-methods 'nnimap-split-fancy)

;; Specify how to split mail.
(setq nnimap-split-fancy
      '(|                           ; split to the *first* match
          ;; Invoke BBDB.
          (: (lambda ()
               (car (bbdb/gnus-split-method))))

          ;; Catch spam.
          ("X-Spam-Status" "[Yy]es"
           "INBOX.Spam")

          ;; Undecided.
          "INBOX"))

;; For records which don't have `gnus-private' set, the rules in
;; `split-fancy' are invoked.
(setq bbdb/gnus-split-default-group nil)

;;; .gnus ends here
--8<---------------cut here---------------end--------------->8---

I've tried numerous changes (for hours), such as:

- renaming `nnimap-split-methods' to `nnmail-split-methods' and
  `nnimap-split-fancy' to `nnmail-split-fancy', or

- moving `nnimap-inbox' and `nnimap-split-methods' (without the `setq'
  and without the quotes) inside the definition of `gnus-select-method',

with no success. In those 2 latter cases, it even stops working within
Emacs 24.5, so this seems not to be the right path...

Best regards.

[1] ~/.emacs.d/elpa/bbdb-20140830.2031/bbdb-gnus.elc

[2] GNU Emacs 25.0.50.1 (i686-pc-mingw32) of 2015-05-08 on LEG570






             reply	other threads:[~2015-05-19 12:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-19 12:40 Sebastien Vauban [this message]
2015-05-19 17:35 ` bug#20610: 25.0.50; Gnus fancy mail splitting not working anymore Stefan Monnier
     [not found]   ` <jwviobojwsf.fsf-monnier+emacsbugs-mXXj517/zsQ@public.gmane.org>
2015-05-19 17:57     ` Sebastien Vauban
2015-05-19 18:39       ` Stefan Monnier
2015-05-20  0:22         ` Katsumi Yamaoka
     [not found]         ` <mailman.3294.1432081389.904.bug-gnu-emacs@gnu.org>
     [not found]           ` <868uckoi50.fsf-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org>
2015-05-21 11:51             ` Sebastien Vauban
2015-07-24 14:49             ` Sebastien Vauban
     [not found]           ` <mailman.3370.1432209128.904.bug-gnu-emacs@gnu.org>
     [not found]             ` <mailman.3370.1432209128.904.bug-gnu-emacs-mXXj517/zsQ@public.gmane.org>
2015-05-22 21:36               ` Sebastien Vauban
     [not found]             ` <mailman.3483.1432330630.904.bug-gnu-emacs@gnu.org>
2015-07-24 12:46               ` Sebastien Vauban
2016-10-14 10:33 ` bug#20610: 25.1.1 " Gijs Hillenius

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=868uckoi50.fsf@example.com \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=20610-ubl+/3LiMTaZdePnXv/OxA@public.gmane.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).