emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Lynbech <christian@defun.dk>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: org-mode list <emacs-orgmode@gnu.org>
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	[thread overview]
Message-ID: <m2mv9bwuty.fsf_-_@Christians-iMac> (raw)
In-Reply-To: <8760gi5lg0.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Tue, 30 May 2017 19:00:31 +0200")

I assume the change is this one:

        commit 942b6267a09e167ad3a546e83205601aa5c0704e
        Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
        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 <konubinix@gmail.com> 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 <konubinixweb@gmail.com>
> 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)

  reply	other threads:[~2017-06-13 20:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-19  7:49 [PATCH] Make `org-tags-view' stop setting globally `org--matcher-tags-todo-only' Samuel Loury
2017-05-30 17:00 ` Nicolas Goaziou
2017-06-13 19:28   ` Christian Lynbech [this message]
2017-06-13 21:32     ` agenda tags-todo (was Re: [PATCH] Make `org-tags-view' stop setting globally `org--matcher-tags-todo-only') Nicolas Goaziou
2017-06-14  6:30       ` Christian Lynbech

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2mv9bwuty.fsf_-_@Christians-iMac \
    --to=christian@defun.dk \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).