address@hidden writes:
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.
[...]
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)
Hi Laurent,
I encountered the same limitation when I tried something alike.
I finally solved it using 'concat' in one unique %expression :
(org-agenda-prefix-format
"%((concat (or (org-entry-get (point) \"Case\" t) \"\") \" \"
(or (org-entry-get (point) \"CaseNum\" t) \"\") \" \"
(or (org-entry-get (point) \"FiscalYear\" t) \"\") \"
\"))")
For better readability in the agenda, or more complex expressions, I
thought I could write an entire function for handling them, but I never
dit.
I would really appreciate that someone points me into the right
direction.
Thanks,
Laurent
Well, I hope you'll be able to get something from this direction :-)
Christophe