<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #3151: regression between revisions 5546 and 5554



#3151: regression between revisions 5546 and 5554
---------------------------------------+------------------------------------
 Reporter:  jukka                      |       Owner:  mutt-dev
     Type:  defect                     |      Status:  new     
 Priority:  major                      |   Milestone:          
Component:  mutt                       |     Version:  1.5.19  
 Keywords:  imap unseen message count  |  
---------------------------------------+------------------------------------
 I'm seeing some problems with Mutt which were introduced between 1.5.18
 and 1.5.19, mainly regarding browsing IMAP folders (on Cyrus 2.1 and 2.2
 IMAP servers; I didn't try other IMAP servers).

 Up to revision 5546 everything worked for me as expected.  Starting with
 revision 5547 and up to 5553, browsing IMAP folders was broken (I was
 getting "Mailbox does not exist"); this was fixed with revision 5554.
 However, since 5554 my Mutt behaves strangely.  Here's an example session:

 --------------------------------------------------------------------
 [what I type -> what Mutt prints, comments following # signs]

 c   -> "---Mutt: =INBOX [Msgs:29 Post:1 Inc:5 3.1M]---..."
        "Open mailbox ('?' for list): =INBOX/Lists/NetBSD/current-users"

 # I don't modify imap_delim_chars, thus its default (/.) might
 # explain this slash separator I'm seeing here even though my IMAP
 # server uses a dot.

 tab -> "---Mutt: =INBOX [Msgs:29 Post:1 Inc:5 3.1M]---..."
        "Open mailbox: =INBOX.Lists.NetBSD.current-users"

 # Now the separator somehow changed to a dot...

 tab -> "---Mutt: =INBOX [Msgs:29 Post:1 Inc:5 3.1M]---..."
        "Open mailbox: =INBOX.Lists.NetBSD.current-users"

 # Hmm, I hit tab again, but without effect.  With rev 5546 and
 # earlier Mutts, this caused the directory listing shown in the
 # next step to be displayed.

 tab -> "-- Mutt: Directory [=INBOX.Lists.NetBSD.], File mask: !^\.[^.]"
        "1      IMAP    current-users"

 # Everyting fine in this step.

 tab -> "-- Mutt: Mailboxes [5]"

 # The list of all mailboxes (as defined with the mailboxes command)
 # is shown, but %N is 0 for all of them even for those containing
 # unread and / or new messages.

 tab -> "-- Mutt: Directory [=INBOX.Lists.NetBSD.], File mask: !^\.[^.]"
        list of mailboxes beneath INBOX.Lists.NetBSD is shown

 # Everything fine here as well.
 # Further tabs loop over the last two lists described above as
 # expected.
 --------------------------------------------------------------------

 I received off-list a patch from TAKAHASHI Tamotsu which I'll attach to
 this ticket.  It seems to fix the problems described above.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3151>
Mutt <http://www.mutt.org/>
The Mutt mail user agent