From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [PATCH v3] Allow applying filters to summary consecutively Date: Tue, 15 Nov 2022 22:15:40 -0500 Message-ID: References: <87r0y8m5jc.fsf@autistici.org> <34e17bf2a696327b972f@heytings.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13615"; mail-complaints-to="usenet@ciao.gmane.io" Cc: andrea.monaco@autistici.org, emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 16 04:16:28 2022 Return-path: Envelope-to: ged-emacs-devel@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 1ov8uY-0003Dn-P9 for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Nov 2022 04:16:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ov8ts-0000av-U4; Tue, 15 Nov 2022 22:15:44 -0500 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 1ov8tp-0000aO-Pq for emacs-devel@gnu.org; Tue, 15 Nov 2022 22:15:41 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ov8tp-0005ir-61; Tue, 15 Nov 2022 22:15:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=1mIg4wZH5WNvdT3sanIF4vKle+8/zqcGPSsuQ7F0cjM=; b=GdrP7g8kVhqa ZFQjY6227B9vnTDJ9lrrfzKKmyQU2y2c1wuQMVD7lBmvr/KJnr7MS2qvGTpR0hbAfuah/8WtTqFMz U+gWucGWODR5miDwBzvenQdgF4jVrwQS8lQapMqthLD6tOL3TGXZho3xLvMcGrvh63UEm3HzTCoeW JjTG3/mU/2RMrBmLfNqm57r6xlYPclZ0KfCAjJ9iuRZy20BeZ3K4J1ciKf3lgE0/8UzhwgHcaT2dv f1NYLFpggbB2UvWIziH8kCFKkJRYQIK5OrVD33hoyvRAHHelg7OaMGbwlsAQogOlG16Lp2HmkJy3x 9poh1YGiVzq9bgHOHwCfbw==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1ov8to-0000Ay-Jo; Tue, 15 Nov 2022 22:15:40 -0500 In-Reply-To: <34e17bf2a696327b972f@heytings.org> (message from Gregory Heytings on Tue, 15 Nov 2022 09:35:57 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299891 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > As you probably > know, Maildirs were proposed about 25 years ago to address the limitations > of mbox files, I don't consider mbox files limited. Why do you think so? > in particular to remove the need of a locking mechanism > when the mail folder is accessed concurrently by two programs (e.g. the > mail delivery agent and the mail user agent). This is a complication in the design; but given that we implemented this interlocking already (in the 1980s). in practice it is not a limitation any more. > With Maildirs, which are > now the standard way to store mails, each mail folder is a directory, in > which each individual mail is stored in its own file. I'm concerned that this will make Rmail files bigger and make Rmail slower. My RMAIL file contains 5000 messages and is 286987559 bytes long. Rmauk can read it and parse it in 3 seconds or so. This is on a Thinkpad x200, which is slow by current standards, How long would it take to read and digest a Maildir on this machine? Would it have to read each message when it starts up? Or else, would making a summary or searching thru messages have to read each message? If you tell me about a mail user agent that uses Maildirs, and how I could read my RMAIL file into one without changing anything, then if that mail user agent is packaged in Trisquel, I could use it to estimate what the speed of Rmail would be. How would Rmail manage memory if these 5000 messages were in a Maildir? Would it keep only the current message in memory? Would it generate 5000 buffers at startup, once for each message? -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)