notmuch show: Switch to control character to mark sections of output
authorCarl Worth <cworth@cworth.org>
Tue, 3 Nov 2009 05:13:19 +0000 (21:13 -0800)
committerCarl Worth <cworth@cworth.org>
Tue, 3 Nov 2009 05:13:19 +0000 (21:13 -0800)
commita81849b5e21632cfca7d634d718501f67219bb60
treef8fdcc00fac666724005e47264249ddae654eb7b
parent40382ed98cc0a801c5ecdde26088d4341e02bcde
notmuch show: Switch to control character to mark sections of output

We were previously using things like "%message{" which were not
guaranteed to never appear in an email message. Using a control
character (^L or '\f' instead of '%') gives us better assurance that
our delimiter doesn't show up in an original email message.

This still isn't entirely safe since we're decoding encoded text in
the body of the email message so almost all bets are off really.
notmuch.c
notmuch.el