emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: knubee <knubee@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Custom agenda views: display date, not tags
Date: Sun, 05 Feb 2012 09:53:54 -0500	[thread overview]
Message-ID: <87y5shbabh.fsf@norang.ca> (raw)
In-Reply-To: <loom.20120205T081725-225@post.gmane.org> (knubee@gmail.com's message of "Sun, 5 Feb 2012 07:22:24 +0000 (UTC)")

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

      reply	other threads:[~2012-02-05 14:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-05  7:22 Custom agenda views: display date, not tags knubee
2012-02-05 14:53 ` Bernt Hansen [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=87y5shbabh.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=knubee@gmail.com \
    /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).