Hi all,

        Here are more details on the disappearing 'limit' index list problem.  
I'm using mutt 1.2.5i on Solaris 8 with IMAP and SSL.   

        Summary of problem:
        -------------------
         
        After applying 'limit' to a mailbox index in mutt 1.2.5i, the resulting
index list acts consistently wrong.  When I request to read the text of a
message in the index list (i.e.  by moving highlight with arrows and pressing
enter), the text of messages mutt then displays are from the wrong message.
Further, as these incorrect messages are browsed the 'limit'-ed index message
list becomes smaller and smaller.  Worst of all, the very messages originally
requested disappear from the mail folder index until mutt is restarted (or until
a different folder is loaded, and then the originally desired folder is loaded).


        Note: This does not seem to be a curses or terminal setting
problem; the incorrect behavior is consistent and reproducible.  THe
problem seems to be an off-by-one in message-header numbering, see
below for details.

        The details:
        ------------

        When in a mutt 1.2.5i message index, the list that results from a
limit command command (i.e. l ~t claudio in my "sent" folder) acts
incorrectly.  The first result of a limit command is a display with
the wrong message number is displayed next to the correct message
heasder. This wrong number has the value ( (message number of correct
message) + 1)

        In the following  example, I'll use 'limit' to ' ~t claudio'

For the example, I'll write  a description of the mail folder file contents

The actual mail folder contents (my own table for this example):
message number   to whom
-------------   --------
2               claudio
3               roberta
540             claudio
541             sonia


        Initial mutt 1.2.5i response to l ~t claudio

      
  3    F Aug 14 To Claudio      (   0) a first messge to claudio
541    F Jul 20 To Claudio      (   0) a second message to claudio

        

        So, I select the mssage, from claudio, listed as msg 541 I
then see the _real_ message 541

==========
Date:  Wed, 18 Jul 2000 14:50:41 -000 (CDT)
From:   Barry Isralewitz <[EMAIL PROTECTED]>
To: Sonia    <[EMAIL PROTECTED]>
Subject: how have you been Sonia?
User-Agent: Mutt/1.2.5i 

Hi Sonia,

[rest of msg text...]
=======



... and now in the list after viewing that non-claudio message 541 we see
the header from the real 541 listed as 541.

  3    F Aug 14 To Claudio      (   0) a first messge to claudio
541    F Jul 18 To Sonia        ( 158) how have you been Sonia
        

        Now the message seems to be duplicated in the 'all' list, 
so that it won't appear if i select from all,

[Mutt command:]  l all



[...]
539    F Jul 18 To Tim          (   0) meet for lunch
540    F Jul 18 To Sonia        ( 158) how have you been Sonia
541    F Jul 18 To Sonia        ( 158) how have you been Sonia
542    F Jul 18 To Alice        ( 158) co-author a paper
[...]

And now 
 ~t claudio has fewer results.


[Mutt command:] l ~t claudio

  3    F Aug 14 To Claudio      (   0) a first messge to claudio


        The July 20 message to Claudio has _disappeared_!  It is gone from index view. 
 If
I go into message view, and use prev-message / next message until message 540 appears, 
it
will reset this behavior.  Failing this, It won't come back until I restart mutt or 
load
a different mail folder, then reload the mailbox I was working with in the first place.

        An extra note: if there are 2 consecutive meesages that match
the limit, the latter will remain in the list, with the wrong header.
When this message text is viewed, and thein the index list is returned
to, the correct header is set in the index list.




My mutt compile details:

Mutt 1.2.5i (2000-07-28)

System: SunOS 5.8
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
+USE_IMAP  -USE_GSS  +USE_SSL  +USE_POP  -HAVE_REGCOMP  +USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  +ENABLE_NLS


                                
                                                Thanks for any help,

                                                Barry

--
Barry Isralewitz     Beckman 3121    Theoretical Biophysics Group, UIUC
Office Phone: (217) 244-1612    Home Phone: (217) 337-6364
email: [EMAIL PROTECTED]      http://www.ks.uiuc.edu/~barryi 

Reply via email to