emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sven Bretfeld <sven.bretfeld@ntnu.no>
To: org-mode <emacs-orgmode@gnu.org>
Subject: Superagenda selector ":priority" matches only deadlines
Date: Thu, 19 Jul 2018 12:12:16 +0200	[thread overview]
Message-ID: <87tvovjzzz.fsf@ntnu.no> (raw)

Hi

This can't be a feature. The org-super-agenda selector ":priority"
matches no entries except those that have a deadline.

Example:

 (setq org-agenda-custom-commands
       (quote (
         (" " "Super Agenda View" (
           (agenda "" ((org-agenda-span 'day)
             (org-super-agenda-groups
                '((:name "Today "
                   :time-grid t
                   :date today
                   :scheduled today
                   :order 1)
                  (:name "Important "
                   :priority "A"
                   :order 2)
                   )))) <---- more to follow

The 2nd block should match every item with "A" priority. Instead, of the
group:

* TODO [#A] Test 1
  DEADLINE: <2018-07-23 Mo>
* TODO [#A] Test 2
  SCHEDULED: <2018-07-20 Fr>
* TODO [#A] Test 3
* TODO [#B] Test 4
  DEADLINE: <2018-07-21 Sa>

... only the first item (Test 1) is displayed.

Bug or weird feature? Todos having top priority without having a
deadline is a common use case, right?

Sven

                 reply	other threads:[~2018-07-19 10:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87tvovjzzz.fsf@ntnu.no \
    --to=sven.bretfeld@ntnu.no \
    --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).