From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Lynbech Subject: agenda tags-todo (was Re: [PATCH] Make `org-tags-view' stop setting globally `org--matcher-tags-todo-only') Date: Tue, 13 Jun 2017 21:28:41 +0200 Message-ID: References: <87k29rzdyh.fsf@gmail.com> <8760gi5lg0.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dKs3U-0008EA-Rh for emacs-orgmode@gnu.org; Tue, 13 Jun 2017 16:04:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dKs3P-0005Ou-Mm for emacs-orgmode@gnu.org; Tue, 13 Jun 2017 16:04:48 -0400 Received: from sto1.spamfilter.cc ([2001:978:2:6f::1f:25]:39170) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dKs3P-0005OW-Fa for emacs-orgmode@gnu.org; Tue, 13 Jun 2017 16:04:43 -0400 In-Reply-To: <8760gi5lg0.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 30 May 2017 19:00:31 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: org-mode list I assume the change is this one: commit 942b6267a09e167ad3a546e83205601aa5c0704e Author: Nicolas Goaziou Date: Tue Apr 18 11:55:27 2017 +0200 org-agenda: `tags-todo' command type includes DONE keywords I was rather fond of the old behaviour, which I used in the following simple custom agenda: ("p" "Agenda and prioritized tasks" ((agenda "") (tags-todo "p"))) and which I include as part of my emacs start up. Is there a way in the new system to make a custom agenda that will only include todos in not-done states, without having to add those states explicitly to the tags-todo search command? -- Christian ----------------------- On Tir, Maj 30 2017, Nicolas Goaziou wrote: Hello, Samuel Loury writes: > I would like to propose a patch for `org-tags-view' to make it stop > setting globally `org--matcher-tags-todo-only' > > Setting `org--matcher-tags-todo-only' has side effects on other > commands. For instance, the following clock table changes its behavior > whether `org--matcher-tags-todo-only' is nil or '(4) > > #+BEGIN: clocktable :tags "-perso" :fileskip0 :stepskip0 :link t > :maxlevel 5 :emphasize t :link t :block today-1 :scope agenda > :inherit-props t > > I did not have time to investigate why the behavior of the clock table > is impacted by `org--matcher-tags-todo-only'. I quickly feel lost in > this code. > > From c5c763a9aca8cfd8a707b0d7e814bc37f5eeafa1 Mon Sep 17 00:00:00 2001 > From: Samuel Loury > Date: Thu, 19 Jan 2017 08:39:50 +0100 > Subject: [PATCH] Make `org-tags-view' stop setting globally > `org--matcher-tags-todo-only' Thank you. I eventually fixed it slightly differently. Regards, -- Nicolas Goaziou ------------------------+----------------------------------------------------- Christian Lynbech | christian #\@ defun #\. dk ------------------------+----------------------------------------------------- Hit the philistines three times over the head with the Elisp reference manual. - petonic@hal.com (Michael A. Petonic)