From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Bradd 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 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c1134b05f95a9055f16884e" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJspQ-0004uq-11 for emacs-orgmode@gnu.org; Tue, 28 Nov 2017 22:14:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJspP-0006B9-9k for emacs-orgmode@gnu.org; Tue, 28 Nov 2017 22:14:28 -0500 Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]:33078) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJspP-0006Ae-2w for emacs-orgmode@gnu.org; Tue, 28 Nov 2017 22:14:27 -0500 Received: by mail-pf0-x22c.google.com with SMTP id y89so920030pfk.0 for ; Tue, 28 Nov 2017 19:14:26 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode --94eb2c1134b05f95a9055f16884e Content-Type: text/plain; charset="UTF-8" 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 --94eb2c1134b05f95a9055f16884e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,=

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

(tags-todo "@work+TODO=3D\&q= uot;IN-PROGRESS\""
=C2=A0=C2=A0=C2=A0 ((org-agenda-overriding-= header "\nIn progress tasks\n-----------------\n")))
(tags-tod= o "@work/IN-PROGRESS"
=C2=A0=C2=A0=C2=A0 ((org-agenda-overridi= ng-header "\nIn progress tasks\n-----------------\n")))

The first version correctly popula= tes 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 ex= pected behaviour. Either way the first variant works fine so not a big prob= lem.

=
Cheers,

Adrian
--94eb2c1134b05f95a9055f16884e--