[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Re: Value of rmail-total-messages in the summary buffer
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH] Re: Value of rmail-total-messages in the summary buffer |
Date: |
Sat, 11 May 2024 12:18:44 +0300 |
> From: Andrea Monaco <andrea.monaco@autistici.org>
> Cc: emacs-devel@gnu.org
> Date: Tue, 07 May 2024 11:00:25 +0200
>
>
> > Please show some simple recipe that exhibits the problem, as I'm not
> > sure I understand how does that get in the way.
>
> If I make a small summary by topic, say on this very topic, and then
> from the summary buffer I call rmail-summary-by-thread, again on this
> thread, I get an out-of-bounds error. Can you replicate this?
Yes, thanks.
> > Also, are you saying that the previous "buggy" value did not present
> > the same problem? If so, can you explain why?
>
> Thinking more about it, the problem originated in
> 8729a2a10d9b8d88f6ba33b5ce62f74d89e7788a and is easier to solve. The
> attached patch solves the problem for me: the reference to
> rmail-total-messages now happens inside rmail-buffer, so the intended
> value is taken.
Thanks. The patch didn't apply cleanly, so I fixed that a bit
differently (on the master branch).