[5631] in SIPB bug reports
exmh bug
daemon@ATHENA.MIT.EDU (Chris Shabsin)
Thu Nov 9 20:17:28 1995
To: Brent.Welch@eng.sun.com
Cc: bug-sipb@MIT.EDU
Date: Thu, 09 Nov 1995 20:13:18 EST
From: Chris Shabsin <shabby@MIT.EDU>
version 1.6.4 10/10/95
NetBSD lola-granola 1.0A NetBSD 1.0A (LOLA) #139: Sun Oct 22 15:38:41 EDT 1995
mycroft@lola-granola:/afs/sipb.mit.edu/project/netbsd/dev/current-source/bu
ild/i386_nbsd1/sys/arch/i386/compile/LOLA i386
Tk 3.6 Tcl 7.3
exmh 1.6.4 has a bug in the code to change folders while the 'autosort' flag
is set. It causes switching to a folder that doesn't have saved info on the
number of unseen messages to die with an error. We got a few mail messages on
this one.
Here's a patch:
*** folder.tcl.orig Sat Oct 21 07:21:15 1995
--- folder.tcl Thu Nov 9 19:33:19 1995
***************
*** 110,117 ****
Flist_Visited $f
set exmh(folder) $f
if {$ftoc(autoSort)} {
! global flist
! if {$flist(new,$f) > 0} {
Ftoc_Sort
}
}
--- 110,116 ----
Flist_Visited $f
set exmh(folder) $f
if {$ftoc(autoSort)} {
! if { [Flist_NumUnseen $f] > 0} {
Ftoc_Sort
}
}