unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Andrea G. Monaco" <andrea.monaco@autistici.org>
Cc: emacs-devel@gnu.org
Subject: Re: Unseen attribute doesn't get saved in rmail
Date: Mon, 11 Jan 2021 17:34:47 +0200	[thread overview]
Message-ID: <83a6tffpwo.fsf@gnu.org> (raw)
In-Reply-To: <87pn2bmzdd.fsf@autistici.org> (andrea.monaco@autistici.org)

> From: "Andrea G. Monaco" <andrea.monaco@autistici.org>
> 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".



  reply	other threads:[~2021-01-11 15:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-11 12:28 Unseen attribute doesn't get saved in rmail Andrea G. Monaco
2021-01-11 15:34 ` Eli Zaretskii [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-08 21:33 Andrea G. Monaco
2021-01-09  7:44 ` Eli Zaretskii
2021-01-02 20:05 Andrea G. Monaco
2021-01-02 20:20 ` Eli Zaretskii
2020-12-31 14:03 Andrea G. Monaco
2020-12-31 16:31 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83a6tffpwo.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=andrea.monaco@autistici.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).