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: Sun, 20 Nov 2022 12:37:48 -0500 Message-ID: References: <87r0y8m5jc.fsf@autistici.org> <34e17bf2a696327b972f@heytings.org> <518ded72c37a31fdd6a9@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="34480"; 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 Sun Nov 20 18:38:29 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 1owoGz-0008ju-B6 for ged-emacs-devel@m.gmane-mx.org; Sun, 20 Nov 2022 18:38:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1owoGO-0005fL-DE; Sun, 20 Nov 2022 12:37:52 -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 1owoGM-0005ef-0s for emacs-devel@gnu.org; Sun, 20 Nov 2022 12:37:50 -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 1owoGL-0001eB-0p; Sun, 20 Nov 2022 12:37:49 -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=fJ5lN/WZiqtKfF4jiWDf4BfPqZJbO1JzP5hS2+/DMXo=; b=iRi3cnAXXk+J +DsH5L2Ub1pDlOoaxfrz1O2rkkGjb2VTN3gFKjqIYjeKGFrAtyiQYtSgjSBypGa5OYAJ6PISQdxeD in4URtGqFsilv+FbVmoEYqkzZf1g9FaIQjy5dFVn7ekF+r8I3o/t8qEIcXgSrvTM7LpUBQBz+MXfj vPzzclSfEkJypohb1psEQIdEtQcj0Zo7PowL/HR7zRaga3f+wsji5sy+8MGt1TK6KoJ/j7ua02J/X UNyUSBGtjC94hqABwSrQJezWxYmj/RTV4ysDTx7MHRcdUeqhVpxzh1XBAHwfXc34toJY4KWP99uXI 2QzTbmLBeIWwJPbjl0BimQ==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1owoGK-00010G-Eb; Sun, 20 Nov 2022 12:37:48 -0500 In-Reply-To: <518ded72c37a31fdd6a9@heytings.org> (message from Gregory Heytings on Sat, 19 Nov 2022 14:47:18 +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:300259 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. ]]] > 1. Mbox files do not scale. It is not uncommon to have mail folders that > are several Gb large, and opening a 50 Kb email in say a 2 Gb folder means > reading the whole 2 Gb file. Even my RMAIL file is not a whole GB in size. How does a mail agent find a specific message in a maildir? Does it have to read thousands of files one by one? > 2. Mbox files are fragile. If for whatever reason a program crashes while > updating an mbox file, the whole mbox file can be corrupted, or even lost. Rmail does not have that problem. Emacs writes the new file under another name, then renames it into place. That is atomic. > 3. Mbox files are slow. For example, when an email in the middle of a > mail folder is deleted, or moved to another mail folder, the whole mbox > file must be written again. Rmail does not try to save the mbox every time you change it. It saves when you say to save. For my 300 meg Rmail file, that is not painful. > 4. Mbox files cannot be accessed concurrently by two programs, e.g. the > mail delivery agent and the mail user agent, or two mail user agents. That is the case for the incoming mbox. We have interlocking for that. Also, you don't ever leave the mail in the incoming mbox. You copy it into the RMAIL file. What it comes down to is that your mail user agant is designed to be convenient and easy with maildirs, and Rmail is designed to be convenient and easy with mboxes. If you suppose that Rmail works like a user agent that was designed for maildirs, you will expect some operations to be problematical, which in fact are not. -- 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)