From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#36714: 27.0.50; Gnus nnmaildir taking long time to recursively visit sub-Maildirs Date: Mon, 22 Jul 2019 10:40:14 -0700 Message-ID: <875znuynlt.fsf@ericabrahamsen.net> References: <86ftn37cvz.fsf@protected.rcdrun.com> <87sgr32mnq.fsf@ericabrahamsen.net> <20190718194311.GA6908@protected.rcdrun.com> <87k1cf2jqh.fsf@ericabrahamsen.net> <20190718204841.GB6908@protected.rcdrun.com> <87v9vyrhqx.fsf@ericabrahamsen.net> <20190719061550.GB8310@protected.rcdrun.com> <87o91q6iqz.fsf@ericabrahamsen.net> <20190722084421.GA4571@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="12716"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 36714@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 22 19:41:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hpcJA-0003CS-0i for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Jul 2019 19:41:08 +0200 Original-Received: from localhost ([::1]:36398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpcJ9-0001eD-2T for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Jul 2019 13:41:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55079) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hpcJ5-0001dr-M8 for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 13:41:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hpcJ4-00078H-7k for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 13:41:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52994) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hpcJ4-00078C-4H for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 13:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hpcJ3-0004zx-Vw for bug-gnu-emacs@gnu.org; Mon, 22 Jul 2019 13:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Jul 2019 17:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36714 X-GNU-PR-Package: emacs Original-Received: via spool by 36714-submit@debbugs.gnu.org id=B36714.156381722519132 (code B ref 36714); Mon, 22 Jul 2019 17:41:01 +0000 Original-Received: (at 36714) by debbugs.gnu.org; 22 Jul 2019 17:40:25 +0000 Original-Received: from localhost ([127.0.0.1]:33582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpcIS-0004yV-MG for submit@debbugs.gnu.org; Mon, 22 Jul 2019 13:40:24 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:46366 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hpcIQ-0004yD-Ud for 36714@debbugs.gnu.org; Mon, 22 Jul 2019 13:40:23 -0400 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 18A36FA023; Mon, 22 Jul 2019 17:40:15 +0000 (UTC) In-Reply-To: <20190722084421.GA4571@protected.rcdrun.com> (Jean Louis's message of "Mon, 22 Jul 2019 10:44:21 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163602 Archived-At: On 07/22/19 10:44 AM, Jean Louis wrote: > * Eric Abrahamsen [2019-07-19 19:24]: >> > Thank you for helping. Yet it is not usable for >> > me. I have too many maildirs and I was thinking >> > Gnus would read it as maildirs, instead it started >> > creating .nnmaildir directories inside with copies >> > of those emails for its own way of processing. >> >> Yeah, I don't think there's any way around the creation of the >> .nnmaildir directories, at least not given the way Gnus currently >> functions. They aren't actually copies of the emails -- just vectors of >> headers for each mail -- but obviously if you've got a lot of mail they >> still take up a lot of space. > > If they are not copies, they took as much space as > original emails. > > That is opposite and contradictory to what Maildir > is supposed to be. > > nnmaildir is thus not described well enough in the > Gnus manual, it is bug in itself. > > When somebody mentions "Maildir" that means > managing emails in Maildir folders, and not making > indexes or vectors inside of those Maildir > folders, taking up gigabytes of spaces and > basically endangering integrity of files of the > user. > > Thus that behavior of nnmaildir is bug. Gnus operates as a general newsreader/email client, not a dedicated maildir reader. The maildir functionality needs to fit in with its existing paradigms, and right now that means maintaining nov header files alongside the messages themselves. Otherwise actually listing groups and reading messages would be unbearably slow. I agree it's essentially a bug, but it's one that can't be fixed without some fundamental alteration of how Gnus works. I also don't think this threatens the integrity of the user's files: the extra data is maintained in parallel, and doesn't interfere with the messages themselves. > One shall explain it very well in Gnus manual that > nnmaildir is not managing Maildir folders but > rather using Maildir folders to make indexes, > vectors, having some kind of news overlay on top > of Maildir folders. > > And one shall mention the limit, as it simple does > not work over certain number of Maildirs. I do not > know how many, as I do have many maildirs. It is > unusable for me. The limit (defined as "the point at which the user gets annoyed") is going to be different for different machines, and different users. But I agree the manual should provide a more prominent warning.