From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SH/kJm/1oWCaEgEAgWs5BA (envelope-from ) for ; Mon, 17 May 2021 06:47:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2PdnIm/1oWDXJwAAbx9fmQ (envelope-from ) for ; Mon, 17 May 2021 04:47:43 +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 79EB518730 for ; Mon, 17 May 2021 06:47:42 +0200 (CEST) Received: from localhost ([::1]:58690 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liVAL-0001VW-7L for larch@yhetil.org; Mon, 17 May 2021 00:47:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liV9s-0001V9-3V for emacs-orgmode@gnu.org; Mon, 17 May 2021 00:47:12 -0400 Received: from out2.migadu.com ([188.165.223.204]:57930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liV9m-0000zO-Vr; Mon, 17 May 2021 00:47:11 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1621226820; h=from:from: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; bh=bKnskADbXWX5ks6n7yY53PdOnHQL1SSV+1blH0kZi/c=; b=EhyKTi8xCIma30K5R05yAJO2lulKXkulb5W4tBnYjxvyy9KAHoD54pKn5rTUxmKIMCFljs KO4tjxy8HNVtNeKcZyPmI2FbsV4Cajv+EyO9phmIEF91LAbOk5L8CeibH4JP70trGZ014w FkYIm7kBB9cdf2bPNlsVjrs9D45W4PJjVI4c4PiYJQGXZIaARWTFUhTFM1R3NO4FA4x7oj AIlijLSf3/k6ZJLUzKxlJBQExRcDRgegky0S1hVhz15IOwaIeoIsjV0NHzqXw5mUpeXsKX 9FWFjRTYP05UcRAZG1chln56lFl5jdsZT11uCdBqpFvhGbyAA6YN1nwCKBkuVw== From: Kyle Meyer To: Bastien Subject: Re: tags-todo agenda shoud not ignore DONE items In-Reply-To: <87r1i69tkf.fsf@gnu.org> References: <87d061auiw.fsf@kyleam.com> <87r1ufmw72.fsf@kyleam.com> <87h7sbpk6v.fsf_-_@gnu.org> <87r1i69tkf.fsf@gnu.org> Date: Mon, 17 May 2021 00:46:59 -0400 Message-ID: <87eee63r24.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Received-SPF: pass client-ip=188.165.223.204; envelope-from=kyle@kyleam.com; helo=out2.migadu.com 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, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org, Stig Brautaset 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=1621226862; 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=bKnskADbXWX5ks6n7yY53PdOnHQL1SSV+1blH0kZi/c=; b=uoDwGWb8fo09ovmaJEHL/uw+68VkksZQm9qYv5ljza5wJo1lmgii24zwm7GihIuoUVb+HQ kDZuLRP+CYHW+NzX4+YmcGCOt/l/vCYp+mjPVVSK7USHHpGSGjzcTmcZL3DmUzO+wZT5YD aG9y0Bf1z7zzUIBqwohSwbM5I/2+idlR84IZc1549dVOv/UDSquz54uulVFqVWJQuUsVTj ifNZDmKGWlfBqfgy39IlOFph934CeFhE1SZQrMAyF9zN9ywlMZ38lP0/QkbbpDGjOojRbV 6uzNX4AIuDxh4PtIsotfR37zXEzz0LQknSwxRm48q+B4EwFu70D5S/Y8/Dmq6g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621226862; a=rsa-sha256; cv=none; b=G8AO5H4GzwNlvNevmYu/imDkNojdFG9qOg+0R9EInx5ykLXCNWbzzCYSqJcaHN5K1HZelb vyNpFGy4c7zS3i2bmhllVaCpyg/bqpsmkvA4rXum03anuRG7THwBguqUUppckD+zrE9O3Y lGfSrb9aM/5eeDTK8sw3WdYaiFCFIbO0ti4xKBK0yi0k4bdLYBoaDqECkBodn5Mr89I6xv 0R0qX80WvVs2pXYzvgioq9hYuWA4j1W1xiQsvkmSYAboiDStnC7tWlPABtor41g5NOx4jh YFA9CHoBAWmal4Mkz6PqlL6v99L3HpQmsJOGRNXG8qKfW7zuyBEe4CEyX+ZYIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=EhyKTi8x; 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: -1.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=EhyKTi8x; 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-Migadu-Queue-Id: 79EB518730 X-Spam-Score: -1.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: /aXYEKZuRolW Bastien writes: > Bastien writes: > >> Confirming this as an issue, if someone wants to fix it. > > This should be fixed now with 823f9744e in maint, tags-todo should now > include DONE headings. 823f9744e looks like a regression because it removes the distinction between `tags' and `tags-todo'. Consider the following file --8<---------------cut here---------------start------------->8--- * h1 :atag: * TODO h2 :atag: * DONE h3 :atag: * h4 * TODO h5 * DONE h6 --8<---------------cut here---------------end--------------->8--- and the following configuration (setq org-agenda-custom-commands '(("1" tags "atag") ("2" tags-todo "atag"))) Before the above commit, 1 should show scratch: h1 :atag: scratch: TODO h2 :atag: scratch: DONE h3 :atag: and 2 scratch: TODO h2 :atag: That matches my expectations, though the request in this thread is that 2 includes "DONE h3" as well. With 823f9744e, both 1 and 2 show scratch: h1 :atag: scratch: TODO h2 :atag: scratch: DONE h3 :atag: Note the inclusion of a non-TODO entry for 2 (tags-todo). --- James Cash sent a followup patch to this in a detached thread: https://orgmode.org/list/87tuvyaopv.fsf@gmail.com As I mentioned in that thread (<87361d7p3q.fsf@kyleam.com>) and suggested in this thread (<87d061auiw.fsf@kyleam.com>), I think tags and tags-todo should stay aligned with agenda's m/M, with tags-todo excluding DONE items just as M does.