From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id eBjUExo7UmZZEAEAqHPOHw:P1 (envelope-from ) for ; Sat, 25 May 2024 21:25:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id eBjUExo7UmZZEAEAqHPOHw (envelope-from ) for ; Sat, 25 May 2024 21:25:14 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="C/allP2B"; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716665114; 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=SljnDMJNyvjMYGoB9cyl6L5oUxLySQWfgs+kL29vgQU=; b=cWX9ftCVifSC80i5WSCVJeqD1nDDLgsWt30IAsniBlqOjDeDIMPW7hE0BnsW9K2a7j3Vbx SMA7hkuXuTjHuHj3hpOECLZfPGl6ExfKJLH/n3ujmKo8Fn36p4a0oCer8E3PjZ+gLrvD4H jRseX5GFUegTf4wivDUxFFvZx9CY6E+FlKUWTAUGjWMpJV/vRBczSL/mRYAryoEMV1JCZu EHf/549ZDGvgo0VckXYDOhVoQIdnWuk9RMDFjjDVZhYdBO7oTn4873Nt+/ytgL1xCC7ubg 5vVeFbQWMbV1zLgawqslHRQvIa/5+ihA3lKWP2l56jY9umn9MwY/q0Olgnw5uw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="C/allP2B"; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716665114; a=rsa-sha256; cv=none; b=r24e+Ck/Q9z92/b8Cx4M8mioSk2ImzgrB48AVWDHjHidvjuGnVQew8aEweaREwFOpU9CtY Y9StZYoLYGPtsMW/Eizl+sKoubriMHv1yD5jAJY/KVx5dnzAPxZdD06zhrN/c9jwMBEZn6 MX5VzUJkNaxiai3O6EK1rnTwGdUMugs0c+DbopGmbR4R3aqrtmGvqZSPLeBBiAHh/aYvrc yO3CuR6SIAVEZ5wj/ZgTpqRU6U9I9/Ax38J6itQ8Akr8tB1zzXGjK/dLWbeqhtPfjtkc3O DW0ZLwPyxbfdawQne+qV9cfJkNEErVqByeQUuTOmD+bg5Eg2cw2h28zxMfVnCQ== 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 07F546C9A9 for ; Sat, 25 May 2024 21:25:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sAx0K-0003zX-90; Sat, 25 May 2024 15:24:32 -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 1sAx0I-0003zA-NH for emacs-orgmode@gnu.org; Sat, 25 May 2024 15:24:30 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sAx0G-0005P4-NJ for emacs-orgmode@gnu.org; Sat, 25 May 2024 15:24:30 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 770C8240103 for ; Sat, 25 May 2024 21:24:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1716665065; bh=lUYTTXMDl8H8oJ4Ac7UC96j97TE9gB1sx+me02rNXww=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=C/allP2BHQYw4jKMwWq3luq/bdWZW0WYO1eRDXQJ1lCM0OCZQJSEQgK69XZYrRhkX rEmYbMg+wVLiWB3bzeUH9p+D4W5PXR2oh7g0Gw7ZPHclMlHd1Ba2YSs67uE5R3TVCF Xv+Q7FHAo1N94O2bmlnQHYwA/EJRPTjPi4lMpQDBeMWx8OFLCwyNpzHoiLoXbWhqJl lW9ZdIX/KbETI37jdUZt15aHsZwutUJtgLFR9E1qR0I0FTdE0W+qDhlPZT6LXY1bsG 3I0JXuCSjn8pqeKoT3HcDsDpL2dMgCSDSKDNO13vERPG9Q9R8kVAQ2N9ivB/eMVAOg q14Jxjt60ODsQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VmsKh5BRcz6tx5; Sat, 25 May 2024 21:24:24 +0200 (CEST) From: Ihor Radchenko To: "Tory S. Anderson" Cc: orgmode list Subject: Re: After years without issues, Orgmode now fails to apply agenda filters to preset templates In-Reply-To: <87zfsdyaj8.fsf@byu.edu> References: <87zfsdyaj8.fsf@byu.edu> Date: Sat, 25 May 2024 19:26:04 +0000 Message-ID: <87ed9p7kxf.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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_H3=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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.56 X-Migadu-Queue-Id: 07F546C9A9 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.56 X-TUID: agr8guhKbTeX webdev@toryanderson.com (Tory S. Anderson) writes: > After years without issue where I could choose, for example, to see my > daily work agenda, the filters are now failing to be applied. This is > in org 9.6.15, as shipped with my emacs 29.3. I have verified that > this problem is the same in =emacs -Q= without any other packages: > when I choose my agenda view, such as "C-a w d" for my daily work > agenda, I still get an agenda buffer named "Org_Agenda(wd)", but none > of my preset filters have applied. I skimmed the documentation and I > haven't seen any changed syntax. Here is my definition from my > =use-package org= =:custom= section: > > #+begin_src lisp > (org-agenda-custom-commands > '(("w" . "Work") > ("wd" "Work Day" > ((agenda "" > ((org-agenda-span 1) > (org-agenda-start-on-weekday nil) > (org-agenda-regexp-filter-preset > '("+ODH\\|AGENDA\\|CONFERENCE" "-TSA\\|PRIESTHOOD"))))) > nil))) > #+end_src According to the docstring of `org-agenda-regexp-filter-preset', ...The preset filter is a global property of the entire agenda view. In a block agenda, it will not work reliably to define a filter for one of the individual blocks. You need to set it in the global options and expect it to be applied to the entire view. So, you should set this variable as a part of global agenda command settings, not inside individual block. Not a bug. Canceled. > Why has this stopped applying my filter when it worked for so long? Is > it a bug, or do I need to change something to make it up-to-date? I have no idea because you did not tell which Org mode version had your settings working. I suspect that it could have happened around the time Org mode switched from dynamic binding to lexical binding, but it is just a blind guess. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at