unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Akib Azmain Turja <akib@disroot.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Splitting nnmaildir groups
Date: Tue, 25 Oct 2022 08:51:58 -0700	[thread overview]
Message-ID: <87mt9j52ap.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <875yg8b0iq.fsf@disroot.org> (Akib Azmain Turja's message of "Tue, 25 Oct 2022 17:33:49 +0600")


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	other threads:[~2022-10-25 15:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-24 13:11 Splitting nnmaildir groups Akib Azmain Turja
2022-10-24 15:48 ` Eric Abrahamsen
2022-10-25 11:33   ` Akib Azmain Turja
2022-10-25 15:51     ` Eric Abrahamsen [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

  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=87mt9j52ap.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=akib@disroot.org \
    --cc=help-gnu-emacs@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 read-only IMAP folder(s) and NNTP newsgroup(s).