From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KHRyCv6KKGPgRgEAbAwnHQ (envelope-from ) for ; Mon, 19 Sep 2022 17:30:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +EZmCv6KKGPbpAAAauVa8A (envelope-from ) for ; Mon, 19 Sep 2022 17:30:06 +0200 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 F3B003D297 for ; Mon, 19 Sep 2022 17:30:05 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 683845F365; Mon, 19 Sep 2022 15:22:23 +0000 (UTC) Received: from eggs.gnu.org (eggs.gnu.org [209.51.188.92]) by mail.notmuchmail.org (Postfix) with ESMTPS id 191FC5E552 for ; Mon, 19 Sep 2022 15:22:21 +0000 (UTC) Received: from fencepost.gnu.org ([2001:470:142:3::e]:40966) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaIas-0002fq-1f; Mon, 19 Sep 2022 11:21:58 -0400 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=NVqqs4z5h2lCDvGFP+lUbzJndsoL5tqF5ryyEGNbDA4=; b=Zpsnzt/g+KsRMOBn0ueQ MXR13bMlF9uBtuRgfOt/bUkTMaeoxq2HSSO3dU6EhSOL//qKy4e5Ved11U/aGtBIMvWxcJFGiCQrX p5DVTLD0Pdip3VRYEXT4BzjjPEk50il3icP21HluIa/B8FdC45xOgPqI/CcF7kKxt8PaYN/efEZQj RbDv1ypzroJ3LdwiZdle2YmQ+uI3TpUNtkgnTzANBgoOBqPcZiDHTf1sM6YYPvrPookCn8LU6VWUI 6jqm4ItZhddhwmvZSZq07soPGVZFQJCJnT/d3nf6pC88MZewvD7eePC5xW+mH++RuXfBrcQo1VsL/ Ju2APDA9bQvRAw==; Received: from cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net ([92.233.85.247]:55044 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 1oaIar-0005XF-F2; Mon, 19 Sep 2022 11:21:57 -0400 Received: from localhost (rivendell.localdomain [local]) by rivendell.localdomain (OpenSMTPD) with ESMTPA id f9edfe53; Mon, 19 Sep 2022 15:21:54 +0000 (UTC) From: Jose A Ortega Ruiz To: notmuch@notmuchmail.org Subject: Re: [PATCH] emacs: notmuch-tree-outline-mode In-Reply-To: <20220918203658.1893065-1-jao@gnu.org> References: <20220918203658.1893065-1-jao@gnu.org> X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: Date: Mon, 19 Sep 2022 16:21:54 +0100 Message-ID: <87leqfpey5.fsf@mail.jao.io> MIME-Version: 1.0 Message-ID-Hash: T3WAGWIG2LW3RFB3SVHWFCW3CITBDZXV X-Message-ID-Hash: T3WAGWIG2LW3RFB3SVHWFCW3CITBDZXV 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 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-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663601406; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to: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=f3fS6+5w5JeblqlGhYab5ZpgXHDKzv7tYKjp5BrDDB8=; b=FS78oLCozwruAOCTCvPQ0UeerrZM7YV/twR42ybdxRVeh087+hfnuAOXp++2uH30zUb7Dw j6J7l5md6KOvJpb9d3l2xlGRfJfVMl2ZtlKeHPU7aZCAlrsVFFnfrfU+s8aAtOdLoP562U 3tLlVuYYSxahfUmlaWzMNF0G5LZ9yHSchrdBF3OLDP4qPrtxlbBymL9L8ximpYcd8gPAIB oOW8ILBlKFvTyIoAgSNRdz/zIvK+cGpOSeS5F2YfXaaVCKZJDnZeygM93z4u6feVRqzfXo PcHZN4yCcSVfie+brcrZSUASXwt/NdCdArqxr8YbRSneSJegG9VhwvFMppXyAA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663601406; a=rsa-sha256; cv=none; b=uGEnO6+jgsQ7fE+8oCV6lFtK8RlN81AWNSE2UWoJwfDeOIErY8xNGWf8VqaGyYMlkWv+ey aCARthuKz6Pn0fVZHILgaflenkPP549F1jFdjlZgpVAuMzpXvXOZF6WGgplv0hmXhjACIF Y2lV0o+huf/a2CbhmFYoxScrd4Qxhcj6UZ/J+kjl8c0ZScJk8TqcShSJqN+z1Mq4ODZejC zw8zWUz7AslN7ooeivOoDNgnrb2Icsxh0Bl13Htcc22Yr3F022EnXg92X6avKfrJEe58Xs DDaDm4oYo2dALyefLk1uReheWoCu25ET1aXsO+Br8fZ0ZmWi3pJ/MOtPEqT7+g== 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="Zpsnzt/g"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gnu.org (policy=none); 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 X-Migadu-Spam-Score: 6.48 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gnu.org header.s=fencepost-gnu-org header.b="Zpsnzt/g"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gnu.org (policy=none); 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 X-Migadu-Queue-Id: F3B003D297 X-Spam-Score: 6.48 X-Migadu-Scanner: scn1.migadu.com X-TUID: IbbgvA7Q4MZ/ On Sun, Sep 18 2022, jao wrote: > I think the same trick i'm playing could be used to allow folding of > subtrees at more than one level (just insert several hidden > instead > of just one), but i'm not sure it would be of much use or introduce > any problem, so i've not done it here. Perhaps we could add it under > an opt-in option if people think it useful. i've been trying for a bit doing that and it's actually working better so far than having just a single top-level heading per thread. there's a couple of little details to fix with next/previous movement: i'll submit a revised version of the patch once i've ironed them out. jao -- It does not do to leave a live dragon out of your calculations, if you live near him. -J.R.R. Tolkien, novelist and philologist (1892-1973)