emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Custom agenda with tags-todo and shorthand todo specification ignored if hypen present in TODO state
@ 2017-11-29  3:14 Adrian Bradd
  2018-04-26 23:34 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bradd @ 2017-11-29  3:14 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Custom agenda with tags-todo and shorthand todo specification ignored if hypen present in TODO state
  2017-11-29  3:14 Custom agenda with tags-todo and shorthand todo specification ignored if hypen present in TODO state Adrian Bradd
@ 2018-04-26 23:34 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2018-04-26 23:34 UTC (permalink / raw)
  To: Adrian Bradd; +Cc: emacs-orgmode

Hi Adrian,

Adrian Bradd <adrian.bradd@gmail.com> writes:

> (tags-todo "@work/IN-PROGRESS"

Yes, this is a bug: the "-" character is special in this syntax,
so TODO keywords containing "-" characters are not compatible with
the old syntax.

The new syntax is preferred.

Best,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-04-26 23:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-29  3:14 Custom agenda with tags-todo and shorthand todo specification ignored if hypen present in TODO state Adrian Bradd
2018-04-26 23:34 ` Bastien

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).