]> git.notmuchmail.org Git - sup/commit
stop automatically stripping Re: bits from message subjects when indexing
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Sun, 30 Dec 2007 00:56:37 +0000 (16:56 -0800)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Sun, 30 Dec 2007 05:04:56 +0000 (21:04 -0800)
commitd0fcf5c2420f97110f479cde3fbfd594c0b0faa9
tree1ea9ac84a6c86c5c4b5d42be6c036b7c47deba3d
parent2ef7518d7d4eefc9b3ac4fff8e63a595af8d0c37
stop automatically stripping Re: bits from message subjects when indexing

Rationale: when thread-by-subject is on, whether the subject is a reply or not
is actually used by threading to pick a root message (Thread#each). Stripping
the Re: header then gives incorrect behavior until the message has been loaded
from the source. Currently this isn't really a problem because threading isn't
called until all messages have been loaded from source, but in the future we
might optimize that a bit, at in the present, it gives weird results when
debugging.
lib/sup/index.rb