From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subhan Michael Tindall Subject: Agenda Help Date: Tue, 11 Nov 2014 18:56:54 +0000 Message-ID: <78e416a500204cbc8faeea8373f99c5e@fbmailsvr1.familycareinc.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_78e416a500204cbc8faeea8373f99c5efbmailsvr1familycareinc_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoGck-0001fV-6U for emacs-orgmode@gnu.org; Tue, 11 Nov 2014 13:57:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XoGcd-0007HM-UI for emacs-orgmode@gnu.org; Tue, 11 Nov 2014 13:57:06 -0500 Received: from outbound.familycareinc.org ([207.170.205.147]:39344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoGcd-0007H6-JM for emacs-orgmode@gnu.org; Tue, 11 Nov 2014 13:56:59 -0500 Content-Language: en-US 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "'emacs-orgmode@gnu.org'" --_000_78e416a500204cbc8faeea8373f99c5efbmailsvr1familycareinc_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable I've been trying to work out a particular agenda for some time now. Due to= some known bugs in sorting with IA time stamps in some of the commands, I'= ve been forced to branch a little abroad. I've got most of things worked ou= t, but need a little guidance on the last remaining piece. Here's the custom agenda command: ("Z" "Last Worked skip" ((alltodo "" ((org-agenda-skip-fun= ction (lambda nil = (org-agenda-skip-entry-if (quote notregexp) "\\:LastWorked\\:"))) (org-agenda-sticky n= il) (org-agenda-sorting-= strategy (quote (tsia-down todo-state-down))) Some, but not all, headlines have a 'LastWorked' property holding an IA tim= e stamp Some, but not all, headlines with a 'LastWorked' property have a 'TODO' sta= tus IE meetings get an active datestamp but not a TODO status, And have a 'LastWorked' property based on when meeting occurred. The above command will pick up all the headlines with a TODO status and a L= astWorked Property, sort by LastWorked, and displayed. This is great. What I also need is a way to pick up ALL headlines with a LastWorked Proper= ty, including headlines with closed TODO stati (IE DONE) Using the 's' type agenda picks up all the right items, but the sort on 'La= stWorked' fails Any ideas? Subhan This message is intended for the sole use of the individual and entity to w= hich it is addressed and may contain information that is privileged, confid= ential and exempt from disclosure under applicable law. If you are not the = intended addressee, nor authorized to receive for the intended addressee, y= ou are hereby notified that you may not use, copy, disclose or distribute t= o anyone the message or any information contained in the message. If you ha= ve received this message in error, please immediately advise the sender by = reply email and delete the message. Thank you. --_000_78e416a500204cbc8faeea8373f99c5efbmailsvr1familycareinc_ Content-Type: text/html; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable

I’ve been trying to work out a particular agen= da for some time now.  Due to some known bugs in sorting with IA time = stamps in some of the commands, I’ve been forced to branch a little a= broad. I’ve got most of things worked out, but need a little guidance on the last remaining piece.

 

Here’s the custom agenda command:

 

("Z" "Last Worked skip" ((alltod= o ""

        &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;       ((org-agenda-skip-function (lambd= a nil

        &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;          (org-agenda-ski= p-entry-if (quote notregexp) "\\:LastWorked\\:")))

        &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;        (org-agenda-sticky nil)

        &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;        (org-agenda-sorting-strateg= y (quote (tsia-down todo-state-down)))

 

Some, but not all, headlines have a ‘LastWorke= d’ property holding an IA time stamp

Some, but not all, headlines with a ‘LastWorke= d’ property have a ‘TODO’ status IE meetings get an activ= e datestamp but not a TODO status,

And have a ‘LastWorked’ property based o= n when meeting occurred.

 

The above command will pick up all the headlines wit= h a TODO status and a LastWorked Property, sort by LastWorked, and displaye= d.

This is great.

What I also need is a way to pick up ALL headlines w= ith a LastWorked Property, including headlines with closed TODO stati (IE D= ONE)

Using the ‘s’ type agenda picks up all t= he right items, but the sort on ‘LastWorked’ fails

 

Any ideas?

 

Subhan

 


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, co= nfidential and exempt from disclosure under applicable law. If you are not = the intended addressee, nor authorized to receive for the intended addresse= e, you are hereby notified that you may not use, copy, disclose or distribu= te to anyone the message or any information contained in the message. If yo= u have received this message in error, please immediately advise the sender= by reply email and delete the message.  Thank you. --_000_78e416a500204cbc8faeea8373f99c5efbmailsvr1familycareinc_--