> Okay, I've just patched and sourced it into my running exmh, so I'll let you
I have a folder that contains one unseen message and nothing else.  I select
11:17:40 Changing to Housekeeping/Monitor ...
11:17:40 Scan_CacheUpdate error {bad text index ".0"}
11:17:40 Scan_CacheUpdate {952 microseconds per iteration}
11:17:40 Exmh_CheckPoint {1409 microseconds per iteration}
11:17:40 Ftoc_Reset Housekeeping/Monitor has 0 msgs
11:17:40 Ftoc_Reset Housekeeping/Monitor has 1 msgs
11:17:40 Scan_Folder {76527 microseconds per iteration}
11:17:40 Mh_SequenceUpdate Housekeeping/Monitor clear cur {} public
11:17:40 Folder_Change Housekeeping/Monitor {162590 microseconds per iteration}
11:17:54 Mh_SetCur +Housekeeping/Monitor cur 1
11:17:54 Mh_SequenceUpdate Housekeeping/Monitor replace cur 1 public
11:17:54 Ftoc_RescanLines {16313 microseconds per iteration}
11:17:54 Widget_TextPad h=64 last=65.0 top=3.0
11:17:54 {In FlagInner spool iconspool labelup}
11:17:54 {Setting flag bitmap to iconspool}
11:17:55 Mh_SequenceUpdate Housekeeping/Monitor del unseen 1 public
11:17:55 Msg_Change {248654 microseconds per iteration}
11:18:27 Ftoc_RescanLines {15914 microseconds per iteration}
11:18:27 Mh_SequenceUpdate Housekeeping/Monitor clear cur {} public
11:18:27 Ftoc_RescanLines {15278 microseconds per iteration}
I click on commit and the message remains in my ftoc even though it's deleted.
11:18:43 Mh_SequenceUpdate Housekeeping/Monitor del unseen 1 public
11:18:43 Ftoc_RescanLines {14595 microseconds per iteration}
11:18:43 Mh_SequenceUpdate Housekeeping/Monitor clear cur {} public
11:18:43 BgAction {Rmm Housekeeping/Monitor} {Mh_Rmm Housekeeping/Monitor 1}
11:18:43 Scan_CacheUpdate error {bad text index ".0"}
11:18:43 Scan_CacheUpdate {1071 microseconds per iteration}
I also noticed a few  references to ftoc(curline) instead of ftoc(curLine).

from localhost (localhost [127.0.0.1])
	by phobos.labs.netnoteinc.com (Postfix) with ESMTP id 0B0C343C36
	for <jm@localhost>; Tue, 13 Aug 2002 05:39:42 -0400 (EDT)
from phobos [127.0.0.1]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Tue, 13 Aug 2002 10:39:42 +0100 (IST)
from lugh.tuatha.org (root@lugh.tuatha.org [194.125.145.45]) by
    dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g7D9cOb25641 for
    <jm-ilug@jmason.org>; Tue, 13 Aug 2002 10:38:24 +0100
from lugh (root@localhost [127.0.0.1]) by lugh.tuatha.org
    (8.9.3/8.9.3) with ESMTP id KAA05830; Tue, 13 Aug 2002 10:36:28 +0100
from luggage.hts.horizon.ie (gandalf.horizon.ie [193.120.105.3])
    by lugh.tuatha.org (8.9.3/8.9.3) with ESMTP id KAA05797 for
    <ilug@linux.ie>; Tue, 13 Aug 2002 10:36:21 +0100
lugh.tuatha.org: Host gandalf.horizon.ie
    [193.120.105.3] claimed to be luggage.hts.horizon.ie
from hts.horizon.ie (localhost.localdomain [127.0.0.1]) by
    luggage.hts.horizon.ie (Postfix) with SMTP id 3AC0736B71; Tue,
    13 Aug 2002 10:32:20 +0100 (IST)
Sylpheed version 0.8.0 (GTK+ 1.2.10; i586-mandrake-linux-gnu)
[ILUG] Ireland's hub just moved further away from the internet.
From ilug-admin@linux.ie  Tue Aug 13 10:40:40 2002