From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH v3] Allow applying filters to summary consecutively Date: Thu, 24 Nov 2022 08:39:56 +0200 Message-ID: <83k03kyhxf.fsf@gnu.org> References: <87r0y8m5jc.fsf@autistici.org> <34e17bf2a696327b972f@heytings.org> <518ded72c37a31fdd6a9@heytings.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25567"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rms@gnu.org, gregory@heytings.org, andrea.monaco@autistici.org, emacs-devel@gnu.org To: chad Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 24 07:40:51 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 1oy5ul-0006TX-6R for ged-emacs-devel@m.gmane-mx.org; Thu, 24 Nov 2022 07:40:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oy5tw-0002us-64; Thu, 24 Nov 2022 01:40:00 -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 1oy5tr-0002uW-2T for emacs-devel@gnu.org; Thu, 24 Nov 2022 01:39:55 -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 1oy5tq-0005us-3q; Thu, 24 Nov 2022 01:39:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=gci5l+ZMasDz1+sHbs5dLffG+I8xY1vgHgcfwckR4ho=; b=lKfZ61KeCykPN/7Gq7XW SasFb0vRAD0qi4pBD364MiX0NGSm8ezWToCbTvNklaZC/s1hyQdSh9Kct3eYIH0tsw2jCxLVU1JjO q5bJMGkQeU4IrFk6ndSLaP2SvQwxfSrKuu4SZscSyKKXSuupgKe9nwOKcyeyH0dhm/YWsAOU+nhFR fbnWXAeXW0VQmfNr9nN7vIrEudUCqoWJGHYO99H/4V3X7iJh9q3zZJ53sVfTGThMLxAcgPKrow6UI hICZdmtQURBUcKZoEbqBOUXqzYjsP9PCSzS1w/+JuSuKaqNLAfIxlFqKso6nHlbcWXC22eLjM737D Gz5wKEecDWbffg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oy5tZ-0003jF-HD; Thu, 24 Nov 2022 01:39:38 -0500 In-Reply-To: (message from chad on Wed, 23 Nov 2022 15:57:39 -0500) 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:300431 Archived-At: > From: chad > Date: Wed, 23 Nov 2022 15:57:39 -0500 > Cc: Gregory Heytings , andrea.monaco@autistici.org, > emacs-devel@gnu.org > > FWIW, many years ago, I had to switch from RMAIL to mh due to some of the factors Gregory mentioned, > especially infrequent but troublesome corrupted rmail files and problems with multiple concurrent clients. > These problems are rare when users only use a single device to read from local storage, but even 25 years > ago I was using multiple geographically separated computers and shared networked storage. RMAIL also > suffered, performance-wise, as email volume increased. Certainly, some of these problems were more due > to movemail than BABYL. Rmail's treatment of mbox files and the way it stores processed email have been completely redesigned and reimplemented since the time you used it. In particular, Rmail no longer uses BABYL format, and doesn't rewrite the incoming mbox stuff at all, but just processes it in-place using buffer-swap-text. The move to Unicode in Emacs and years of cleaning up the code which encodes/decodes non-ASCII also contributed to solving many problems. So now Rmail has none of the problems that probably caused you to switch from Rmail. I use it every day, including to read and reply to this email. > That said, I think the existence of very old email clients such as nmh (and mh-e) and alpine/mutt and newer > clients such as notmuch and mu/m4e provide enough alternatives to rmail that (I suppose) the interest in an > updated rmail is very small. I don't have objections to adding maildir support to Rmail, I just don't quite see how that could be done without coding a complete new backend, or even redesigning (again) how Rmail processes and presents email. The backbone of Rmail is a single mbox-formatted buffer which Rmail narrows to a message it displays, and whose text it swaps with the display buffer using buffer-swap-text, or reshuffles when some sorting is required, or searches through when the user issues an Rmail search command. To use maildir without changing this basic design, Someone would have to find a way of presenting multiple files in multiple directories as a single large buffer. That should be possible, but the naïve ways of doing so will probably be kludgey and unclean, let alone inefficient.