From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QFsSJXEPlWH9ugAAgWs5BA (envelope-from ) for ; Wed, 17 Nov 2021 15:19:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UG/FIHEPlWECHQAAB5/wlQ (envelope-from ) for ; Wed, 17 Nov 2021 14:19:29 +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 3CC8316E1D for ; Wed, 17 Nov 2021 15:19:29 +0100 (CET) Received: from localhost ([::1]:58922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnLma-0007iB-CA for larch@yhetil.org; Wed, 17 Nov 2021 09:19:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnLm1-0007ho-1h for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 09:18:53 -0500 Received: from [2607:f8b0:4864:20::630] (port=37423 helo=mail-pl1-x630.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mnLly-0004Tm-Sm for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 09:18:52 -0500 Received: by mail-pl1-x630.google.com with SMTP id n8so2302705plf.4 for ; Wed, 17 Nov 2021 06:18:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=U+Q5JxABvxfpLEps1yT//pMejSkWA+k6L+e1v9n2J9s=; b=dgg0dmI9EhsTU9G+lcpy2NpW7ZXPn4N2aFHjzUNudi8LKgvG267/kyjmbM0+jDzTJW 0GNn9vpXqpAAX6ikaCwziXwC7DvtoknPe1s9z0ExqMuZaV2o0IH/5qfNnkT52IaRfq3u QPt0d9UARXhBc2S9JdvKExOx9McUsbDnWH4F2MBnOQqUh0jnWcIGlZxUuYCTEnbCr/Pm PEjlB1elRXnMyF8FGrY9QOI0j/A1w6bCsSWvOA5Z2sK4NVDxUAmJYlSUWRX0SlzJc+f0 /YUbDnarPYzn/OoaHJL/fYmEQkvxzX8VQst/fZh1W/+HCemMfYRqblAStCcJ2uLqxbaA GcFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=U+Q5JxABvxfpLEps1yT//pMejSkWA+k6L+e1v9n2J9s=; b=tMlP7aoXSDf3sV29bTE9/zloRDEweholtCkYG+WEvlTq36TTy/lG6isaP9towSwK99 LlVXyXPqo6kh1fkqezw3hPcU9hHMhRY6w/ADoPe9VWgNBexV5BO25QGMr4+3ssmkBqZd RPbs+8FyKP1uEDZvjKyLhnXcuZ4apgUIwycY+nzP4SuVX8L4OwmP9XXqEVWyZMFlfY5L AS8inoAuS4PgEUxp60UYW1KhmWuvQsrpTep18m/9blp9kM3mTOSz9OYrQUQR9u86gg3t LbmIyZjrH/LZGnaJLoSH5DF7a523riJ8h1Ki5EvcPTKwJZLK26BzcdVTze/WIs7LYnpL b8CA== X-Gm-Message-State: AOAM5334lHfRo0gtFxfQwhgbymBkDkk1bPhkR5mPQpyyjehTP6tg2xbA +YE6pJj8Q6S5qpf7jLjYXjQ= X-Google-Smtp-Source: ABdhPJzNeQW6kt0Owq8ciRSERiw2e4K1BYnWSueMZ5dKVspE+TyyCE5b8bgYN4oTurVd4bMqwqBydg== X-Received: by 2002:a17:90a:1649:: with SMTP id x9mr40149pje.70.1637158729607; Wed, 17 Nov 2021 06:18:49 -0800 (PST) Received: from localhost ([210.3.160.230]) by smtp.gmail.com with ESMTPSA id q32sm5437585pja.4.2021.11.17.06.18.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Nov 2021 06:18:49 -0800 (PST) From: Ihor Radchenko To: Carlos Pita 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/)] In-Reply-To: References: Date: Wed, 17 Nov 2021 22:20:14 +0800 Message-ID: <87wnl6984h.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::630 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::630; envelope-from=yantar92@gmail.com; helo=mail-pl1-x630.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=1637158769; 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=U+Q5JxABvxfpLEps1yT//pMejSkWA+k6L+e1v9n2J9s=; b=mJ3px/91rFWuS5Zn8xrTXxCFzdBvHeNx+Z5/fB2txOrnz3L6fXNUzw1CV48wRKfv7/X0sr ijuJLxDHoPyI4vbUP+JXC/q1rq1STgJIrhUya9CGFFWAnxY4fsHXfuglPZbaRMffWRv3DJ V+ycHhDiNqLnCypDwP3xbmYGZSV4NpRB6OaquEDsNOzlbSLE2LqkDTSz9l2ufN5UcD1OEM SM3zErYsGEumL7WZT77htbVHaXIxcW1OtcNy+C01SA8ebPbRGdbaR4rfg9nrky28ZQ1Sul q2QrZCpZUhJSS3ONL61vyntW4eIRvlVtHUWKYjyxHfDZnlQKQ9vKMisCyb3pPQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637158769; a=rsa-sha256; cv=none; b=CHoJq8A4JBB2Jc7SBQ7IZOHuV4HRj3C+X92VA6gQ5m97vQClSDy5iI/i2p35nvN09JKz0z nqIyGbgkGMSxb9exJoKzp7A6qJvAoeY9306xKAWp4rtov/7bXCd8hyCdvM2vBxyByXYEqI cskwyCEbr9CPGwfZ82i/F6C9K/oPKZ7Ksc1VXmOOEpgeOsmbNeVq3PvuBLeD4GB5NjjXre GepApWYodh/xtf+BXrEuZhRmCv0KX6CUo+nCWy5KpN7/DkL5UH6aw05lOnpNqmG6Ka3IZb gZsvl5O42ITE0hjWMmxlq0p9xuZHIj6tbm666To1h8SVv7N8owrNXpln4wlo8g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=dgg0dmI9; 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: -3.55 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=dgg0dmI9; 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: 3CC8316E1D X-Spam-Score: -3.55 X-Migadu-Scanner: scn1.migadu.com X-TUID: rQO8C6kn9Ti8 Carlos Pita writes: > Hi all, > > I don't see any clear reason why org-occur should hide unmatching > entries except at the top level, where it merely folds them. For files > containing lots of top-level entries this requires tree demoting in > order to hide irrelevant information, but this imposes constraints on > the tree structure that are not related to its author's goals. The reason is because nobody implemented this feature. Note that you can also use org-agenda for the same purpose. > I've been playing with org-show-context-detail and it doesn't seem to be > any option which actually hides top levels, though the description of > some options seem to imply that they should, I believe. Can you elaborate? If the docstring is not clear enough, we can easily improve it. Best, Ihor