emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Several %(expression) in org-agenda-prefix-format
@ 2016-04-14 13:02 laurent.jucquois
  2016-04-14 21:12 ` Adam Porter
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: laurent.jucquois @ 2016-04-14 13:02 UTC (permalink / raw)
  To: org-mode-email

Hi list,

I'm trying to setup some custom agenda views that would be useful for my 
work but i'm unable to define a custom org-agenda-prefix-format with 
several %expression successfully.

My org-file is as follow:

* Pierre Dupond v. Belgian State
:PROPERTIES:
:Case: Dupond
:Location: Court of XX
:FiscalYear: 13-14
:CaseNum: 15/RG/139
:END:

** My first pleadings
DEADLINE: <2016-05-15 mon.>
** Pleading from Belgian State
** My second pleadings
** etc.

When I check my agenda, it doesn't serve me at all to see the general 
description "** My first pleadings" if I don't know to which case it 
relates.

So, I'm trying to setup a custom agenda view that would look like this:

Dupond 15/RG/139 (13-14) : My first pleadings

I've come up with the following (mal-functionning) 
org-agenda-prefix-format:

%(org-get-entry (point) "Case" t) %(org-entry-get (point) "CaseNum" t) 
%(org-entry-get (point) "FiscalYear" t)

But this only gives me :

Dupond : My first pleadings

I would really appreciate that someone points me into the right 
direction.

Thanks,

Laurent

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

end of thread, other threads:[~2016-04-15 21:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-14 13:02 Several %(expression) in org-agenda-prefix-format laurent.jucquois
2016-04-14 21:12 ` Adam Porter
2016-04-15  8:16   ` laurent.jucquois
2016-04-14 22:37 ` Christophe Schockaert
2016-04-15  8:10   ` laurent.jucquois
2016-04-15 14:44     ` Nick Dokos
2016-04-15 15:52       ` Christophe Schockaert
2016-04-15 15:56       ` laurent.jucquois
2016-04-15 16:00 ` Ken Mankoff
2016-04-15 17:49   ` laurent.jucquois
2016-04-15 19:55   ` Peter Davis
2016-04-15 21:47     ` Adam Porter

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