Re: [O] Sort by Inactive Timestamp

2012-12-09 Thread Memnon Anon
Jeff Mickey writes: > Thank you Memnon! The (get-text-property 1 'org-marker a) is still > voodoo to me, but that worked perfectly. Hehe, it *is* black magic. Carsten recommended to have a look at the org-cmp-* functions (http://article.gmane.org/gmane.emacs.orgmode/14634). Those lines are bas

Re: [O] Sort by Inactive Timestamp

2012-12-08 Thread Jeff Mickey
On Fri, Dec 7, 2012 at 11:43 AM, Memnon Anon wrote: > --8<---cut here---start->8--- > (defun my-agenda-sort-by-inactive-timestamp (a b) > "Sort by interactive timestamp. Oldest first, items without any ts at the > bottom." > (let* ((ma (or (get-text-propert

Re: [O] Sort by Inactive Timestamp

2012-12-07 Thread Memnon Anon
Jeff Mickey writes: > However.. my current issue: I'd like to sort my todo's by when I > entered them. So in my capture template I put an inactive timestamp at > the bottom, so my headlines look something like: > > --8<---cut here---start->8--- > * Todo > ** TO

Re: [O] Sort by Inactive Timestamp

2012-12-07 Thread John Hendy
On Thu, Dec 6, 2012 at 4:13 PM, Jeff Mickey wrote: > Hey Org mailing list! > > So, I have been using org for years (2006?) now, absolutely adore it. > The generic org-export in contrib really excites me as well, I want to > try and write an org-e-mediawiki.el after I learn some more about > org's

[O] Sort by Inactive Timestamp

2012-12-07 Thread Jeff Mickey
Hey Org mailing list! So, I have been using org for years (2006?) now, absolutely adore it. The generic org-export in contrib really excites me as well, I want to try and write an org-e-mediawiki.el after I learn some more about org's implementation. However.. my current issue: I'd like to sort m

Re: [O] Sort by Inactive Timestamp

2012-12-06 Thread Samuel Wales
I think your setup is only by time, so you don't really need to convert the timestamps, and you don't really need the generalized get function. You can just use org-entry-get. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it.

Re: [O] Sort by Inactive Timestamp

2012-12-06 Thread Samuel Wales
I can't give you the answer, only the tools, as my setup contains years of stuff. The manual says how to do sorting in the outline and the agenda using user-defined functions. The key thing is converting timestamps into something that you can use reliably. I wrote these over a long period years

[O] Sort by Inactive Timestamp

2012-12-06 Thread Jeff Mickey
Hey Org mailing list! So, I have been using org for years (2006?) now, absolutely adore it. The generic org-export in contrib really excites me as well, I want to try and write an org-e-mediawiki.el after I learn some more about org's implementation. However.. my current issue: I'd like to sort m