1

Does anyone know if it is possible to setup in the modeline globally the total number of unread messages in the Inbox with Wanderlust?

I want to be able to see any and all unread messages in my mailbox from any buffer.

  • The following three (3) variables are buffer-local: wl-summary-buffer-new-count; wl-summary-buffer-unread-count; and wl-summary-buffer-number-list. The last of the aforementioned variables is used in conjunction with the function lengh -- i.e., (length wl-summary-buffer-number-list) to yield the total messages. Buffer-local values can be obtained from another location by using something like (with-current-buffer (get-buffer . . . If the buffer containing the buffer-local value is not open, then the value will be nil. You may have more than one summary buffer open . . . – lawlist Jul 6 '16 at 1:49
  • Could you please clarify what you want? The sum of unread messages in all mailboxes? The number of unread messages in the INBOX mailbox? – jch Jul 11 '16 at 1:31
  • Yes, that is exactly what I am looking for, the number of unread messages in the INBOX mailbox. – CRB Jul 12 '16 at 2:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.