From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id CAAAJeFU22TSXQAASxT56A (envelope-from ) for ; Tue, 15 Aug 2023 12:35:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CM60JOFU22TpQwEAauVa8A (envelope-from ) for ; Tue, 15 Aug 2023 12:35:13 +0200 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 1E3654D782 for ; Tue, 15 Aug 2023 12:35:13 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=UpJevPOE; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692095713; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=8GFB43nKw1rpBim2h+uw9qwnuc7QxqSAxwGrlUwkDuk=; b=BjV3CAwz1tXEe4OeCofGPJE/02Uf/3FvFDE/0iwa1ff8gPYHEiReSEKlb7XRn395OsRqT/ WEDK81hrh76QDqVmGKV3eL/ZZ3fj8d+gCrKa1iRnvKGPGYkJoJKZfcsEa3dRfFyGWXSABH fsqaihQEoQEDj6o5JrDG/E8VisaLz0HXugv6Vn3eycjygHXf+CYmCEdQwh49B3VZ5j3KoX 9zYBGM5iOaP/99sFQDI/WtbtEH9xJY0z22IE2SlMx6s2klFR/eYIgpbe9Lp3nge/TsbFZX Xi+yYcWsImrBn91zgv4ruR3KepB0VUGRPkCQhtMAFbJ6tymTiHmFbZLwjESoSw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=UpJevPOE; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692095713; a=rsa-sha256; cv=none; b=LROks6cgN9v2qkRLuMkwRhW2FBMNLzRI5M5JsbSnQM20vic1FOA9WrDO7N/HN3ekiEBimx kKZH954hbBeOdLJ/dkVg/gAwxCv3taGQIEnMmFoqzRDVO3KwQ/fkzUq4pydVsDYYTZX5Hg RJDkD5JQAiS8WovMYmoKId/d9Zhk67kRK+NiodbcJ9FIjgZwOjXHkYe0JjMLBHBWvqqCCU 5KgVhERWd/X+wh2jHZ/32Ny/H2SXLXSxzm/HGk2G4DaqGuaIPUSGF6/Zyk5bEBd3hPhT9B Q5ZL+ERWkZX5NB4utGSCZ6czoHsFZwRsmEsj4cDTkoOIb3OgrAmFf3daoYwGMw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qVrNU-0002UN-4d; Tue, 15 Aug 2023 06:34:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVrNQ-0002UD-Hg for emacs-orgmode@gnu.org; Tue, 15 Aug 2023 06:34:16 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qVrNM-0001BU-DY for emacs-orgmode@gnu.org; Tue, 15 Aug 2023 06:34:16 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 350F3240028 for ; Tue, 15 Aug 2023 12:34:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1692095650; bh=8GFB43nKw1rpBim2h+uw9qwnuc7QxqSAxwGrlUwkDuk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=UpJevPOEMdrFqecYHAyFM5jgnvD7xmre/oWzPpk+12tca1VWLGGVM3J52qsr40NXA nahpoYxfxFnmKzWYdJGSl6LclhnqR+Jqu1HUOEhlbOzCvZ2UwJfSkSMXM/EpPZ49CP u33aD1wDGnqy1TA4SvT3vZnTaKTP3a5037BeVwOyJEW+vB5avVHKTUBMqP56T+hmL8 EMWjbQwWhkOtbU+AIix92HisKzHsljfD9QmobmV28uZsWZ4iqxhtW5b9yqQ9opNcag cYQGWfNTPldTfgZlEx61LZSiMe2yl9EK7Kg3HErHxmLHrloe6YEOQnQSu3loKFDz8r G6siE7S7+yDDw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RQ70x1kcbz6txY; Tue, 15 Aug 2023 12:34:08 +0200 (CEST) From: Ihor Radchenko To: =?utf-8?Q?Jo=C3=A3o?= O'Neill Cortes Cc: emacs-orgmode@gnu.org Subject: Re: org-agenda-skip-function not honored by 'tags-tree' custom agenda view In-Reply-To: References: Date: Tue, 15 Aug 2023 10:34:34 +0000 Message-ID: <87leecr3ut.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.15 X-Spam-Score: -7.15 X-Migadu-Queue-Id: 1E3654D782 X-Migadu-Scanner: mx2.migadu.com X-TUID: kPS0nVhfVnPo Jo=C3=A3o O'Neill Cortes writes: > Tested with org-mode version 9.7-pre. > Looking at section 'A.7 Special Agenda Views' of the info org-manual. > > It is stated that 'tags-tree' searches can set > 'org-agenda-skip-function' to some function that decides on the > visibilty of each match. > ... > Is this a bug? Sparse trees do not currently support `org-agenda-skip-function'. So, I can say that it is a bug in the manual. Or, we might support user-defined skip function in sparse trees. Currently, the reason skip function is not used is in `org-scan-tags': (unless (eq action 'sparse-tree) (org-agenda-skip el)) This is done to avoid `org-agenda-skip-comment-trees', `org-agenda-skip-archived-trees', and `org-agenda-skip-function-global' affecting sparse trees. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at