emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Subhan Michael Tindall <SubhanT@familycareinc.org>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: [ Bug] tsia-{up, down} sorting strategy not working for tags search agendas
Date: Mon, 22 Sep 2014 21:08:45 +0000	[thread overview]
Message-ID: <fbaf5b4ada35466296342902ee36bacf@fcmailsvr2.familycareinc.org> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2285 bytes --]

I have the following agendas (among others) defined:
("x" "Last worked" ((alltodo "" (                                                                                                                                                                                                                                                (org-agenda-sticky nil)
                (org-agenda-sorting-strategy (quote (tsia-up todo-state-down)))))))
("y" "Last worked2" ((tags "LastWorked={.+}" (
(org-agenda-sticky nil)
                (org-agenda-sorting-strategy (quote (tsia-up todo-state-down)))))))

I have a property defined in headlines that have been worked on:
                :PROPERTIES:
                :LastWorked: [2014-09-02 Tue 16:02]
                :END:

TODOs etc that have not been worked yet don't have this property.

The top search ("x") creates an agenda with items with a LastWorked property sorted with the least recent first, down to most recent, followed by any items with the LastWorked property unset sorted by todo-state.

The bottom search ("y") creates an agenda with only items with LastWorked property set (which I want) but completely ignores the tsia-up sorting strategy and sorts only by todo-state.

I have confirmed that org-agenda-sorting-strategy-selected is correct in both cases.
The only difference is the agenda type (tags vs alltodo)

Any ideas where to look for this ?






Subhan Michael Tindall
Program Analyst - FamilyCare Health Plans
825 NE Multnomah St, Suite 1400; Portland OR 97232
Direct: 503-471-3127
Fax:      503-471-3177
Email:  subhant@familycareinc.org<mailto:subhant@familycareinc.org>
[Email-Signature-Logos June 20143]


This message is intended for the sole use of the individual and entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email and delete the message.  Thank you.

[-- Attachment #1.2: Type: text/html, Size: 8106 bytes --]

[-- Attachment #2: image001.jpg --]
[-- Type: image/jpeg, Size: 30469 bytes --]

             reply	other threads:[~2014-09-22 21:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-22 21:08 Subhan Michael Tindall [this message]
2014-09-23  7:56 ` [ Bug] tsia-{up, down} sorting strategy not working for tags search agendas Sebastien Vauban
2014-09-23 16:34   ` Subhan Michael Tindall
2015-02-16 22:03   ` Nicolas Goaziou
2015-02-17 10:58     ` Sebastien Vauban
2015-02-17 11:12       ` Nicolas Goaziou

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=fbaf5b4ada35466296342902ee36bacf@fcmailsvr2.familycareinc.org \
    --to=subhant@familycareinc.org \
    --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).