emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Martin Beck <elwood151@web.de>
To: emacs-orgmode@gnu.org
Subject: Re: (no subject) How to sort agenda by timestamps (scheduled/deadline)?
Date: Thu, 31 Jan 2013 10:01:31 +0000 (UTC)	[thread overview]
Message-ID: <loom.20130131T105503-159@post.gmane.org> (raw)
In-Reply-To: 87a9rqyx4u.fsf@norang.ca

Bernt Hansen <bernt <at> norang.ca> writes:
> >
> > Ho could I insert this additional "column" in the agenda view?
> 
> I can't make it work in the block agenda but as a standalone agenda does
> this help?
> 
> --8<---------------cut here---------------start------------->8---
> 	      ("x" "test" tags-todo "PRIORITY=\"A\"" 
> 	       ((org-agenda-overriding-header "Critical")
> 		(org-agenda-entry-types '(:deadline))
> 		(org-columns-default-format "%10CATEGORY(Category) %60ITEM(Task)
%15DEADLINE(Deadline) %15SCHEDULED(Scheduled)")
> 		(org-agenda-view-columns-initially t)
> 		(org-agenda-sorting-strategy (quote (time-up category-keep)))
> 		(org-agenda-todo-ignore-scheduled 'future)
> 		(org-agenda-todo-ignore-deadlines 'future)))
> --8<---------------cut here---------------end--------------->8---
> 
> This starts the agenda in column mode and shows category, task,
> deadline, scheduled dates.
> 
> 'q' exits column mode.
> 
> In the block agenda if you turn on column mode with C-c C-x C-c you get
> the same information for all tasks in the agenda
> 
> It's probably not exactly what you were looking for...
> 
> Regards,
> Bernt
> 
> 

Hi Bernt,
thanks for your help - so if you can not make it work, I assume that it's not
possible yet? 
I tried your code - it does what it promises.. however, you're right, it's not
yet what I need:
I'd need Priority A and B in one view (table),
then sorted
* Prio A first
* Prio B second
lines sorted by date descending (newest first) .. would that be possible?

If I understand the problem right, I can get the deadline/scheduled information
in the agenda only with the "agenda" commmand, not with tags-todo or anything
else? This is a pity.
So theoretically, I'd have to use this agenda command and then tweak the sorting
function to arrange items by Prio first and then by date?
(That's what I tried already, based on your setup, but I was not able to make it
work yet..)

Kind regards

Martin

  reply	other threads:[~2013-01-31 10:01 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-29  9:43 (no subject) Martin Beck
2013-01-30  8:23 ` (no subject) How to sort agenda by timestamps (scheduled/deadline)? Martin Beck
2013-01-30 10:31 ` Sorting by scheduled-up/down (was: (no subject)) Bastien
2013-01-30 12:12 ` (no subject) Bernt Hansen
2013-01-30 12:25   ` (no subject) How to sort agenda by timestamps (scheduled/deadline)? Martin Beck
2013-01-31  1:11     ` Bernt Hansen
2013-01-31 10:01       ` Martin Beck [this message]
2013-02-01 12:02         ` Bernt Hansen
2013-02-01 15:43           ` Sebastien Vauban
2013-02-01 15:55             ` Sebastien Vauban
2013-02-02 16:57               ` Bernt Hansen
2013-02-07  8:21           ` Bastien
2013-02-22 23:25             ` Martin
2013-02-23  8:00               ` Bastien
2013-03-12 16:00                 ` Martin
2013-03-13  8:55                   ` Bastien
2013-03-13  9:26                     ` Martin
2013-03-13  9:30                       ` Bastien
2013-03-13 10:47                         ` Martin
2013-03-13 11:52                           ` Bastien
2013-03-13 12:41                             ` Martin
2013-03-13 13:01                               ` Bastien
2013-03-13 13:51                                 ` Martin
2013-03-13 23:23                                   ` Robert Eckl
2013-01-31 10:04       ` Martin Beck
2013-02-01 12:04         ` Bernt Hansen
2013-02-01 13:23           ` Martin Beck
2013-02-02  0:31             ` Eric S Fraga
2013-02-02 17:04             ` Bernt Hansen

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=loom.20130131T105503-159@post.gmane.org \
    --to=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 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).