emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug?] Actions grouped by priority
@ 2014-02-12 20:37 Sebastien Vauban
  2014-02-12 20:58 ` Sebastien Vauban
  0 siblings, 1 reply; 2+ messages in thread
From: Sebastien Vauban @ 2014-02-12 20:37 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello,

With the following snippet, I'd expect to see *all* actions in one (and
just one) of the following lists:

- with priority #A
- with priority #B
- with priority #C
- with no priority

--8<---------------cut here---------------start------------->8---
    (add-to-list 'org-agenda-custom-commands
                 '("p" "Actions Grouped by Priority"
                   ((tags-todo "+PRIORITY={A}")
                    (tags-todo "+PRIORITY={B}")
                    (tags-todo "+PRIORITY={C}")
                    (tags-todo "+PRIORITY={}"))))
--8<---------------cut here---------------end--------------->8---

While it works for the 3 first lists, the last one stays empty (while
I should see, there, the most of my actions to do).

Is this a bug?

Best regards,
  Seb

-- 
Sebastien Vauban

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

* Re: [bug?] Actions grouped by priority
  2014-02-12 20:37 [bug?] Actions grouped by priority Sebastien Vauban
@ 2014-02-12 20:58 ` Sebastien Vauban
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastien Vauban @ 2014-02-12 20:58 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hello,

"Sebastien Vauban" wrote:
> With the following snippet, I'd expect to see *all* actions in one (and
> just one) of the following lists:
>
> - with priority #A
> - with priority #B
> - with priority #C
> - with no priority
>
>     (add-to-list 'org-agenda-custom-commands
>                  '("p" "Actions Grouped by Priority"
>                    ((tags-todo "+PRIORITY={A}")
>                     (tags-todo "+PRIORITY={B}")
>                     (tags-todo "+PRIORITY={C}")
>                     (tags-todo "+PRIORITY={}"))))
>
> While it works for the 3 first lists, the last one stays empty (while
> I should see, there, the most of my actions to do).

False alarm... Rewriting the last line as:

>                     (tags-todo "+PRIORITY=\"\""))))

does solve the problem. Sorry for the noise.

Best regards,
  Seb

-- 
Sebastien Vauban

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

end of thread, other threads:[~2014-02-12 20:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-12 20:37 [bug?] Actions grouped by priority Sebastien Vauban
2014-02-12 20:58 ` Sebastien Vauban

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