]> granicus.if.org Git - mutt/commit
Add subjectrx command to replace matching subjects with something else.
authorDavid Champion <dgc@bikeshed.us>
Tue, 24 Jan 2017 03:01:50 +0000 (19:01 -0800)
committerDavid Champion <dgc@bikeshed.us>
Tue, 24 Jan 2017 03:01:50 +0000 (19:01 -0800)
commit0663272c47d0a858a4fc3bc14d3e67959292f6ad
treeafd513bfe4225f9057815888ecbe506cc42b32fb
parent149ed356ffaad6ebf3a0d2d55c96e3414398b9eb
Add subjectrx command to replace matching subjects with something else.

This lets you define regular expressions-replacement pairs for subject
display.  When a Subject: matches the regular expression, the replacement
value will be displayed instead in the message index.  Backreferences
are supported.

This is especially nice for simplifying subjects that are overly wordy,
such as mailing list posts (with [Listname] tags, etc), mail from
ticketing systems or bug trackers, etc.  It lets you reduce clutter in
your mutt display without altering the messages themselves.
doc/manual.xml.head
globals.h
hdrline.c
init.c
init.h
mutt.h
muttlib.c