From: Matt Lundin <mdl@imapmail.org>
To: Martin Beck <Elwood151@web.de>
Cc: emacs orgmode-mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Org-agenda-sorting: can I sort by inactive timestamps?
Date: Mon, 30 May 2016 09:53:42 -0500 [thread overview]
Message-ID: <87eg8jd2bt.fsf@fastmail.fm> (raw)
In-Reply-To: <trinity-04e1de00-32a8-4b6f-afcd-34cdd539beff-1464611221149@3capp-webde-bs01> (Martin Beck's message of "Mon, 30 May 2016 14:27:01 +0200")
"Martin Beck" <Elwood151@web.de> writes:
> I'm using inactive timestamps to show the creation date of a new
> heading and also to show the modification dates with some short text
> notes about the progress in there:
>
> Example:
>
> * Headings Test
> <2016-05-30 Mo 13:18>
> * Heading 1
> [2016-05-30 Mo 13:21]
> * Heading 2
> [2016-05-30 Mo 13:16]
> * Heading 3
> [2016-05-30 Mo 13:16]
> * TODO Find out about sorting by timestamp
> [2016-05-30 Mo 13:12]
> [2016-05-30 Mo 14:22]
> posted question to org-mode users group
>
>
> I tried the timestamp-up/timestamp-down sorting criteria in my agenda,
> but they seem to ignore the inactive timestamps:
> ("r" "Refile" tags "+refile+LEVEL=1"
> ((org-agenda-overriding-header "Refile")
> (org-agenda-sorting-strategy
> (quote
> (timestamp-up)))))
> I also tried to use the table-view of the agenda, but in the column
> "timestamp" it only shows the active timestamp of the first heading.
> Questions:
> - is it possible to use inactive timestamps for sorting the agenda?
The timestamp-up here retrieves active timestamps. For inactive
timestamps, you can use tsia-up. See the docstring (C-h v) for
org-agenda-sorting-strategy:
tsia-up Sort by inactive timestamp, early first
tsia-down Sort by inactive timestamp, late first
> - what happens if I have several timestamps (active or inactive) in
> one heading? Will org-mode take the first/last one in the plain text
> "code" or the newest or oldest one by date?
With tsia-up or tsia-down, org will use the first inactive timestamp in
the heading.
For more details, see...
http://orgmode.org/manual/Special-properties.html
Matt
prev parent reply other threads:[~2016-05-30 14:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-30 12:27 Org-agenda-sorting: can I sort by inactive timestamps? Martin Beck
2016-05-30 14:53 ` Matt Lundin [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eg8jd2bt.fsf@fastmail.fm \
--to=mdl@imapmail.org \
--cc=Elwood151@web.de \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.