emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Display and sort by property in agenda?
@ 2014-02-06 10:11 Fredrik
  2014-02-06 10:19 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Fredrik @ 2014-02-06 10:11 UTC (permalink / raw)
  To: emacs-orgmode

Is there any way to display a custom property in the agenda? And is it 
possible to sort by that custom property?
So that if I have items looking like this I can show the property SORT 
in an agenda and sort by it?

* test 1
   :PROPERTIES:
   :SORT:     2
   :END:

* test 2
   :PROPERTIES:
   :SORT:     1
   :END:


Regards,

Fredrik

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

* Re: Display and sort by property in agenda?
  2014-02-06 10:11 Display and sort by property in agenda? Fredrik
@ 2014-02-06 10:19 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2014-02-06 10:19 UTC (permalink / raw)
  To: Fredrik; +Cc: emacs-orgmode

Fredrik <fredrik@jumans.net> writes:

> Is there any way to display a custom property in the agenda?

Yes, through the column view.

> And is it
> possible to sort by that custom property?

See

C-h v org-agenda-sorting-strategy RET
C-h v org-agenda-cmp-user-defined RET

> So that if I have items looking like this I can show the property SORT
> in an agenda and sort by it?
>
> * test 1
>   :PROPERTIES:
>   :SORT:     2
>   :END:
>
> * test 2
>   :PROPERTIES:
>   :SORT:     1
>   :END:

(From experience, this kind of hardcoding of the sort level will not
work for long, it is not really scalable.)

-- 
 Bastien

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

end of thread, other threads:[~2014-02-06 10:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-06 10:11 Display and sort by property in agenda? Fredrik
2014-02-06 10:19 ` Bastien

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