emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Custom agenda views: display date, not tags
@ 2012-02-05  7:22 knubee
  2012-02-05 14:53 ` Bernt Hansen
  0 siblings, 1 reply; 2+ messages in thread
From: knubee @ 2012-02-05  7:22 UTC (permalink / raw)
  To: emacs-orgmode

I am trying to create a custom agenda view that displays the deadline date 
(rather than the tags) associated with certain entries.

So, rather than:

 todo:  TODO Finish the task           :Work:

I want to display:

 todo:  TODO Finish the task           5 February 2012

I haven't been able to find the appropriate variables to control this. 
Suggestions?

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

* Re: Custom agenda views: display date, not tags
  2012-02-05  7:22 Custom agenda views: display date, not tags knubee
@ 2012-02-05 14:53 ` Bernt Hansen
  0 siblings, 0 replies; 2+ messages in thread
From: Bernt Hansen @ 2012-02-05 14:53 UTC (permalink / raw)
  To: knubee; +Cc: emacs-orgmode

knubee <knubee@gmail.com> writes:

> I am trying to create a custom agenda view that displays the deadline date 
> (rather than the tags) associated with certain entries.
>
> So, rather than:
>
>  todo:  TODO Finish the task           :Work:
>
> I want to display:
>
>  todo:  TODO Finish the task           5 February 2012
>
> I haven't been able to find the appropriate variables to control this. 
> Suggestions?

I don't think you can do this ... but you can use column view to overlay
the deadline on the agenda.

--8<---------------cut here---------------start------------->8---
#+COLUMNS: %50ITEM %DEADLINE
* Deadline agenda view                                                :sometag:
DEADLINE: <2012-02-04 Sat>
[2012-02-05 Sun 09:39]
--8<---------------cut here---------------end--------------->8---

With this org file open

C-c C-c on the #+COLUMNS: line once to set the value

C-c a 1 a   - goes to the agenda with only this file
C-c C-x C-c - start column view displaying deadlines

You can set this as your default agenda view with

--8<---------------cut here---------------start------------->8---
(setq org-columns-default-format "%50ITEM %DEADLINE"
--8<---------------cut here---------------end--------------->8---

then you can use it in any agenda view to overlay the deadline details.

HTH,
Bernt

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

end of thread, other threads:[~2012-02-05 14:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-05  7:22 Custom agenda views: display date, not tags knubee
2012-02-05 14:53 ` Bernt Hansen

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