From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 1h8eCq7TN19pZwAA0tVLHw (envelope-from ) for ; Sat, 15 Aug 2020 12:23:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cC5wBa7TN189YAAA1q6Kng (envelope-from ) for ; Sat, 15 Aug 2020 12:23:10 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (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 22B78940142 for ; Sat, 15 Aug 2020 12:23:09 +0000 (UTC) Received: from [144.217.243.247] (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id E37DE29B96; Sat, 15 Aug 2020 08:23:03 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id E32D82711E for ; Sat, 15 Aug 2020 08:23:01 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id C50AA5FDE2; Sat, 15 Aug 2020 08:23:01 -0400 (EDT) Received: (nullmailer pid 87316 invoked by uid 1000); Sat, 15 Aug 2020 12:23:00 -0000 From: David Bremner To: Teemu Likonen , David Edmondson , notmuch@notmuchmail.org Subject: Re: [PATCH v3] Emacs: Indent first header line only when indentation is turned on In-Reply-To: <20200815062829.4987-1-tlikonen@iki.fi> References: <874kp7sae9.fsf@tethera.net> <20200815062829.4987-1-tlikonen@iki.fi> Date: Sat, 15 Aug 2020 09:23:00 -0300 Message-ID: <87mu2w5c9n.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: RHQHQEGIAF3J5SFZ6YTQNS72UGGH6TI4 X-Message-ID-Hash: RHQHQEGIAF3J5SFZ6YTQNS72UGGH6TI4 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 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: -0.97 X-TUID: YdmVogRAZj3G Teemu Likonen writes: > Previously in message-show mode message's first header line (From > header) was always indented, even if user had turned thread > indentation off with "<" (notmuch-show-toggle-thread-indentation) > command. > > This change modifies notmuch-show-insert-headerline function so that > it doesn't indent the first header line if notmuch-show-indent-content > variable is nil. > > This change also modifies tests so that they expect this new output > format: > test/emacs-show.expected-output/notmuch-show-indent-thread-content-off Applied to master d