Gnus development mailing list
 help / color / mirror / Atom feed
* Can't get splitting to work with nnmaildir
@ 2015-11-07 17:50 Yury Bulka
  2016-02-07  2:31 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Yury Bulka @ 2015-11-07 17:50 UTC (permalink / raw)
  To: ding

Dear list,

I fetch my mail locally with an external program (mpop) that puts it
into ~/.Mail/INBOX which is symlinked to ~/.nnmaildir/primary. This
works fine.

Now I'm trying to make Gnus put mail from a certain mailing list
to a separate group ("list.sc").

With this config:

    (setq gnus-select-method 
          '(nnmaildir "primary"
                       (directory "~/.nnmaildir/")
                       (get-new-mail t)))
    (setq mail-sources '((file)))
    (setq nnmail-split-methods
          '(("list.sc" "^List-Id:.*sc-users\.create\.ucsb\.edu.*")
            ("primary" "")))

When I run `gnus-summary-respool-trace` on a message from that list, it
correctly reports "This message would go to list.sc".

However, when I hit B r (gnus-summary-respool-article) the message just
gets put back into "primary" instead of "list.sc" group.

Will be very grateful for any suggestions on what I'm doing wrong here.

Thanks,
Yury.

P.S. Someone has asked a similar question before, but it got lost:
http://thread.gmane.org/gmane.emacs.gnus.general/68878



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

* Re: Can't get splitting to work with nnmaildir
  2015-11-07 17:50 Can't get splitting to work with nnmaildir Yury Bulka
@ 2016-02-07  2:31 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2016-02-07  2:31 UTC (permalink / raw)
  To: Yury Bulka; +Cc: ding

Yury Bulka <setthemfree@privacyrequired.com> writes:

> Now I'm trying to make Gnus put mail from a certain mailing list
> to a separate group ("list.sc").
>
> With this config:
>
>     (setq gnus-select-method 
>           '(nnmaildir "primary"
>                        (directory "~/.nnmaildir/")
>                        (get-new-mail t)))
>     (setq mail-sources '((file)))
>     (setq nnmail-split-methods
>           '(("list.sc" "^List-Id:.*sc-users\.create\.ucsb\.edu.*")
>             ("primary" "")))
>
> When I run `gnus-summary-respool-trace` on a message from that list, it
> correctly reports "This message would go to list.sc".
>
> However, when I hit B r (gnus-summary-respool-article) the message just
> gets put back into "primary" instead of "list.sc" group.

Very odd.  I'm not really familiar with the nnmaildir code, but looking
it over, it doesn't seem to do anything in particularly odd, so it
should just accept whatever Gnus tells it to re-split...

And it seems to work fine for me with nnml.

Anybody got any ideas?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



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

end of thread, other threads:[~2016-02-07  2:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-07 17:50 Can't get splitting to work with nnmaildir Yury Bulka
2016-02-07  2:31 ` Lars Ingebrigtsen

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