emacs: Enable more text/plain hook functions by default.
authorDavid Edmondson <dme@dme.org>
Wed, 28 Dec 2011 15:04:27 +0000 (15:04 +0000)
committerDavid Bremner <bremner@debian.org>
Wed, 28 Dec 2011 17:28:54 +0000 (13:28 -0400)
Users are missing out on various functions which usefully improve the
display of text/plain message parts because they are not enabled by
default. Enable a useful set.

`notmuch-wash-convert-inline-patch-to-part' is _not_ enabled by
default as it is based on a heuristic.

emacs/notmuch-show.el

index 6ef3f90f1f39892aa305bb246f95de6deb540f2e..5502efd159c575ae54b509a7414318cc1cba323e 100644 (file)
@@ -75,7 +75,10 @@ any given message."
   :group 'notmuch
   :type 'hook)
 
-(defcustom notmuch-show-insert-text/plain-hook '(notmuch-wash-excerpt-citations)
+(defcustom notmuch-show-insert-text/plain-hook '(notmuch-wash-wrap-long-lines
+                                                notmuch-wash-tidy-citations
+                                                notmuch-wash-elide-blank-lines
+                                                notmuch-wash-excerpt-citations)
   "Functions used to improve the display of text/plain parts."
   :group 'notmuch
   :type 'hook