From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: Splitting nnmaildir groups Date: Tue, 25 Oct 2022 08:51:58 -0700 Message-ID: <87mt9j52ap.fsf@ericabrahamsen.net> References: <87fsfdqsbr.fsf@disroot.org> <87pmeh5ik4.fsf@ericabrahamsen.net> <875yg8b0iq.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5047"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: Akib Azmain Turja Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 25 17:53:14 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1onMEq-00010A-Nl for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 25 Oct 2022 17:53:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onME1-0007fZ-L6; Tue, 25 Oct 2022 11:52:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onMDv-0007cV-FK for help-gnu-emacs@gnu.org; Tue, 25 Oct 2022 11:52:17 -0400 Original-Received: from mail.ericabrahamsen.net ([52.70.2.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onMDs-0001vb-6N for help-gnu-emacs@gnu.org; Tue, 25 Oct 2022 11:52:14 -0400 Original-Received: from localhost (c-71-197-232-41.hsd1.wa.comcast.net [71.197.232.41]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 58F39FA0BA; Tue, 25 Oct 2022 15:52:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1666713120; bh=bXJQPXIaufCEuc2uYM90BbCC4LhyoYD3Ohg5jkPt/e0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=kapZpYiDxwB2hLogPtRS68MisfIWrxxdZ8NkQ+mLH2w/pqImyNS+Ysi6NGFpZXSNt i5/DleqyKUeEwuS+/2LeebPyeFSYBGMcN/cCSTvTajVWSuAhfewIR5MKFTDU2+VVOi t0pLQFiUBpRbM5uawwlitREeKFKEx/cp6k8gi2Ok= In-Reply-To: <875yg8b0iq.fsf@disroot.org> (Akib Azmain Turja's message of "Tue, 25 Oct 2022 17:33:49 +0600") Received-SPF: pass client-ip=52.70.2.18; envelope-from=eric@ericabrahamsen.net; helo=mail.ericabrahamsen.net X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "help-gnu-emacs" Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:140372 Archived-At: On 10/25/22 17:33 PM, Akib Azmain Turja wrote: > Eric Abrahamsen writes: > >> Akib Azmain Turja 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.