X-Loop: help-debbugs@HIDDEN Subject: bug#21258: nnmaildir and subdirectories Resent-From: Glenn Morris <rgm@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bugs@HIDDEN Resent-Date: Fri, 14 Aug 2015 18:53:02 +0000 Resent-Message-ID: <handler.21258.B.143957833621377 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 21258 X-GNU-PR-Package: gnus X-GNU-PR-Keywords: To: 21258 <at> debbugs.gnu.org X-Debbugs-Original-To: submit <at> debbugs.gnu.org Received: via spool by submit <at> debbugs.gnu.org id=B.143957833621377 (code B ref -1); Fri, 14 Aug 2015 18:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Aug 2015 18:52:16 +0000 Received: from localhost ([127.0.0.1]:55975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ZQK5Q-0005Yj-2q for submit <at> debbugs.gnu.org; Fri, 14 Aug 2015 14:52:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42251) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <rgm@HIDDEN>) id 1ZQK5N-0005Yb-OE for submit <at> debbugs.gnu.org; Fri, 14 Aug 2015 14:52:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rgm@HIDDEN>) id 1ZQK5M-0000v7-So for submit <at> debbugs.gnu.org; Fri, 14 Aug 2015 14:52:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>) id 1ZQK5M-0000ux-Q3 for submit <at> debbugs.gnu.org; Fri, 14 Aug 2015 14:52:12 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from <rgm@HIDDEN>) id 1ZQK5K-0008EM-RG; Fri, 14 Aug 2015 14:52:10 -0400 From: Glenn Morris <rgm@HIDDEN> X-Attribution: GM Date: Fri, 14 Aug 2015 14:52:10 -0400 Message-ID: <01io8hzorp.fsf@HIDDEN> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.0 (------) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.0 (------) Package: gnus Version: 5.13 Using the gnus that comes with Emacs 24.5, I set: (setq gnus-secondary-select-methods '((nnmaildir "" (directory "/path/to/Maildir")))) where the contents of Maildir/ look like: folder1/{cur,new,tmp} folder2/{cur,new,tmp} folder3/subfolder4/{cur,new,tmp} folder3/subfolder5/{cur,new,tmp} Gnus correctly presents mail from folder1 and folder2. folder3 shows up as an empty group with no messages that can't be entered. subfolder4 and subfolder5 aren't detected at all. I suppose I can fudge it by 1) using symlinks at the top-level, eg folder3-subfolder4 -> folder3/subfolder4 2) tweaking nnmaildir's directory-files parameter so that directories like "folder3" that only contain subfolders aren't presented as groups. But it would be nice if Gnus just handled subdirectories out-of-the-box.
X-Loop: help-debbugs@HIDDEN Subject: bug#21258: nnmaildir and subdirectories Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bugs@HIDDEN Resent-Date: Thu, 26 Jan 2017 21:19:02 +0000 Resent-Message-ID: <handler.21258.B21258.148546551726034 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 21258 X-GNU-PR-Package: gnus X-GNU-PR-Keywords: To: Glenn Morris <rgm@HIDDEN> Cc: 21258 <at> debbugs.gnu.org Received: via spool by 21258-submit <at> debbugs.gnu.org id=B21258.148546551726034 (code B ref 21258); Thu, 26 Jan 2017 21:19:02 +0000 Received: (at 21258) by debbugs.gnu.org; 26 Jan 2017 21:18:37 +0000 Received: from localhost ([127.0.0.1]:46205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cWrRE-0006lq-Qv for submit <at> debbugs.gnu.org; Thu, 26 Jan 2017 16:18:36 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:58837) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1cWrRD-0006li-2N for 21258 <at> debbugs.gnu.org; Thu, 26 Jan 2017 16:18:35 -0500 Received: from 2.150.50.220.tmi.telenormobil.no ([2.150.50.220] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1cWrRA-0007ns-Gz; Thu, 26 Jan 2017 22:18:34 +0100 From: Lars Ingebrigtsen <larsi@HIDDEN> In-Reply-To: <01io8hzorp.fsf@HIDDEN> (Glenn Morris's message of "Fri, 14 Aug 2015 14:52:10 -0400") Date: Thu, 26 Jan 2017 22:17:50 +0100 Message-ID: <87bmutikqp.fsf@HIDDEN> References: <01io8hzorp.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) Glenn Morris <rgm@HIDDEN> writes: > I suppose I can fudge it by > > 1) using symlinks at the top-level, eg > folder3-subfolder4 -> folder3/subfolder4 > > 2) tweaking nnmaildir's directory-files parameter so that directories > like "folder3" that only contain subfolders aren't presented as groups. > > But it would be nice if Gnus just handled subdirectories out-of-the-box. I'm not familiar with the nnmaildir code at all, but wouldn't nnmaildir have to stat a whole lot of files if it were to find all possible directories? And "maildir" is a specific format specified by maildir(5). (Which I haven't read, either. :-)) So my guess is that this wouldn't be a good idea. It sounds like you want nnmh or nnml, not nnmaildir, really... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
Received: (at control) by debbugs.gnu.org; 26 Jan 2017 21:18:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 26 16:18:21 2017 Received: from localhost ([127.0.0.1]:46199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cWrQz-0006l6-FG for submit <at> debbugs.gnu.org; Thu, 26 Jan 2017 16:18:21 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:58825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1cWrQx-0006kw-3C for control <at> debbugs.gnu.org; Thu, 26 Jan 2017 16:18:19 -0500 Received: from 2.150.50.220.tmi.telenormobil.no ([2.150.50.220] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1cWrQu-0006Y5-M0 for control <at> debbugs.gnu.org; Thu, 26 Jan 2017 22:18:18 +0100 From: Lars Ingebrigtsen <larsi@HIDDEN> To: control <at> debbugs.gnu.org Subject: control message for bug #21258 Message-ID: <87h94lil7p.fsf@totally-fudged-out-message-id> Date: Thu, 26 Jan 2017 22:18:11 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) reassign 21258 emacs,gnus
Received: (at control) by debbugs.gnu.org; 26 Jan 2017 21:18:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 26 16:18:21 2017 Received: from localhost ([127.0.0.1]:46199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cWrQz-0006l6-FG for submit <at> debbugs.gnu.org; Thu, 26 Jan 2017 16:18:21 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:58825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1cWrQx-0006kw-3C for control <at> debbugs.gnu.org; Thu, 26 Jan 2017 16:18:19 -0500 Received: from 2.150.50.220.tmi.telenormobil.no ([2.150.50.220] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1cWrQu-0006Y5-M0 for control <at> debbugs.gnu.org; Thu, 26 Jan 2017 22:18:18 +0100 From: Lars Ingebrigtsen <larsi@HIDDEN> To: control <at> debbugs.gnu.org Subject: control message for bug #21258 Message-ID: <87h94lil7p.fsf@totally-fudged-out-message-id> Date: Thu, 26 Jan 2017 22:18:11 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) reassign 21258 emacs,gnus
Received: (at control) by debbugs.gnu.org; 26 Jan 2017 21:18:27 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 26 16:18:27 2017 Received: from localhost ([127.0.0.1]:46202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cWrR5-0006lU-Kr for submit <at> debbugs.gnu.org; Thu, 26 Jan 2017 16:18:27 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:58831) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1cWrR4-0006lN-Qy for control <at> debbugs.gnu.org; Thu, 26 Jan 2017 16:18:27 -0500 Received: from 2.150.50.220.tmi.telenormobil.no ([2.150.50.220] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1cWrR2-0007Ef-ML for control <at> debbugs.gnu.org; Thu, 26 Jan 2017 22:18:26 +0100 From: Lars Ingebrigtsen <larsi@HIDDEN> To: control <at> debbugs.gnu.org Subject: control message for bug #21258 Message-ID: <87fuk5il0z.fsf@totally-fudged-out-message-id> Date: Thu, 26 Jan 2017 22:18:18 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) severity 21258 wishlist
X-Loop: help-debbugs@HIDDEN Subject: bug#21258: nnmaildir and subdirectories Resent-From: Glenn Morris <rgm@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN, bugs@HIDDEN Resent-Date: Mon, 30 Jan 2017 22:39:02 +0000 Resent-Message-ID: <handler.21258.B21258.148581589521291 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 21258 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: To: Lars Ingebrigtsen <larsi@HIDDEN> Cc: 21258 <at> debbugs.gnu.org Received: via spool by 21258-submit <at> debbugs.gnu.org id=B21258.148581589521291 (code B ref 21258); Mon, 30 Jan 2017 22:39:02 +0000 Received: (at 21258) by debbugs.gnu.org; 30 Jan 2017 22:38:15 +0000 Received: from localhost ([127.0.0.1]:51454 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cYKaV-0005XL-Jj for submit <at> debbugs.gnu.org; Mon, 30 Jan 2017 17:38:15 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rgm@HIDDEN>) id 1cYKaT-0005X8-Qq for 21258 <at> debbugs.gnu.org; Mon, 30 Jan 2017 17:38:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rgm@HIDDEN>) id 1cYKaN-0004HU-Sm for 21258 <at> debbugs.gnu.org; Mon, 30 Jan 2017 17:38:08 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>) id 1cYKaA-0004GX-US; Mon, 30 Jan 2017 17:37:54 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from <rgm@HIDDEN>) id 1cYKaA-0006Sn-Hf; Mon, 30 Jan 2017 17:37:54 -0500 From: Glenn Morris <rgm@HIDDEN> References: <01io8hzorp.fsf@HIDDEN> <87bmutikqp.fsf@HIDDEN> X-Spook: assassination Terror Extremism Suicide bomber terrorism X-Ran: *g,/O/xj(3?jtR`%3@_9qieEJ6g1?P~D/p^-"G?:m?I`oZI_6me[ov;[4B$cyTCM}M]L._ X-Hue: red X-Attribution: GM Date: Mon, 30 Jan 2017 17:37:54 -0500 In-Reply-To: <87bmutikqp.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Thu, 26 Jan 2017 22:17:50 +0100") Message-ID: <30bmuocgxp.fsf@HIDDEN> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.2 (--------) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -8.2 (--------) Lars Ingebrigtsen wrote: >> But it would be nice if Gnus just handled subdirectories out-of-the-box. > > I'm not familiar with the nnmaildir code at all, but wouldn't nnmaildir > have to stat a whole lot of files if it were to find all possible > directories? I don't see why it should make a big difference to the performance, but if there's no-one who wants to work on Maildir, it's all theoretical. > So my guess is that this wouldn't be a good idea. It sounds like you > want nnmh or nnml, not nnmaildir, really... I need Maildir because it is a standard format used by offlineimap, mbsync, mu4e, etc. Some other (Gnus-specific?) format isn't an option.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.