emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Jeff Mickey <j@codemac.net>
Cc: emacs-orgmode Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: Sort by Inactive Timestamp
Date: Fri, 7 Dec 2012 10:41:30 -0600	[thread overview]
Message-ID: <CA+M2ft9RGg8twEioFHXBbPquPgprQcYRi_Z7u3z=d92RLbRykA@mail.gmail.com> (raw)
In-Reply-To: <CAKr=PyN=wr=xBXXSjy341c91VgCf=v6eKK0H0z3oO0t+HJv+Jw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2263 bytes --]

On Thu, Dec 6, 2012 at 4:13 PM, Jeff Mickey <j@codemac.net> 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 implementation.
>
> 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
> ** TODO call mom
> - Ask about christmas
> - Talk about Dad
> - See if she bought a dog
>
>    [2012-12-05 Wed 16:36]
> ** TODO Yet another thing
>    [2012-12-05 Wed 16:37]
> --8<---------------cut here---------------end--------------->8---
>
> I'd love to have a way to bring up the agenda and have it sorted by
> this ctime I'm manually inserting. Do people have suggestions on the
> best way to support this?
>
>
Two thoughts:

1) I recently requested a feature addition like this for sparse trees and
Bastian quickly and awesomely added it:
- http://comments.gmane.org/gmane.emacs.orgmode/55501

I wonder if something similar could be added to agenda to allow for what
you want?

2) On that note, have you looked at the agenda log mode? It seems that it's
nearly got what you're looking for, except at the moment it only allows for
things with inactive time stamps that are todo state changes, clocked, or
have been marked done.

Perhaps log mode could have a "journal" mode in which all time stamped
items are extracted?


I'm thinking someone will have to add a tweak to current functionality.
There's a bit I found when googling that org-mode can sort by timestamps --
I'm assuming this means to rearrange actual headlines in the file, which is
probably not what you want. Perhaps the build in sorting combined with the
above could get you the view you're looking for.


Best regards,
John



> Maybe add a property to my TODOs that is this creation time?
> Has anyone else done something similar to this using
> org-agenda-cmp-user-defined?
>
> ... is this the wrong place to ask this question?
>
> I appreciate any and all help!
>
>   //  jeff
>
>

[-- Attachment #2: Type: text/html, Size: 3183 bytes --]

  reply	other threads:[~2012-12-07 16:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-06 22:13 Sort by Inactive Timestamp Jeff Mickey
2012-12-07 16:41 ` John Hendy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-12-06 22:30 Jeff Mickey
2012-12-07  0:35 ` Samuel Wales
2012-12-07  0:38   ` Samuel Wales
2012-12-07 19:43 ` Memnon Anon
2012-12-09  4:54   ` Jeff Mickey
2012-12-09 16:11     ` Memnon Anon

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='CA+M2ft9RGg8twEioFHXBbPquPgprQcYRi_Z7u3z=d92RLbRykA@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=j@codemac.net \
    /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).