* Vincent Lefevre <[EMAIL PROTECTED]> [2002-09-12 22:31 +0200]: > On Thu, Sep 12, 2002 at 16:15:36 -0400, Michael Leone wrote: > > > > Vincent Lefevre said: > > > I want 4 levels (in the same mailbox, to get the benefit of threading): > > > 1) Messages that mustn't be deleted. > > > 2) Messages I've read but I want to keep for some time. > > > 3) Messages I've read or partly read which I need to read again > > > (e.g. because I need to reply or to look at a URL or whatever). > > > > Well, mutt can't know that you want to read them again. :-) To mutt, it's > > read. > > No, I use the toggle-new command to mark them as new (and they become > old when I quit the mailbox with the quit command). > > > You get new mail; it's flagged as "new". You exit mutt. You restart mutt. > > The message is still flagged as "new" (presuming that you unset mark_old > > in your .muttrc). > > No, when using a "normal" folder (where "normal" means non-IMAP), > it depends on how I quit Mutt. Quit with 'quit' -> the new messages > are marked as 'old'. Quit with 'exit' (or after setting the folder > in read-only mode) -> the new messages remain 'new'. This works very > well to use the 4 levels, but not with IMAP.
I use the attached patch (with "mark_old is unset"). But I must admit, I use it only with local Maildirs. Nicolas
--- parse.c.ori Wed Oct 31 10:18:28 2001 +++ parse.c Sat Nov 10 16:38:12 2001 @@ -1149,8 +1149,7 @@ hdr->replied = 1; break; case 'O': - if (option (OPTMARKOLD)) - hdr->old = 1; + hdr->old = 1; break; case 'R': hdr->read = 1; --- ori Fri Jul 12 22:47:53 2002 +++ mh.c Fri Jul 12 22:47:28 2002 @@ -689,7 +689,7 @@ if (subdir) { snprintf (buf, sizeof (buf), "%s/%s", ctx->path, subdir); - is_old = (mutt_strcmp ("cur", subdir) == 0) && option (OPTMARKOLD); + is_old = (mutt_strcmp ("cur", subdir) == 0); } else strfcpy (buf, ctx->path, sizeof (buf));