From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mCV8IIzl5F5ePwAA0tVLHw (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Sat, 13 Jun 2020 14:41:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id AMYxHIzl5F4GMQAAbx9fmQ (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Sat, 13 Jun 2020 14:41:16 +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 984349404CB for <larch@yhetil.org>; Sat, 13 Jun 2020 14:41:15 +0000 (UTC) Received: from localhost ([::1]:60292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) id 1jk7LO-0000Wk-8O for larch@yhetil.org; Sat, 13 Jun 2020 10:41:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <stig@brautaset.org>) id 1jk7Ko-0000WE-E7 for emacs-orgmode@gnu.org; Sat, 13 Jun 2020 10:40:38 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:43359) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <stig@brautaset.org>) id 1jk7Km-0002VS-8m for emacs-orgmode@gnu.org; Sat, 13 Jun 2020 10:40:37 -0400 Received: from localhost (82-69-109-251.dsl.in-addr.zen.co.uk [82.69.109.251]) (Authenticated sender: stig@brautaset.org) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 7015C240005 for <emacs-orgmode@gnu.org>; Sat, 13 Jun 2020 14:40:30 +0000 (UTC) From: Stig Brautaset <stig@brautaset.org> To: emacs-orgmode@gnu.org Subject: tags-todo org-agenda-custom-command weirdness Date: Sat, 13 Jun 2020 15:40:26 +0100 Message-ID: <m2ftazm3l1.fsf@brautaset.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.178.230; envelope-from=stig@brautaset.org; helo=relay10.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/13 10:40:32 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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-Spam-Score: -1.01 X-TUID: 41nfRyTCSEXG Hi, I'm seeing some weirdness with tags-todo vs tags custom agenda commands. Below is the smallest case I've managed to narrow it down to. I would *expect* that all the a1-4 commands return the same results, and that the b1-4 return the same results. That is not what I'm seeing, however. (setq-default org-agenda-custom-commands '(("a1" "A1" tags-todo "-PROJ/TODO") ("a2" "A2" tags "-PROJ/TODO") ("a3" "A3" ((tags-todo "-PROJ/TODO"))) ("a4" "A4" ((tags "-PROJ/TODO"))) ("b1" "B1" tags-todo "-PROJ/DONE") ("b2" "B2" tags "-PROJ/DONE") ("b3" "B3" ((tags-todo "-PROJ/DONE"))) ("b4" "B4" ((tags "-PROJ/DONE"))))) The effect of a1 & a2 appears identical to eachother, and a3 & a4 too, but a1-2 and a3-4 differ (in that the former seems to include scheduled items, but the latter does not.) What I'm seeing for b1-4 is even weirder. Here I observe b1, b2 and b4 have identical behaviour[*], but b3 is the odd one out: while the other three return a list of DONE non-project tasks, b3 doesn't find anything. [*] I suspect the reason b2 and b4 are identical is that I have no scheduled DONE tasks. I also see this with =m= vs =M= in the org-agenda menu. I see it even when starting emacs with -q, so it appears to not be some spectactular breakage on my part. Is anyone else seing this? Stig