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: Why Gnus is creating .nnmaildir directory in my maildir? Date: Tue, 13 Apr 2021 15:04:27 -0700 Message-ID: <87lf9lg7tg.fsf@ericabrahamsen.net> References: <87im4qb3yt.fsf@gmail.com> <87im4qgov4.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24649"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Utkarsh Singh Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 14 00:05:03 2021 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 1lWR9b-0006II-B5 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 14 Apr 2021 00:05:03 +0200 Original-Received: from localhost ([::1]:43180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWR9a-00048a-DQ for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 13 Apr 2021 18:05:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWR95-00048H-SK for help-gnu-emacs@gnu.org; Tue, 13 Apr 2021 18:04:31 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:49502 helo=mail.ericabrahamsen.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWR94-0003Ym-GV for help-gnu-emacs@gnu.org; Tue, 13 Apr 2021 18:04:31 -0400 Original-Received: from localhost (c-71-197-184-122.hsd1.wa.comcast.net [71.197.184.122]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 8D56EFA099; Tue, 13 Apr 2021 22:04:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1618351468; bh=dFca4IRrle/882GA1ptESG4oAu8QEbocRw8T+gJzXbQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=hk5qVtTvbrA0J/yg+irlW5VagRHTPeEjezAKDBLRadOomZFPS7umKQWl3bV2k5bh2 f6cfrvzQ46PVcIjx6p6AIvBWunocwbAD5TfrCybN9dni9JUUqHuZ8H7gZIQa2Kxfg5 wG1b6/WzmTU0gz24UxJj9Qvu4Si8CYRkwkcQONCs= In-Reply-To: (Jean Louis's message of "Wed, 14 Apr 2021 00:03:35 +0300") 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.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:128989 Archived-At: Jean Louis writes: > * Eric Abrahamsen [2021-04-13 19:08]: >> The nnmaildir backend uses the .nnmaildir directory to store cached >> headers and other information about your maildir messages, for faster >> retrieval. Many people don't like this, and/or would prefer more >> configurability, but at the moment there's no way around it. For now you >> can tell notmuch to ignore that path with the "new.ignore" option in >> your notmuch config. > > That is terribly flawed design that does not work. Maildir messages > are files, it is quite easy to read subjects, headers when directory > is listed within short time. > > What Gnus does to Maildir is abuse to user's data hard disk as there > is no warning about it. No need to argue with me about it! But I will note that plenty of GUI mail clients keep their own cache/data in something like a sqlite database, alongside the actual message store. nnmaildir is unusable for large maildirs because it tries to build the entire cache the first time it is run, and that happens in quadratic time. If you start a new nnmaildir installation from nothing, and add messages at a "normal" rate, it's not that bad.