This first patch renames SPAM_LIST to REPLACE_LIST, and changes a couple of variable names accordingly. The SPAM_LIST functionality is used by the second patch, so it's renamed to something less misleading to reduce confusion.
The second patch adds subjectrx and unsubjectrx commands. subjectrx defines a list of transformation regexes for the display subject (the Subject: header, as shown in the index). You can use this to make subjects more readable or more concise in the index view, without changing the actual header value. If a subjectrx transformation changes a message's display subject, the transformed value is cached in a separate buffer (env->disp_subj) so that the regex transformation is done only once per message per mutt instance. Using subjectrx or unsubjectrx flushes all cached disp_subj values. Transformations are applied when the index screen is generated, so only those messages you see will be operated upon. I've been using this code for about 7 months with no issues and much less frustration at my mailing list and ticketing system mail. Wrote the manual.xml text today.