Mailman mailing list software rewrites and rewraps long message subjects in
a way that causes TABs to appear in the middle of the subject and header
-lines. Add this to your .emacs to replace tabs with spaces in subject
+lines. Add this to your `.emacs` to replace tabs with spaces in subject
lines:
(defun notmuch-show-subject-tabs-to-spaces ()
(defun notmuch-show-header-tabs-to-spaces ()
"Replace tabs with spaces in header line."
(setq header-line-format
- (notmuch-show-strip-re
- (replace-regexp-in-string "\t" " " (notmuch-show-get-subject)))))
+ (notmuch-show-strip-re
+ (replace-regexp-in-string "\t" " " (notmuch-show-get-subject)))))
(add-hook 'notmuch-show-hook 'notmuch-show-header-tabs-to-spaces)