emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Adrian Bradd <adrian.bradd@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Custom agenda with tags-todo and shorthand todo specification ignored if hypen present in TODO state
Date: Tue, 28 Nov 2017 22:14:25 -0500	[thread overview]
Message-ID: <CAMYmr8wy9RJoL=s-Cj1AVAspWnfFH7P0AGKnCG28NgK97+xpsw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 634 bytes --]

Hi,

I have the following in my custom block agenda to sort for work tags that
are in progress:

(tags-todo "@work+TODO=\"IN-PROGRESS\""
    ((org-agenda-overriding-header "\nIn progress
tasks\n-----------------\n")))
(tags-todo "@work/IN-PROGRESS"
    ((org-agenda-overriding-header "\nIn progress
tasks\n-----------------\n")))

The first version correctly populates the in progress block entry, but the
second does not. It seems that the issue may be related to the hypen in the
shorthand version.

I don't know if this is a bug or expected behaviour. Either way the first
variant works fine so not a big problem.

Cheers,

Adrian

[-- Attachment #2: Type: text/html, Size: 1482 bytes --]

             reply	other threads:[~2017-11-29  3:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-29  3:14 Adrian Bradd [this message]
2018-04-26 23:34 ` Custom agenda with tags-todo and shorthand todo specification ignored if hypen present in TODO state Bastien

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='CAMYmr8wy9RJoL=s-Cj1AVAspWnfFH7P0AGKnCG28NgK97+xpsw@mail.gmail.com' \
    --to=adrian.bradd@gmail.com \
    --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
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).