From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: Several %(expression) in org-agenda-prefix-format Date: Thu, 14 Apr 2016 16:12:38 -0500 Message-ID: <87d1prevy1.fsf@alphapapa.net> References: <14bdd0027a3034e92aae833e31c0e5d3@posteo.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqoZH-0003AD-Mm for emacs-orgmode@gnu.org; Thu, 14 Apr 2016 17:12:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqoZE-0003t5-HI for emacs-orgmode@gnu.org; Thu, 14 Apr 2016 17:12:51 -0400 Received: from plane.gmane.org ([80.91.229.3]:49140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqoZE-0003sj-Ad for emacs-orgmode@gnu.org; Thu, 14 Apr 2016 17:12:48 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aqoZC-00027X-Hw for emacs-orgmode@gnu.org; Thu, 14 Apr 2016 23:12:46 +0200 Received: from 172-0-42-27.lightspeed.ltrkar.sbcglobal.net ([172.0.42.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Apr 2016 23:12:46 +0200 Received: from adam by 172-0-42-27.lightspeed.ltrkar.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Apr 2016 23:12:46 +0200 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: emacs-orgmode@gnu.org laurent.jucquois@posteo.de writes: > 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 Hi Laurent, I noticed that you're using both `org-get-entry' and `org-entry-get'. According to the docs, only `org-entry-get' should do what you want, but your output seems to indicate the opposite. I'm not sure what to make of that, but maybe this is a clue to the problem...? Please let us know how you fix it. I've been wanting to try something like that myself.