emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* help with sorting agenda views
@ 2011-03-18 18:41 Filippo A. Salustri
  2011-03-20 19:34 ` Bernt Hansen
  0 siblings, 1 reply; 3+ messages in thread
From: Filippo A. Salustri @ 2011-03-18 18:41 UTC (permalink / raw)
  To: emacs-orgmode

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?

Cheers.
Fil
--
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: help with sorting agenda views
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Bernt Hansen @ 2011-03-20 19:34 UTC (permalink / raw)
  To: Filippo A. Salustri; +Cc: emacs-orgmode

"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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: help with sorting agenda views
  2011-03-20 19:34 ` Bernt Hansen
@ 2011-03-20 21:07   ` Filippo A. Salustri
  0 siblings, 0 replies; 3+ messages in thread
From: Filippo A. Salustri @ 2011-03-20 21:07 UTC (permalink / raw)
  To: emacs-orgmode

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-20 21:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).