From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kCUnHubZfmBMVwEAgWs5BA (envelope-from ) for ; Tue, 20 Apr 2021 15:40:54 +0200 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 uAr2GebZfmA8CwAA1q6Kng (envelope-from ) for ; Tue, 20 Apr 2021 13:40:54 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C1B471D770 for ; Tue, 20 Apr 2021 15:40:52 +0200 (CEST) Received: from localhost ([::1]:37538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYqcV-0004sC-SR for larch@yhetil.org; Tue, 20 Apr 2021 09:40:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYqax-0004rQ-Dt for emacs-orgmode@gnu.org; Tue, 20 Apr 2021 09:39:15 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:53567) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYqak-0000EY-Rg for emacs-orgmode@gnu.org; Tue, 20 Apr 2021 09:39:12 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 93A132E12; Tue, 20 Apr 2021 09:39:00 -0400 (EDT) Received: from imap36 ([10.202.2.86]) by compute4.internal (MEProxy); Tue, 20 Apr 2021 09:39:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yiufung.net; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm3; bh=grDvQT3Gp1BFK85j2GiX/46eBO3opYs x1Y/G4iqplaQ=; b=NRuZOHVfkII+CY1OscVywy1WrJMxaBMNkBUfb2iaN9g4G23 +J2rBVIwDgwq9M6YOOYqLqqwvYPXGi263DL5VgCpnwIgOOiz20VCOyrgL3S3NyxZ rfH6A86Gp9gfH2weioCgdoozilv0NKNplMu+TxCqLdm9IuEqB/Bx28i888LWZEwM k1Db59oeHHXC9+Qj99g1lR3YyQxK2n4rZSHvClceczWwrOVAdPjVdNX9phOL3FqP /0xURukho3Aj0a6kSdENHqAIHQymagRu3ryYinIO8pWuwJu3+3LLfRKyN5UaSnmY B6EkjwCD5CnnTYQ2TnXe7gmy51/fMfEF6+42cHw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=grDvQT 3Gp1BFK85j2GiX/46eBO3opYsx1Y/G4iqplaQ=; b=ACWcekVIf1rrtKBSWqtDXN iwN2b956aOYNR6KkzWLvMQxIbHO6NkZR4q5gNycCeTG5KMx0QozGLfhd1pNpoh60 YZTwStZZRfk91RJ2t8Fxe+gMBYgef96MOri/AmRRkJPltwh6J+Cy8XVf9D7k3adW 8AzMNNiBIosjwMS38kQkFJ2SJQXlB+nYnHold0s+YMHqzBfzbw9XCBmDeED5SoY/ tUgyVnpMn3jZF2vjCnS4SrpQQme2+rfowQaWPEJWvRSLYH/vsDXNsOLJc+fO5dXT /uPcDc2oe2NLE7lT0xp5dZPJkIkgUly+KGo1WG4y3a8oPtzAgVs8N4cR/tdcZPOA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtiedgieelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderreejnecuhfhrohhmpedfvehhvghonhhgucgjihhuucfhuhhnghdfuceomhgrihhl seihihhufhhunhhgrdhnvghtqeenucggtffrrghtthgvrhhnpeegjeegheejheejhfeife evhfeggeehhfefveeluedtjeetueduuefhieeufeetteenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghilheshihiuhhfuhhnghdrnhgvth X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 70E0510E0089; Tue, 20 Apr 2021 09:38:59 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-380-gda4c716772-fm-20210419.004-gda4c7167 Mime-Version: 1.0 Message-Id: In-Reply-To: <87o8e99jxk.fsf@nicolasgoaziou.fr> References: <878s5inyb2.fsf@yiufung.net> <87y2ded6rn.fsf@nicolasgoaziou.fr> <8a8da4ef-2ab3-407c-9872-7f5a82a93dbd@www.fastmail.com> <87o8e99jxk.fsf@nicolasgoaziou.fr> Date: Tue, 20 Apr 2021 21:38:23 +0800 From: "Cheong Yiu Fung" To: "Nicolas Goaziou" Subject: =?UTF-8?Q?Re:_[PATCH]_org.el_(org-show-context-detail):_add_option_'ance?= =?UTF-8?Q?stors-with-entry?= Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.25; envelope-from=mail@yiufung.net; helo=wout2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Emacs-orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618926054; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=grDvQT3Gp1BFK85j2GiX/46eBO3opYsx1Y/G4iqplaQ=; b=bK1Dxw/osHj5J+HvYb6Lb3nkeBituQT+It4B8VpG1S3mzFrWeYrMFAGN6nW3Q4GK1ip2PP ZqRwuUHxSrpZqoIiNKdlBFBsC/0++fe39zj2G51MoXjI8GR83aX9m0e+wbkXsjINHc9QED hog8tt6gOLBb9oFnCs5cLx7+mDR+qqTEfc1ZemX808GOhbvCatVahXPZ7jzj183AZ2/KIk 42tFAykbf5ARd2RYno9RTQiDjnTguHt2PZr/8N7HQJDkwpbBdfgff/5EyMLcush/aLsIXy iQb7XnYizOYcFtrb1XnNG68IO8P4l15nLPHPATPE6eOYoFNxxx21Riz9lQvgXg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618926054; a=rsa-sha256; cv=none; b=FHi+3MCRQQXIdJdcMkfgMz2/iP6JIY5oInsYySlLaMCvpmuVyLM3GOmopiWma8Vxe69YQX uI2YqfhoXMZf/47cEdrgIGPhKEVdJYxpPRQbdudhWL2IWRqLZiOe71xrRHlat0X9YvKSk5 ltTiHyTqvGZukyWTM+n65l6tEhCuDp6KjwXseubYnDTJetRRYUvh9sygoI9cQ1Hf1xSZcY FNyLeMU0b8KXwJrkKjb2h9Kef9+mB25D+poEetJ4eHam9WIxNV6bWtP4gVS0kjkPT8n7hW PVXZsI5VYjw2KaQv97id7ABP1h3r3fRe2PEk/fDpaWzgvSfjx+D+seqNmew0PQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=yiufung.net header.s=fm3 header.b=NRuZOHVf; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=ACWcekVI; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -0.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=yiufung.net header.s=fm3 header.b=NRuZOHVf; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=ACWcekVI; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: C1B471D770 X-Spam-Score: -0.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: EGoJ5aVCh4GU Hi, > OK. Then what about a shorter `ancestors-full'? That sounds better, I will use this one. > Also, could you provide tests for it in `test-org/show-set-visibility'? Sure, I'll see how to do it and submit a patch later. Yiufung On Tue, Apr 20, 2021, at 9:15 PM, Nicolas Goaziou wrote: > Hello, > > "Cheong Yiu Fung" writes: > > > Yes, but that would work only for one entry. My main use case is to > > first filter tree by `org-sparse-tree', then export all filtered > > contents with `visible-only' option. If I am to use `ancestors' view > > and move point within each entry one by one to expand, it would be > > very repetitive. I think this is helpful for generating HTML page or > > PDF from matching query quickly. > > OK. Then what about a shorter `ancestors-full'? > > Also, could you provide tests for it in `test-org/show-set-visibility'? > > Regards, > -- > Nicolas Goaziou >