all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* rmail-total-messages has two different values, one is wrong
@ 2022-10-26 21:26 Andrea Monaco
  2022-10-27 17:04 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Andrea Monaco @ 2022-10-26 21:26 UTC (permalink / raw)
  To: emacs-devel


When I evaluate these forms, I get two different values:

  (with-current-buffer "RMAIL"
    rmail-total-messages) -> 4805

  (with-current-buffer "RMAIL-summary"
    rmail-total-messages) -> 4457


The first one is correct and in fact the summary has 4805 lines.  The
second one is wrong.  Why?  This caused me some delay while working on a
patch.  I conjecture that the second binding is not updated when new
mail is loaded.



Andrea Monaco



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-07-01  8:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-26 21:26 rmail-total-messages has two different values, one is wrong Andrea Monaco
2022-10-27 17:04 ` Eli Zaretskii
2023-06-18 12:51   ` Andrea Monaco
2023-06-24 12:30     ` Eli Zaretskii
2023-07-01  8:35       ` Eli Zaretskii

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.