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: Unseen attribute doesn't get saved in rmail Date: Mon, 11 Jan 2021 17:34:47 +0200 Message-ID: <83a6tffpwo.fsf@gnu.org> References: <87pn2bmzdd.fsf@autistici.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38333"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: "Andrea G. Monaco" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 11 16:36:29 2021 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 1kyzF6-0009qO-7M for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Jan 2021 16:36:28 +0100 Original-Received: from localhost ([::1]:55836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyzF5-0006kB-A2 for ged-emacs-devel@m.gmane-mx.org; Mon, 11 Jan 2021 10:36:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kyzDJ-0005eS-RU for emacs-devel@gnu.org; Mon, 11 Jan 2021 10:34:38 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38529) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kyzDI-00060n-D5; Mon, 11 Jan 2021 10:34:36 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2789 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kyzDH-0004hn-Qt; Mon, 11 Jan 2021 10:34:36 -0500 In-Reply-To: <87pn2bmzdd.fsf@autistici.org> (andrea.monaco@autistici.org) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:262915 Archived-At: > From: "Andrea G. Monaco" > Date: Mon, 11 Jan 2021 13:28:30 +0100 > > > I'm asking why is it important for your purposes to know whether the > > mail was read for the first time or not. Because if it isn't very > > important, the solution I proposed should work for you. > > My mailboxes get pretty big, some gigabytes usually, so saving the > buffer takes some seconds. I only want to save it if it got modified, for > example because I read some messages for the first time and thus changed > their unseen flag. I see. > > That's the reason Rmail doesn't already have the feature you > > want: I guess no one else uses it as you do > > Some features are more or less used than others. But saying that some > use case is completely nonexistent is pretty strong: can you > substantiate this claim? Unless you are arguing that a feature being > absent means that no one wants it: I would obviously disagree with that > claim. > > There's at least one person (probably more) who is unhappy with that > behavior of rmail, and that's me. Please don't interpret "no one" too literally. The reason we don't already have this is that your use of the inbox is unusual, and doesn't really scale well: once you hit gigabyte-level size, you risk bumping into a situation where you don't have enough memory on your system for Emacs to visit the inbox. And, as you say, you already suffer from prolonged save times. That said, I won't object having a feature that will allow you to use Rmail that way, so please feel free to submit a feature-request bug report using "M-x report-emacs-bug".