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 1DF7F6DE2371 for ; Thu, 29 Jun 2017 07:15:10 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.701 X-Spam-Level: X-Spam-Status: No, score=-0.701 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] 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 M3tjWonPA4-D for ; Thu, 29 Jun 2017 07:15:09 -0700 (PDT) X-Greylist: delayed 398 seconds by postgrey-1.36 at arlo; Thu, 29 Jun 2017 07:15:08 PDT Received: from asp.reflexion.net (outbound-mail-210-15.reflexion.net [208.70.210.15]) by arlo.cworth.org (Postfix) with ESMTPS id C81306DE2370 for ; Thu, 29 Jun 2017 07:15:08 -0700 (PDT) Received: (qmail 29104 invoked from network); 29 Jun 2017 14:08:28 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 29 Jun 2017 14:08:28 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.1) with SMTP; Thu, 29 Jun 2017 10:08:28 -0400 (EDT) Received: (qmail 13155 invoked from network); 29 Jun 2017 14:08:28 -0000 Received: from unknown (HELO webmail.cse.org.uk) (62.31.30.55) by 0 (rfx-qmail) with (AES128-SHA encrypted) SMTP; 29 Jun 2017 14:08:28 -0000 Received: from cse-bs3-mail.cse.org.uk ([fe80::c105:4bb:f830:a854]) by cse-bs3-mail.cse.org.uk ([fe80::c105:4bb:f830:a854%10]) with mapi id 14.03.0351.000; Thu, 29 Jun 2017 15:08:26 +0100 From: Tom Hinton To: "notmuch@notmuchmail.org" CC: Tom Hinton Subject: [PATCH] Fix minor mistake where indentation width is ignored Thread-Topic: [PATCH] Fix minor mistake where indentation width is ignored Thread-Index: AQHS8OEsBZEKw1i2eEuKm+1jsrwIng== Date: Thu, 29 Jun 2017 14:08:25 +0000 Message-ID: <20170629140820.31767-1-tom.hinton@cse.org.uk> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [178.79.139.124] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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:15:10 -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-messa= ges-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 retr= ieved." (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 d= epth))) (goto-char part-end) (delete-char 1) (notmuch-show-record-part-information (second part-args) --=20 2.12.2