Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Emacs 25.1, Gnus reads and then forgets nnimap-split-fancy
@ 2016-11-19  8:36 Gijs Hillenius
  2017-01-22 12:39 ` Gijs Hillenius
  0 siblings, 1 reply; 2+ messages in thread
From: Gijs Hillenius @ 2016-11-19  8:36 UTC (permalink / raw)
  To: info-gnus-english


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?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Emacs 25.1, Gnus reads and then forgets nnimap-split-fancy
  2016-11-19  8:36 Emacs 25.1, Gnus reads and then forgets nnimap-split-fancy Gijs Hillenius
@ 2017-01-22 12:39 ` Gijs Hillenius
  0 siblings, 0 replies; 2+ messages in thread
From: Gijs Hillenius @ 2017-01-22 12:39 UTC (permalink / raw)
  To: info-gnus-english

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-22 12:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-19  8:36 Emacs 25.1, Gnus reads and then forgets nnimap-split-fancy Gijs Hillenius
2017-01-22 12:39 ` Gijs Hillenius

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).