Org-mode mailing list
 help / color / mirror / Atom feed
From: Julien Cubizolles <j.cubizolles@free.fr>
To: emacs-orgmode@gnu.org
Subject: tags-todo error with #+FILETAGS: enseignement
Date: Wed, 16 Aug 2017 08:46:29 +0200
Message-ID: <874lt89fi2.fsf@free.fr> (raw)


When an entry inherits a tag from a #+FILETAGS: line, all its parents
get matched by a tags-todo agenda, even when they don't have a todo
keyword.

Consider the following:

--8<---------------cut here---------------start------------->8---
(setq org-agenda-files '("/home/wilk/tmp/test-org/test-todo.org"))
(setq org-agenda-custom-commands
      (quote (
	      ("wt" "Boulot"
	       (
		(tags-todo "enseignement")
		)
	       )
	      )))
(org-agenda)
--8<---------------cut here---------------end--------------->8---

with the following test-todo.org :

--8<---------------cut here---------------start------------->8---
#+FILETAGS: enseignement
* Contenu
** TODO Cours électrocinétique
--8<---------------cut here---------------end--------------->8---

The agenda called by "org-agenda w t" displays the "Cours
électrocinétique" (as it should) but also the "Contenu" even though it
doesn't have a TODO keyword.

The offending commit is:

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

Julien.

             reply	other threads:[~2017-08-16  6:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-16  6:46 Julien Cubizolles [this message]
2017-08-16  9:46 ` tags-todo error with #+FILETAGS: inheritance Julien Cubizolles
2017-08-17 13:20 ` tags-todo error with #+FILETAGS: enseignement Nicolas Goaziou

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://orgmode.org

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

  git send-email \
    --in-reply-to=874lt89fi2.fsf@free.fr \
    --to=j.cubizolles@free.fr \
    --cc=emacs-orgmode@gnu.org \
    /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

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://orgmode.org/list/0 list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ https://orgmode.org/list \
		emacs-orgmode@gnu.org
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git