emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Filippo A. Salustri" <salustri@ryerson.ca>
To: emacs-orgmode@gnu.org
Subject: Re: help with sorting agenda views
Date: Sun, 20 Mar 2011 17:07:11 -0400	[thread overview]
Message-ID: <AANLkTikPBa9=f-3T84DtGxuS1QMPGt6+1Wg+afvH8Mx9@mail.gmail.com> (raw)
In-Reply-To: <87bp15egd3.fsf@norang.ca>

Bernt,
Thanks.  I've been reading your page on org; I just haven't gotten to
section 16 yet. :)
Cheers.
Fil

On 20 March 2011 15:34, Bernt Hansen <bernt@norang.ca> wrote:
> "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
>



-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salustri@ryerson.ca
http://deseng.ryerson.ca/~fil/

      reply	other threads:[~2011-03-20 21:07 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
2011-03-20 21:07   ` Filippo A. Salustri [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

  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='AANLkTikPBa9=f-3T84DtGxuS1QMPGt6+1Wg+afvH8Mx9@mail.gmail.com' \
    --to=salustri@ryerson.ca \
    --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).