[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rmail-total-messages has two different values, one is wrong
From: |
Eli Zaretskii |
Subject: |
Re: rmail-total-messages has two different values, one is wrong |
Date: |
Sat, 01 Jul 2023 11:35:56 +0300 |
> Date: Sat, 24 Jun 2023 15:30:07 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: emacs-devel@gnu.org
>
> > From: Andrea Monaco <andrea.monaco@autistici.org>
> > Cc: emacs-devel@gnu.org
> > Date: Sun, 18 Jun 2023 14:51:15 +0200
> >
> >
> > I think the problem is in rmail-count-new-messages. The function runs
> > in the main buffer, so this assignment
> >
> >
> > (setq rmail-total-messages
> > (+ rmail-total-messages total-messages))
> >
> >
> > should be duplicated for the summary buffer (maybe the same goes for
> > other assignments in that function, I don't know).
> >
> > But this bug is not nasty, so we could just document the current
> > behavior. What do you think?
>
> I think it's a bug: the value in the summary buffer should tell how
> many messages are shown in the summary.
>
> Does the patch below give good results? Please try it both with
> "normal" summaries and with various filtering alternatives.
No further comments, so I've now installed the change on the master
branch.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: rmail-total-messages has two different values, one is wrong,
Eli Zaretskii <=