Package: mutt-patched
Version: 1.5.23-3.1
Severity: normal

I noticed a problem with how mutt-patched deals with folders containing
new email messages.  The behavior is somewhat different from the correct
one of unpatched mutt.

My muttrc configuration file contains the following:

  set  mail_check_recent
  unset  mark_old

This is how regular mutt behaves: when I open mutt for the first time I
see all new messages in all folders.  Once I visit a folder containing
new messages and I don't read them, but leave them still flagged as New,
the folder does not appear in the buffy-list anymore, nor gets accessed
with the command <next-unread-mailbox>.

Let's say I have these folders in this order, which are all local
maildirs:

  folder-A
  folder-B
  folder-C
  folder-D

Suppose folder-C has new email, I open it but don't read the new
messages, they stay flagged New, but get otherwise ignored.  The first
difference here is that unpatched mutt does not show folder-C in the
buffy-list anymore, while mutt-patched does.  Still I don't reach
folder-C with the function <next-unread-mailbox>.

Now if folder-A or folder-B get new messages then all stays the same:
<next-unread-mailbox> switches to them only, folder-C gets correctly
ignored.  Instead, and here is the error, if folder-D (or any other
folder that in the mailboxes list comes after folder-C) gets new
messages then <next-unread-mailbox> visits folder-C before going to
folder-D, even if folder-C does not have any new "recent" messages.

I think the right behavior is the one of regular unpatched mutt.  When
you have "mail_check_recent" set mutt should only notify you about new
mail that has been received since the last time you opened the mailbox.
In any case visiting or not visiting "unread" mailboxes should not
depend on the order of other mailboxes with new messages.

Thanks for your work on this package.  Best regards.




-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages mutt-patched depends on:
ii  libassuan0         2.2.1-1
ii  libc6              2.19-19
ii  libcomerr2         1.42.13-1
ii  libgnutls-deb0-28  3.3.17-1
ii  libgpg-error0      1.19-2
ii  libgpgme11         1.5.5-3
ii  libgssapi-krb5-2   1.13.2+dfsg-2
ii  libidn11           1.32-1
ii  libk5crypto3       1.13.2+dfsg-2
ii  libkrb5-3          1.13.2+dfsg-2
ii  libncursesw5       5.9+20150516-2
ii  libsasl2-2         2.1.26.dfsg1-13
ii  libtinfo5          5.9+20150516-2
ii  libtokyocabinet9   1.4.48-3
ii  mutt               1.5.23-3.1

mutt-patched recommends no packages.

mutt-patched suggests no packages.

-- no debconf information

Reply via email to