From mboxrd@z Thu Jan 1 00:00:00 1970 From: laurent.jucquois@posteo.de Subject: Several %(expression) in org-agenda-prefix-format Date: Thu, 14 Apr 2016 15:02:24 +0200 Message-ID: <14bdd0027a3034e92aae833e31c0e5d3@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqgun-00086F-3I for emacs-orgmode@gnu.org; Thu, 14 Apr 2016 09:02:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqgui-00068q-1C for emacs-orgmode@gnu.org; Thu, 14 Apr 2016 09:02:33 -0400 Received: from mout01.posteo.de ([185.67.36.65]:48326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqguh-00066w-Qd for emacs-orgmode@gnu.org; Thu, 14 Apr 2016 09:02:27 -0400 Received: from dovecot03.posteo.de (dovecot03.posteo.de [172.16.0.13]) by mout01.posteo.de (Postfix) with ESMTPS id DDB5020851 for ; Thu, 14 Apr 2016 15:02:25 +0200 (CEST) Received: from mail.posteo.de (localhost [127.0.0.1]) by dovecot03.posteo.de (Postfix) with ESMTPSA id 3qm16S6Ws6z5vND for ; Thu, 14 Apr 2016 15:02:24 +0200 (CEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" 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