emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dominic Surano <sk8ingdom@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Properties in agenda view
Date: Tue, 4 Nov 2014 17:14:52 +0000 (UTC)	[thread overview]
Message-ID: <loom.20141104T180003-318@post.gmane.org> (raw)
In-Reply-To: 87vbmv8dqt.fsf@tsmithe.net

Toby St Clere Smithe <mail <at> tsmithe.net> writes:

> 
> Hi all,
> 
> How might I adjust the agenda view so that as well as displaying the
> dates and names of entries, some property / properties of my choosing
> are displayed? For instance, I have entries with a "LOCATION" property,
> and would like to see that in the agenda view.
> 
> Cheers,
> 
> Toby
> 

This can be done with custom agenda commands using tables. Something like 
this should work:

(setq org-agenda-custom-commands
 '(("1" . "Custom sorted tables")
   ("1t" agenda "Tasks agenda table (active only)"
    ((org-agenda-skip-function
      '(org-agenda-skip-entry-if 'nottodo '("TODO" "WAITING" "CANCELLED" 
"DELEGATED" "DONE")))
    (org-agenda-overriding-columns-format "%75ITEM %20DEADLINE 
%100Location")
    (org-agenda-view-columns-initially t))))

This works with tasks that have the following format:

* TODO Go Grocery Shopping
  DEADLINE: <2014-11-04 Tue>
  :PROPERTIES:
  :Location: Trader Joe's
  :END:

The above example is for sorted agenda. This can also be accomplished for 
unsorted task lists.
        

  reply	other threads:[~2014-11-04 17:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-04 10:24 Properties in agenda view Toby St Clere Smithe
2014-11-04 17:14 ` Dominic Surano [this message]
2014-11-04 17:27   ` Toby St Clere Smithe
2014-11-04 17:36 ` Eric S Fraga
2014-11-05 22:58   ` Toby St Clere Smithe

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=loom.20141104T180003-318@post.gmane.org \
    --to=sk8ingdom@gmail.com \
    --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).