aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.el
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2009-11-20 13:09:58 +0100
committerGravatar Carl Worth <cworth@cworth.org>2009-11-20 13:09:58 +0100
commit2cc316516356f12d21e066121ce64317b3783a9f (patch)
tree1b5c572d1f0940998ef7c75bc19491f5dab4faae /notmuch.el
parent0a575c95804da3cb740ebe2fbece862f19dce35a (diff)
notmuch.el: Don't use literal control characters in strings.
Avoding these is nicer to users, text editors, and our poor little notmuch.el code itself that would get confused when seeing a copy of itself in email. (Of course, we should still fix that bug, but this workaround is good nonetheless.)
Diffstat (limited to 'notmuch.el')
-rw-r--r--notmuch.el22
1 files changed, 11 insertions, 11 deletions
diff --git a/notmuch.el b/notmuch.el
index 1fc54c30..cbb240f3 100644
--- a/notmuch.el
+++ b/notmuch.el
@@ -71,17 +71,17 @@ pattern can still test against the entire line).")
(defvar notmuch-show-signature-lines-max 12
"Maximum length of signature that will be hidden by default.")
-(set 'notmuch-show-message-begin-regexp " message{")
-(set 'notmuch-show-message-end-regexp " message}")
-(set 'notmuch-show-header-begin-regexp " header{")
-(set 'notmuch-show-header-end-regexp " header}")
-(set 'notmuch-show-body-begin-regexp " body{")
-(set 'notmuch-show-body-end-regexp " body}")
-(set 'notmuch-show-attachment-begin-regexp " attachment{")
-(set 'notmuch-show-attachment-end-regexp " attachment}")
-(set 'notmuch-show-part-begin-regexp " part{")
-(set 'notmuch-show-part-end-regexp " part}")
-(set 'notmuch-show-marker-regexp " \\(message\\|header\\|body\\|attachment\\|part\\)[{}].*$")
+(set 'notmuch-show-message-begin-regexp "\fmessage{")
+(set 'notmuch-show-message-end-regexp "\fmessage}")
+(set 'notmuch-show-header-begin-regexp "\fheader{")
+(set 'notmuch-show-header-end-regexp "\fheader}")
+(set 'notmuch-show-body-begin-regexp "\fbody{")
+(set 'notmuch-show-body-end-regexp "\fbody}")
+(set 'notmuch-show-attachment-begin-regexp "\fattachment{")
+(set 'notmuch-show-attachment-end-regexp "\fattachment}")
+(set 'notmuch-show-part-begin-regexp "\fpart{")
+(set 'notmuch-show-part-end-regexp "\fpart}")
+(set 'notmuch-show-marker-regexp "\f\\(message\\|header\\|body\\|attachment\\|part\\)[{}].*$")
(set 'notmuch-show-id-regexp "\\(id:[^ ]*\\)")
(set 'notmuch-show-depth-regexp " depth:\\([0-9]*\\) ")