From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UCpoJ7XJqWOzVwEAbAwnHQ (envelope-from ) for ; Mon, 26 Dec 2022 17:20:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mLh4J7XJqWPvfwAA9RJhRA (envelope-from ) for ; Mon, 26 Dec 2022 17:20:05 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4E4BD2B8B2 for ; Mon, 26 Dec 2022 17:20:05 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 099915FAF1; Mon, 26 Dec 2022 16:07:09 +0000 (UTC) Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by mail.notmuchmail.org (Postfix) with ESMTPS id 0677B5F9AD for ; Mon, 26 Dec 2022 16:07:07 +0000 (UTC) Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9q0H-00054P-0J; Mon, 26 Dec 2022 11:07:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=m+TDyMhJMSRGTnjcwu6jCbWFrKOxB7jWEDQ9NVmAMqE=; b=LTcizi7s0HO/V+NbWtPr 3UGSgZIifF1fzdDq5d5DPoH9fK4OuNLGqEkNW317sqvpB2BcCCYwMnhRqF5LfgIozsdDtdPfK/V+l RTtUxfSJnxbASnVDj8cmMfeYgBIG6LC/3088aBRQk1oo1E4haBodwbb3v2XzdZ0iIU66QETYZkO3u ci/FCrTt2bYVLxXdlKnEaLps0tmcggl5Bfryc7rttllOKs+yS5m7c3DVZUdupAtdx8XYKYzxdxqEV /q7mJaM7hDuKZvFbuubo46ZgcVwrriN0kCjNIhBnCFAx2RXmkHA88vIBMOkJjCcUBuFZiH8vYuw1U h0QfF3VBIRuv0w==; Received: from 77.69.17.95.dynamic.jazztel.es ([95.17.69.77] helo=rivendell.localdomain) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p9q0G-0003LW-6q; Mon, 26 Dec 2022 11:07:04 -0500 Received: from localhost (rivendell.localdomain [local]) by rivendell.localdomain (OpenSMTPD) with ESMTPA id d6b0d422; Mon, 26 Dec 2022 16:06:59 +0000 (UTC) From: "Jose A. Ortega Ruiz" To: David Bremner Subject: Re: [PATCH v9] emacs: notmuch-tree-outline-mode In-Reply-To: <20221226150821.3300399-1-david@tethera.net> (David Bremner's message of "Mon, 26 Dec 2022 11:08:21 -0400") References: <20221213021542.1320339-1-jao@gnu.org> <20221226150821.3300399-1-david@tethera.net> User-Agent: Gnus/5.13 (Gnus v5.13) X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: Date: Mon, 26 Dec 2022 16:06:59 +0000 Message-ID: <877cye2lp8.fsf@mail.jao.io> MIME-Version: 1.0 Message-ID-Hash: OZHV53OP7AROXUS3P6BHZKKYZ6CZBNPD X-Message-ID-Hash: OZHV53OP7AROXUS3P6BHZKKYZ6CZBNPD X-MailFrom: jao@gnu.org 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; digests; suspicious-header CC: notmuch@notmuchmail.org X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Country: DE X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672071605; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=++AEv4Z2arvCB4Jb1+yhgb4X6l44iraMIwq9bBE0x9k=; b=IBTOX902kLAt+PdG/I8sf/WoxoqYpJ1VckOtgPclYp6093/3NbCC39uIcIgRkHVBM7+/eB 7my/thHGXj9VmOtGHsbtLW+/e2dBU0HR5MUXo/EOm9IgpnbRyr9CSPeS4M56kkVXjWLoyi 0yHEmPjO6SknO9a+wOw392cq6oK+ZP9nxAe4dlve1cIJqlKYJZrKVuubjUY/RFvxFZO6rm vbb1J7H2rYaSRL8ndDqO/slKYDfec5GYKAyEuXxK6Rn5h3lsNuC2+6gfEfBLB4hKcpZ21c E90jOlhEhNJgmeihrorDQYCk96DHau+AXWSWfnnLb/9B0CxUcMM/r2F6LgrKvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gnu.org header.s=fencepost-gnu-org header.b=LTcizi7s; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gnu.org (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672071605; a=rsa-sha256; cv=none; b=kFRZj4CIxaQUhLAGRpZsXjh3KazvEQ6iAfBGZNn54sChLrkgQieSDE5v0CLHrOEgiWQL4G irsciO7If8nFg+kr/XykDhIrCQRGg8ZCAXpH9FjkoSxKoRESdtIfXdp3UTNIKV0rXdqVJp RKG4RMlnPIXnPIgRYavxfKWE1tO/lTd9oSkz8XqQtmTTKPpBf1uY6vEHOaJteNnsPApqS6 vtnuPi5VdF5N4ljKiuQmrKuBf5icX99AZICk62h/19m+lV+gVbh7TrRxLH2nzBGgemsRTw mporxlL7IYNKIs48XaLuMbX1a2Qh6j/fXHhHVT87yjF3AmgtqyHnEbW7hqjJkA== X-Spam: Yes X-Migadu-Queue-Id: 4E4BD2B8B2 X-Migadu-Spam: Yes X-Spam-Score: 7.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gnu.org header.s=fencepost-gnu-org header.b=LTcizi7s; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gnu.org (policy=none) X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 7.42 X-TUID: finS2cdmbv9t On Mon, Dec 26 2022, David Bremner wrote: > Amended by db: Copy docstring to manual and edit for presentation. Add > two tests. Thanks for the grunt work, David. Just a comment on a sloppy comment of mine below: > --- a/emacs/notmuch-tree.el > +++ b/emacs/notmuch-tree.el > @@ -1014,7 +1014,10 @@ unchanged ADDRESS if parsing fails." > A message tree is another name for a single sub-thread: i.e., a > message together with all its descendents." > (let ((msg (car tree)) > - (replies (cadr tree))) > + (replies (cadr tree)) > + ;; outline level, computed from the message's depth and > + ;; wether or not it's the first message in the tree. typo: whether Cheers, jao