Re: mutt leaves disconnect from imap on console after exit

2013-02-06 Thread Michael Elkins
On Wed, Feb 06, 2013 at 11:01:57PM +0100, Olaf Hering wrote: colors#8, cols#80, it#8, lines#24, ncv#3, pairs#64, The only difference is the ncv capability, which is not relevant to this discussion, so it must be the behavior of one of the components.

Re: mutt leaves disconnect from imap on console after exit

2013-02-06 Thread Olaf Hering
On Wed, Feb 06, Michael Elkins wrote: > On Wed, Feb 06, 2013 at 08:42:59PM +0100, Olaf Hering wrote: > >>>ncurses: ncurses 5.7.20101009 (compiled with 5.7) > >> > >>Which terminal emulator, and what $TERM ? > > > >TERM is screen in an xterm. And indeed, running mutt just in xterm does > >not leave

Re: mutt leaves disconnect from imap on console after exit

2013-02-06 Thread Michael Elkins
On Wed, Feb 06, 2013 at 08:42:59PM +0100, Olaf Hering wrote: >ncurses: ncurses 5.7.20101009 (compiled with 5.7) Which terminal emulator, and what $TERM ? TERM is screen in an xterm. And indeed, running mutt just in xterm does not leave that line around. I've attached a test case which simula

Re: mutt leaves disconnect from imap on console after exit

2013-02-06 Thread Patrick Shanahan
* Olaf Hering [02-06-13 14:45]: > On Wed, Feb 06, Michael Elkins wrote: > > > On Wed, Feb 06, 2013 at 08:32:15PM +0100, Olaf Hering wrote: > > >On Wed, Feb 06, Michael Elkins wrote: > > >>Which curses implementation? I did recently commit a change to remove the > > >>code that moved the cursor t

Re: mutt leaves disconnect from imap on console after exit

2013-02-06 Thread Olaf Hering
On Wed, Feb 06, Michael Elkins wrote: > On Wed, Feb 06, 2013 at 08:32:15PM +0100, Olaf Hering wrote: > >On Wed, Feb 06, Michael Elkins wrote: > >>Which curses implementation? I did recently commit a change to remove the > >>code that moved the cursor to the lower left corner because it seemed tha

Re: mutt leaves disconnect from imap on console after exit

2013-02-06 Thread Michael Elkins
On Wed, Feb 06, 2013 at 08:32:15PM +0100, Olaf Hering wrote: On Wed, Feb 06, Michael Elkins wrote: Which curses implementation? I did recently commit a change to remove the code that moved the cursor to the lower left corner because it seemed that both ncurses and slang do this automatically wh

Re: mutt leaves disconnect from imap on console after exit

2013-02-06 Thread Olaf Hering
On Wed, Feb 06, Michael Elkins wrote: > On Wed, Feb 06, 2013 at 08:24:25PM +0100, Olaf Hering wrote: > >I also see these "Mailbox unchanged" messages (in a separate line), but > >to me it looks like the "Closing connection ..." message just lacks a > >newline? > > Which curses implementation? I

Re: mutt leaves disconnect from imap on console after exit

2013-02-06 Thread Michael Elkins
On Wed, Feb 06, 2013 at 08:24:25PM +0100, Olaf Hering wrote: I also see these "Mailbox unchanged" messages (in a separate line), but to me it looks like the "Closing connection ..." message just lacks a newline? Which curses implementation? I did recently commit a change to remove the code th

Re: mutt leaves disconnect from imap on console after exit

2013-02-06 Thread Olaf Hering
On Wed, Feb 06, Michael Elkins wrote: > On Wed, Feb 06, 2013 at 03:46:44PM +0100, Olaf Hering wrote: > >Currently mutt prints "Closing connection to ..." to > >console when I quit mutt with the "q" key. This last message is not > >properly cleared and still visible on console. > > > >I think this

Re: mutt leaves disconnect from imap on console after exit

2013-02-06 Thread Michael Elkins
On Wed, Feb 06, 2013 at 03:46:44PM +0100, Olaf Hering wrote: Currently mutt prints "Closing connection to ..." to console when I quit mutt with the "q" key. This last message is not properly cleared and still visible on console. I think this was introduced recently (a few weeks?), I run hg rev56

[PATCH 2 of 2] Check for unseen messages in the cur/ directory as well as new/. This makes the maildir detection identical to MH and IMAP

2013-02-06 Thread Michael Elkins
buffy.c | 129 --- 1 files changed, 90 insertions(+), 39 deletions(-) # HG changeset patch # User Michael Elkins # Date 1360173788 0 # Branch HEAD # Node ID af544d17195c25188170abbf2aa98342ad15c66c # Parent 1ea5c2a14309777bd7dbb8a348

[PATCH 0 of 2] make buffy report on unseen mail in /cur

2013-02-06 Thread Michael Elkins
This series of patches modifies the new mail detection for maildir formats. The first patch modifies move the reset of the "new" flag from the BUFFY structure to the individual checks for each mailbox format, such that the check function can use the previous value if needed. The second patch brin

[PATCH 1 of 2] allow the mailbox-specific buffy check function to inspect the previous "new" status, and reset it if there is no new mail

2013-02-06 Thread Michael Elkins
buffy.c | 5 - 1 files changed, 4 insertions(+), 1 deletions(-) # HG changeset patch # User Michael Elkins # Date 1360124833 0 # Branch HEAD # Node ID 82fa11059222bd6f4a93b4c746cc778f9425743d # Parent 2a1c5d3dd72eb2f27581a385ae5309e0ab744222 allow the mailbox-specific buffy check function

mutt leaves disconnect from imap on console after exit

2013-02-06 Thread Olaf Hering
Currently mutt prints "Closing connection to ..." to console when I quit mutt with the "q" key. This last message is not properly cleared and still visible on console. I think this was introduced recently (a few weeks?), I run hg rev5637. Anyone else seeing this? Olaf