emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: "Filippo A. Salustri" <salustri@ryerson.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: help with sorting agenda views
Date: Sun, 20 Mar 2011 15:34:00 -0400	[thread overview]
Message-ID: <87bp15egd3.fsf@norang.ca> (raw)
In-Reply-To: <AANLkTintS32rRjgf_5eHkBkamzcfNFK9o9LeorxUEO_L@mail.gmail.com> (Filippo A. Salustri's message of "Fri, 18 Mar 2011 14:41:00 -0400")

"Filippo A. Salustri" <salustri@ryerson.ca> writes:

> Hi,
> I'm getting confused with sorting agenda views.  Hopefully someone can
> help me out.
>
> I have a custom agenda view that, today, looks like this:
>
> Friday     18 March 2011
>   UTMIE:      In  13 d.:  TODO [#A] Annual Report
>   Matthew:    In  -1 d.:  TODO Edit Matthew's thesis.
>   iMac:       Deadline:   TODO Archive email > Thunderbird
>   iMe:        In   1 d.:  REVIEW Tag my zotero library
>   8101:       In   5 d.:  REVIEW Grade Assignment 4
>
> The second item is late.
> I wish I could get late items to show up first, before all else.
> At the moment, the custom agenda command includes this bit:
>
> ("0" "Show ACTIVE/REVIEW/BUG tasks"
> 	 ((agenda "" ((org-agenda-sorting-strategy
> 		       (quote ((agenda time-up priority-down))))))
> 	  (todo "REVIEW|ACTIVE|WIP")))
>
> I thought that doing this would make sure late items came first.
> In my .emacs, I also have this bit in custom-set-variables:
>
>  '(org-agenda-sorting-strategy
>    (quote ((agenda time-up priority-down)
> 	   (todo priority-down)
> 	   )))
>
> I checked the doc and google, and I can't find anything helpful.
>
> Can someone advise me?

Hi Filippo,

I have a custom agenda sorting function that orders items in the agenda
specifically the way I want.  You should be able to adapt this for your
needs.  Details are at http://doc.norang.ca/org-mode.html#sec-16_3_5

Regards,
-- 
Bernt

  reply	other threads:[~2011-03-20 19:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-18 18:41 help with sorting agenda views Filippo A. Salustri
2011-03-20 19:34 ` Bernt Hansen [this message]
2011-03-20 21:07   ` Filippo A. Salustri

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=87bp15egd3.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=salustri@ryerson.ca \
    /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).