emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Several %(expression) in org-agenda-prefix-format


From: Ken Mankoff
Subject: Re: [O] Several %(expression) in org-agenda-prefix-format
Date: Fri, 15 Apr 2016 12:00:36 -0400
User-agent: mu4e 0.9.17; emacs 24.5.1

What about setting ":CATEGORY: PD v. BS" in the top level :PROPERTIES: drawer. 
Then in the agenda you'd see:

PD v BS:   My first pleadings

  -k.


On 2016-04-14 at 09:02, address@hidden wrote:
> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]