From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 53B5D6DE2322 for ; Thu, 29 Jun 2017 07:13:19 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 1.172 X-Spam-Level: * X-Spam-Status: No, score=1.172 tagged_above=-999 required=5 tests=[RDNS_NONE=0.2, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nkzltfCm24IP for ; Thu, 29 Jun 2017 07:13:17 -0700 (PDT) X-Greylist: delayed 457 seconds by postgrey-1.36 at arlo; Thu, 29 Jun 2017 07:13:17 PDT Received: from gibson.localdomain (unknown [62.31.30.55]) by arlo.cworth.org (Postfix) with ESMTP id A255D6DE230E for ; Thu, 29 Jun 2017 07:13:17 -0700 (PDT) Received: from gibson.r.cse.org.uk (localhost [127.0.0.1]) by gibson.localdomain (Postfix) with ESMTP id 18892944A7E; Thu, 29 Jun 2017 15:05:38 +0100 (BST) From: Tom Hinton To: notmuch@notmuchmail.org Cc: Tom Hinton Subject: [PATCH] Fix minor mistake where indentation width is ignored Date: Thu, 29 Jun 2017 15:05:07 +0100 Message-Id: <20170629140507.31447-1-tom.hinton@cse.org.uk> X-Mailer: git-send-email 2.12.2 X-Mailman-Approved-At: Thu, 29 Jun 2017 07:16:32 -0700 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jun 2017 14:13:19 -0000 --- emacs/notmuch-show.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index 0f157ec5..f99a5c3b 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -330,7 +330,7 @@ operation on the contents of the current buffer." (with-temp-buffer (insert all) (if indenting - (indent-rigidly (point-min) (point-max) (- depth))) + (indent-rigidly (point-min) (point-max) (- (* notmuch-show-indent-messages-width depth)))) ;; Remove the original header. (goto-char (point-min)) (re-search-forward "^$" (point-max) nil) @@ -909,7 +909,7 @@ will return nil if the CID is unknown or cannot be retrieved." (narrow-to-region part-beg part-end) (delete-region part-beg part-end) (apply #'notmuch-show-insert-bodypart-internal part-args) - (indent-rigidly part-beg part-end depth)) + (indent-rigidly part-beg part-end (* notmuch-show-indent-messages-width depth))) (goto-char part-end) (delete-char 1) (notmuch-show-record-part-information (second part-args) -- 2.12.2