help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Splitting nnmaildir groups


From: Eric Abrahamsen
Subject: Re: Splitting nnmaildir groups
Date: Tue, 25 Oct 2022 08:51:58 -0700
User-agent: Gnus/5.13 (Gnus v5.13)

On 10/25/22 17:33 PM, Akib Azmain Turja wrote:
> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> Akib Azmain Turja <akib@disroot.org> writes:
>>
>>> [ This is a correction of my previous message with wrong subject.  I
>>>   actually wanted to mean nnmaildir, not nnmailbox.  Sorry for the
>>>   mistake.  ]
>>>
>>> I have subscribed to some high volume mailing lists, and I some miss
>>> important messages within those less important message.
>>>
>>> How to split nnmaildir groups?  I download my mails with mbsync and have
>>> the following select methods:
>>>
>>>       (setq gnus-select-method '(nnnil ""))
>>>       (setq
>>>        gnus-secondary-select-methods
>>>        '((nnmaildir
>>>           "disroot"
>>>           (directory "~/Documents/mail/akib@disroot.org/"))
>>>          (nnmaildir
>>>           "gmail"
>>>           (directory "~/Documents/mail/akib8492@gmail.com-gnus/"))))
>>>
>>>
>>> And the split rules:
>>>
>>>       (setq nnmail-split-methods #'nnmail-split-fancy)
>>>       (setq nnmail-split-fancy '(| "mail.other"))
>>
>> If you just specify other mailboxes as split targets (ie your
>> "mail.other" here), they should be automatically created. Is that not
>> happening for you?
>>
>>
>
> No, I can't find new group.  Is my "nnmail-split-fancy" variable's value
> valid?

No, good point -- the symbol `nnmail-split-fancy' has both function and
variable values. Using a sharp quote (#') selects the function value but
you want the variable value, so just a regular quote:

(setq nnmail split-methods 'nnmail-split-fancy)

I think! This bit is always a little confusing.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]