From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id /8FMFmt9NF8TTwAA0tVLHw (envelope-from ) for ; Wed, 12 Aug 2020 23:38:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id AIR+EWt9NF9+IQAAbx9fmQ (envelope-from ) for ; Wed, 12 Aug 2020 23:38:19 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E6C06940142 for ; Wed, 12 Aug 2020 23:38:17 +0000 (UTC) Received: from [144.217.243.247] (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 5385B29B79; Wed, 12 Aug 2020 19:38:11 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 857901FA7D for ; Wed, 12 Aug 2020 19:38:08 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 6A5625FDE2; Wed, 12 Aug 2020 19:38:08 -0400 (EDT) Received: (nullmailer pid 3690197 invoked by uid 1000); Wed, 12 Aug 2020 23:38:06 -0000 From: David Bremner To: Teemu Likonen , David Edmondson , notmuch@notmuchmail.org Cc: Teemu Likonen Subject: Re: [PATCH v2] Emacs: Indent first header line only when indentation is turned on In-Reply-To: <20200810143757.3681-1-tlikonen@iki.fi> References: <20200810143757.3681-1-tlikonen@iki.fi> Date: Wed, 12 Aug 2020 20:38:06 -0300 Message-ID: <874kp7sae9.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: FORGEC5OKRER6EQJCUCT47DC2JJL6WSU X-Message-ID-Hash: FORGEC5OKRER6EQJCUCT47DC2JJL6WSU X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: 0.53 X-TUID: HPUXw5b5yvrN Teemu Likonen writes: > diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el > index 0eb27e33..444b2a45 100644 > --- a/emacs/notmuch-show.el > +++ b/emacs/notmuch-show.el > @@ -474,7 +474,10 @@ message at DEPTH in the current thread." > ;; invisible U+200E LEFT-TO-RIGHT MARK character which forces > ;; the header paragraph as left-to-right text. > (insert (propertize (string ?\x200e) 'invisible t))) > - (insert (notmuch-show-spaces-n (* notmuch-show-indent-messages-width depth)) > + (insert (if notmuch-show-indent-content > + (notmuch-show-spaces-n (* notmuch-show-indent-messages-width > + depth)) > + "") > from > " (" > date the test "notmuch-show: disable indentation of thread content (w/ notmuch-show-toggle-thread-indentation)" in T450-emacs-show needs to be adjusted for this change (i.e. it fails as is).