From: Gijs Hillenius <gijs@hillenius.net>
To: info-gnus-english@gnu.org
Subject: Re: Emacs 25.1, Gnus reads and then forgets nnimap-split-fancy
Date: Sun, 22 Jan 2017 13:39:09 +0100 [thread overview]
Message-ID: <87wpdn8e1e.fsf@hillenius.net> (raw)
In-Reply-To: <87shqneuia.fsf@hillenius.net>
Gijs Hillenius <gijs@hillenius.net> writes:
> Using Debian Emacs 25.1, when starting Gnus, nnmimap-split-fancy is read
> from .gnus along with other settings, but then, somehow, immediately
> forgotten.
>
> When Gnus is done finding new mail and news, I do r g (read Gnus and
> check for new messages). Only then the split rules defined in
> nnmimap-split-fancy are applied to the INBOX. Instead of say, 12 new
> messages, there will be 2, the rest is split across the intended
> folders.
>
> When I just began using Emacs 25.1, I found Emacs bug 20610, which
> describes the same. Except there
> (https://debbugs.gnu.org/db/20/20610.html) the fix that is reported, is
> what I already use (or at least I think so).
>
> The suggested fix:
> ,----
> | Putting *both* `nnimap-inbox' and `nnimap-split-methods' in the
> | definition of the IMAP select method is *necessary* for fancy splitting
> | to work under Emacs 25.
> `----
>
> my server configuration in the server buffer:
>
> ,----
> | (nnimap "thuis"
> | (nnimap-address "server")
> | (nnimap-inbox "INBOX")
> | (nnimap-split-methods nnimap-split-fancy)
> | (nnimap-unsplittable-articles
> | '(%Deleted %Seen))
> | (nnir-search-engine imap)
> | (nnimap-stream tls))
> `----
>
> The only difference:
>
> I use:
>
> (nnimap-split-methods nnimap-split-fancy)
>
> whereas the fix prescribes:
>
> (nnimap-split-methods nnmail-split-fancy)))
>
>
> My "version" works in Emacs 24. I tried the alternative, but that
> recreated my entire mail folder hierarchy as news folders, instead of as
> mail folders. That was scary.
>
>
> Any body here have an idea how to debug this?
With a bit of help from Lars, this is now resolved. I now realise the
fix is the same as that given in bug 20610. (sigh)
in the server buffer I changed one line into this:
(nnimap-split-methods nnmail-split-fancy)
and, in .gnus.el I renamed nnimap-split-fancy to nnmail-split-fancy:
;;(setq nnimap-split-fancy
(setq nnmail-split-fancy
prev parent reply other threads:[~2017-01-22 12:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-19 8:36 Gijs Hillenius
2017-01-22 12:39 ` Gijs Hillenius [this message]
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=87wpdn8e1e.fsf@hillenius.net \
--to=gijs@hillenius.net \
--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).