[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] agenda tags-todo (was Re: [PATCH] Make `org-tags-view' stop setting
From: |
Christian Lynbech |
Subject: |
[O] 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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (darwin) |
I assume the change is this one:
commit 942b6267a09e167ad3a546e83205601aa5c0704e
Author: Nicolas Goaziou <address@hidden>
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 <address@hidden> 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 <address@hidden>
> 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.
- address@hidden (Michael A. Petonic)
- [O] agenda tags-todo (was Re: [PATCH] Make `org-tags-view' stop setting globally `org--matcher-tags-todo-only'),
Christian Lynbech <=