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

[Mutt] #3333: "no mailbox" impossible to leave -- changeset 6020



#3333: "no mailbox" impossible to leave -- changeset 6020
----------------------+-----------------------------------------------------
 Reporter:  agriffis  |       Owner:  mutt-dev
     Type:  defect    |      Status:  new     
 Priority:  major     |   Milestone:          
Component:  mutt      |     Version:          
 Keywords:            |  
----------------------+-----------------------------------------------------
 Anders Helmersson wrote:

 If I end up with "no mailbox", it seems impossible to change it into
 another by "c" (change-folder) since the error messages " is not a
 mailbox" followed by "No mailbox is opened". In that case I have to exit
 mutt and start all over.

 This happens when I try to open a mailbox with an erroneous password.

 The problem was introduced by

 {{{
 changeset:   6020:e67f4c347bb4
 branch:      HEAD
 user:        Rocco Rutte <pdmef@xxxxxxx>
 date:        Mon Aug 17 16:58:21 2009 +0200
 summary:     Require already opened folder when using templates for
 change-folder.

 $ hg diff -r 6019 -r 6020
 diff --git a/curs_main.c b/curs_main.c
 --- a/curs_main.c
 +++ b/curs_main.c
 @@ -1082,7 +1082,7 @@
             break;
           }
         }
 -       else
 +       else if (Context && Context->path)
         {
           mutt_buffy (buf, sizeof (buf));
 }}}

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