From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wP5ZBdttlWHlbgAAgWs5BA (envelope-from ) for ; Wed, 17 Nov 2021 22:02:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oPLpANttlWESHwAAbx9fmQ (envelope-from ) for ; Wed, 17 Nov 2021 21:02:19 +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 AA4B9316A9 for ; Wed, 17 Nov 2021 22:02:18 +0100 (CET) Received: from localhost ([::1]:56722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnS4O-0003Hb-JL for larch@yhetil.org; Wed, 17 Nov 2021 16:02:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnS3w-0003Gz-BC for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 16:01:48 -0500 Received: from [2607:f8b0:4864:20::a30] (port=47006 helo=mail-vk1-xa30.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnS3u-0002C9-Uo for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 16:01:48 -0500 Received: by mail-vk1-xa30.google.com with SMTP id t127so2450094vke.13 for ; Wed, 17 Nov 2021 13:01:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=U0pe9IhyZBgndRyIAvbQiAXgSNU9Q07RYY9vvLz9M58=; b=YmLNZhqp3QRRp1Sk75smE5AxGjWh5HHLCklFiGOnYMF/Zkf8VI6RRSfcWhLi5SxYRG QnNjuqHxeT2vujP753G0ez5CELNy78nI3NTVkmEU1DH0dSUTL7OycaDYMwp8GMmoyPMv 5HxVKQ0KhR8Fg5I+Wn5yvHSUH8x+sTess6Hqh4MeJqmSbGFosHqXM301t8DpVk1pQ23G f7kmngcJJrEGnNLLwFWBIrAL/vgZliGZ9elOOpEdoZqUXX9/sBtaHfL5B2YyVTadhXid 9BwR7eZrylK6nez0EDHxWDg3KGKPvO8CyTAfgMMCDicwM64RviCoH/yJV9T9brRM7TLn sIvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=U0pe9IhyZBgndRyIAvbQiAXgSNU9Q07RYY9vvLz9M58=; b=4KU1F0J/8YuUng+f2/Ow1hoeYrgdpqARsodfcEpqxEDjfFexIYYKP5eKYxqdHUQPU7 wwIXqq4IVfQG6XlOJDcmyIAl7R9eFIeNCDSf9HPR/EFfVBlXy/6mnKiCEbLHeQyv4Zq3 CUAdjFZB0tay1EonG7L07nZoTxkCyiFZHkLT0KhAwyjxVEo0UmnrxrMN/8LL5t5ZCljP MhvjYDoVd+RKBaNO5KdlnUCXiTOiSDR4ktA7LxcDgG+DJFMp3pjImkmC6LbKP++YAKM4 ouT+XDeVToDXCG6z8YRt5wX6zz5ob/D/gEvzDzp0+2294F3Q1JbaxJ6BUwPuKnB0zGja 4JuQ== X-Gm-Message-State: AOAM530cw6AGD2DLeqkHEdEkbzOAeWqKfs1jaJHBZoyffOG5IBaE0Jd7 HS9rrtVkkhuAxG32vjUx0B8VdY/wIGE7gMKpEyTJ2dGUCLw= X-Google-Smtp-Source: ABdhPJxQx1IR/3W+fwGAt1MxUVKVgHal679ccspzgXQNKao2beFIOoSmUmP+lgeXGBYGSAu31zoHWPrTquCXmRRt1HY= X-Received: by 2002:a05:6122:16a3:: with SMTP id 35mr92010667vkl.12.1637182905453; Wed, 17 Nov 2021 13:01:45 -0800 (PST) MIME-Version: 1.0 References: <87wnl6984h.fsf@localhost> In-Reply-To: <87wnl6984h.fsf@localhost> From: Carlos Pita Date: Wed, 17 Nov 2021 18:01:34 -0300 Message-ID: Subject: Re: [BUG] org-occur doesn't hide unmatching top-levels [9.5 (release_9.5-225-g494c20.dirty @ /Users/carlos/Install/Source/org-mode/lisp/)] To: Ihor Radchenko Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::a30 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::a30; envelope-from=carlosjosepita2@gmail.com; helo=mail-vk1-xa30.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org 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=1637182938; 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=U0pe9IhyZBgndRyIAvbQiAXgSNU9Q07RYY9vvLz9M58=; b=K4a+uNDxwFLXjhdMJocELUEAWa30uywS30DDahO+FU1zY00fbSOZ/Rke7umchq0GvmpTc3 G7ntVdwDfze+XogMq8bz78Mzg+8NRlJQUOzUfOiaHqjC2LnTRnp1c5ktG1lCAW45jkvaEF taXcbrjDUV0wf0d2RumL847KNgLY4/SuzxSOJ1HPMd30WE0aoO3ukS2WSC0Ar2CQw4nB3O 236QHIZcthJdkGLrqqYxLHoz5mArmsa1UYeGxxf+zV5IkzvgDM24Gr11CRzL/G3Sn6+QeG Hv01zafGWsLxqWoBaDswIQgWAcsomzJKSz1ZfBc9q9H/TB8oAdVDrBi+Ywuefw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637182938; a=rsa-sha256; cv=none; b=beLHemjp/dGopTHZif35tehQOQp2hsQOfKTKeP9MoM/RWOp4yFIOfwYWPmkzOgPFfA99un Agp02k4MoygnC8ZbQ12lKS4ZLutar55+2PC5av65h9NLiq3VOJuibMZTA+SPKov8hh/a16 TJSpy/4jkTVtDlsWQlGxTCGGnvCGRrjxoj+UCcQ0IdQCHTNl6up2C3gbxk3Rm/934NRndn Egcru0GOi6/v7X3eQkTmXZezAcmIwLoAQA+UvOMEMn8K/sjUSC73gVyoO2UXMcq9CtXn5N +bFaboS28GqCqwfrISiaImjwow33Wwf1zAOJiJ4SfwjNfUhrVBycl6bSZtCD0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YmLNZhqp; dmarc=pass (policy=none) header.from=gmail.com; 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: -4.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YmLNZhqp; dmarc=pass (policy=none) header.from=gmail.com; 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: AA4B9316A9 X-Spam-Score: -4.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: CfCN2N+tf0Z5 Hi Ihor, > Can you elaborate? If the docstring is not clear enough, we can easily > improve it. Consider for example: minimal show current headline; if point is not on headline, also show entry So if you have: * a * b ** b1 ** b2 ** b3 * c I see no reason why a match inside b2 will hide b1 and b3 but not a and c (I'm referring to the headings, not the contents). The only way to change the documentation to convey that is to state an explicit exception for the top level, but that seems extremely ad hoc. Perhaps there is a rationale, some presumption about what is in the top-level take makes it a valuable context no matter what the preferred context detail is set to, but if that's the case I find it too opinionated. Best regards, Carlos