From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2PaIIB0pf2RWNQAASxT56A (envelope-from ) for ; Tue, 06 Jun 2023 14:39:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oJFOIB0pf2QcewAA9RJhRA (envelope-from ) for ; Tue, 06 Jun 2023 14:39:57 +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 099DE3BEA5 for ; Tue, 6 Jun 2023 14:39:57 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6VxG-0002In-C5; Tue, 06 Jun 2023 08:38:30 -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 1q4fBo-0006md-Q9 for emacs-orgmode@gnu.org; Thu, 01 Jun 2023 06:05:52 -0400 Received: from w4.tutanota.de ([81.3.6.165]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q4fBm-0000vX-J6 for emacs-orgmode@gnu.org; Thu, 01 Jun 2023 06:05:52 -0400 Received: from tutadb.w10.tutanota.de (unknown [192.168.1.10]) by w4.tutanota.de (Postfix) with ESMTP id E89231060390 for ; Thu, 1 Jun 2023 10:05:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1685613944; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=KO38vK5+ZdIr5hp6VNSQblNtcI4RiONhhQ5Xo4GibRk=; b=S3EYYT9oVQzBI7O/3scsrzTKlRbiUdeSYiHi8l93/wYne0sS5Nv8q2o1VedCM8ek wzQ3ocQxnf3mvJVXGrBpOxAbSBBpGJrV8YhkfLRncg55sh1LQtW/MGuwekovZE6/FV5 z2GnAOHaEurtDe3corT6z/v73k7oi0PDI5C3ha4Uey58jH3GvCN61nJbfJ0dNwlVM74 jSzPcjOT7S+ItTIm/qlYG9EMkRYwfKZZMDH4aAahH+ePtQzvccd/4H4ejdX7iYrU+WI l8DzWSnv43ae27dk8tol+1ETNcPPlkVdrBwGpM2SQsPwMFObvw2lJA3hdPJjo60w9y4 8YdS9OvrMg== Date: Thu, 1 Jun 2023 12:05:44 +0200 (CEST) To: Emacs Orgmode Message-ID: Subject: [BUG] org-agenda-custom-commands with org-agenda-category-filter-preset not working [9.6.4 (release_9.6.4-9-g8eb209 @ /usr/local/share/emacs/29.0.90/lisp/org/)] MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_351315_1654026385.1685613944530" Received-SPF: pass client-ip=81.3.6.165; envelope-from=polarfront@tuta.io; helo=w4.tutanota.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 06 Jun 2023 08:38:23 -0400 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: , Reply-to: Erik Guldberg From: Erik Guldberg via "General discussions about Org-mode." 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686055197; a=rsa-sha256; cv=none; b=nVNyN6fov6UIFGsFfESC/ul0p+7WxBMERG4lzuaAJIBDm4DnOeVsyumfbS0F43BN2tst3x isdiyoT4xqYeL3Yip+/y6tCUv9iGwd95EwranIHSdfRTEn6BP1YzLzS0sUkG2pkfY7LxGo Ew/uaxCkLnnsvjSAoK2zqk0ji3gDheiQ8KdgR7la3P0PhuMzmEK9Q6ZVqEsZCEQxE74eMB 4ya+nK2QyvZYzzLh9Uh2gSGUkoZyz3O6pWyRVu9vs744U0vRur0Zk5umV32s3tq1Lolgol YKtymnk5lYmt5a0q17HBUSPJNEmq7004bV9wjk/71LsbINCqOchuvprN204U9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuta.io header.s=s1 header.b=S3EYYT9o; dmarc=pass (policy=none) header.from=gnu.org; 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=1686055197; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=KO38vK5+ZdIr5hp6VNSQblNtcI4RiONhhQ5Xo4GibRk=; b=us0Air/myZwPDL5adUZqlGrB2q0P13SWWlbRMc3fE6L+UpK+JcFNAfIfEUFj/0/ZbqPbk5 eeZoaMPtTa6gSegWnk7uAYZJo2tD91aEFWzHJtaaK46ft18OtlxMpj+WL12hzgrLGqaa2s IKW7xqbSkKCdU//FD4X6ZnlnMCVK15sUiiNZ9buDbFq1Y+g1FBSPzogt7Bv3F1yJFNTJbr sxaNpWlWJqlYZjtWiBtRd4rr+6gYe+S+WzrsFqe4zVJWDEW+kGvEC/5VmLH2y23xg60UF3 ZGhZxjHhZGlpDAwlm7+aet8uqaJtT/Ub6iQ/uyEu5LepXKCLaHdfROytb00UPA== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tuta.io header.s=s1 header.b=S3EYYT9o; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.49 X-Spam-Score: -2.49 X-Migadu-Queue-Id: 099DE3BEA5 X-TUID: N1a+AB2aNpoD ------=_Part_351315_1654026385.1685613944530 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit In every work related org-file, I set the category like this: #+CATEGORY: work I then use org-agenda-custom-commands like those below to show work related content or not work related content. This works in Org version 9.5.5/Emacs 28.2, but in Org version 9.6.4/Emacs 29.0.90, both custom-commands shows the content of every file, category "work" or not. I posted this on Reddit, and according to a user it can be reproduced in the stable version, while it works fine in the development version. My org-agenda-custom-commands settings looks like this: '(org-agenda-custom-commands '(("p" "private" ((agenda "" nil) (alltodo "" ((org-agenda-category-filter-preset '("-work"))))) nil) ("w" "Work" ((agenda "" nil) (alltodo "" ((org-agenda-category-filter-preset '("+work"))))) nil nil))) ------=_Part_351315_1654026385.1685613944530 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

In every work related org-file, I set the category like this:

#+CATEGORY: work

I then use org-agenda-custom-commands like those below to show work related content or not work related content. This works in Org version 9.5.5/Emacs 28.2, but in Org version 9.6.4/Emacs 29.0.90, both custom-commands shows the content of every file, category "work" or not.

I posted this on Reddit, and according to a user it can be reproduced in the stable version, while it works fine in the development version.
My org-agenda-custom-commands settings looks like this:

 '(org-agenda-custom-commands
   '(("p" "private"
      ((agenda "" nil)
       (alltodo ""
		((org-agenda-category-filter-preset
		  '("-work")))))
      nil)
     ("w" "Work"
      ((agenda "" nil)
       (alltodo ""
		((org-agenda-category-filter-preset
		  '("+work")))))
      nil nil)))

------=_Part_351315_1654026385.1685613944530--