Use a modification count cache to verify and commit memoized folder
authorTaylor R. Campbell <net/mumble/campbell>
Sun, 11 Mar 2007 15:04:31 +0000 (15:04 +0000)
committerTaylor R. Campbell <net/mumble/campbell>
Sun, 11 Mar 2007 15:04:31 +0000 (15:04 +0000)
commit582cd6d719d500d091da4991e34369ce08520549
tree44d22af701b4cff56081d2a4d743448337574bb7
parent96e50b11c0c2d135624092846d313d08235ee078
Use a modification count cache to verify and commit memoized folder
orders, instead of blocking interrupts, so that MEMOIZE-FOLDER-ORDER
may now be interrupted.

Memoize the folder order immediately before it is assigned to a folder
in SET-FOLDER-ORDER!.  This means that it can no longer be delayed
until actually needed, but also that if it is interrupted it won't
actually set the folder's order and thereby wedge IMAIL until the
messages are sorted.

Allow message indices to fall outside the range of folder orders, and
leave them as they are, in case the folder order has not been updated
yet to reflect them.
v7/src/imail/imail-core.scm