emacs: Don't indent multipart sub-parts during reply.
authorDavid Edmondson <dme@dme.org>
Tue, 12 Apr 2016 08:04:04 +0000 (09:04 +0100)
committerDavid Bremner <david@tethera.net>
Sat, 16 Apr 2016 12:40:14 +0000 (09:40 -0300)
When generating cited messages for replay, override any existing
setting for `notmuch-show-indent-multipart' to ensure that no
indentation occurs.

emacs/notmuch-mua.el

index 3e5f88725d0b290f1347003c6082dab9099a88be..04459750073c582370d87fa3b743d22dad972e5f 100644 (file)
@@ -250,7 +250,9 @@ mutiple parts get a header."
                       ;; Don't omit long parts.
                       (notmuch-show-max-text-part-size 0)
                       ;; Insert headers for parts as appropriate for replying.
-                      (notmuch-show-insert-header-p-function notmuch-mua-reply-insert-header-p-function))
+                      (notmuch-show-insert-header-p-function notmuch-mua-reply-insert-header-p-function)
+                      ;; Don't indent multipart sub-parts.
+                      (notmuch-show-indent-multipart nil))
                    (notmuch-show-insert-body original (plist-get original :body) 0)
                    (buffer-substring-no-properties (point-min) (point-max)))))