Hi,
> I'm using IMAP to access mailboxes. Have all of them subscribed, and it
> works great.
>
> In Mutt 1.5.13, when I pressed "c" to change folder, Mutt was
> automatically suggesting "next" folder with unread messages.
[...]
> But when I press "c" - it doesn't suggest anything. Couple of minutes
> ago I had some new mails in lists.pg-general, and this folder *was*
> suggested to me after "c".
When you leave folder, mutt will mark all messages as Old. 'y' shows
number of _unread_ messages. 'c' suggests you folders containing 'New'
messages. So once you visit folder, it won't be suggested again unless
there appears new message again.
> I would really love to stick to mutt, but the fact that I have to go
> to "list of all folders" to check where are unread messages - it makes
> usage of mutt practically unbearable.
If I am right about the cause, the attached patch makes mark_old option
work also for IMAP.
Hope this helps
--
Vlad
IMAP mark_old patch
diff --git a/imap/command.c b/imap/command.c
--- a/imap/command.c
+++ b/imap/command.c
@@ -917,7 +917,7 @@
dprint (3, (debugfile, "Found %s in buffy list (OV: %d ON: %d U:
%d)\n",
mailbox, olduv, oldun, status->unseen));
- if (olduv && olduv == status->uidvalidity)
+ if (olduv && olduv == status->uidvalidity && option(OPTMARKOLD))
{
if (oldun < status->uidnext)
inc->new = status->unseen;
Attachment:
pgpYCzbd4HW58.pgp
Description: PGP signature