From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Several %(expression) in org-agenda-prefix-format Date: Fri, 15 Apr 2016 10:44:10 -0400 Message-ID: <87r3e7q6dh.fsf@alphaville.usersys.redhat.com> References: <14bdd0027a3034e92aae833e31c0e5d3@posteo.de> <87shynbyw0.fsf@artlab.createcnix.lan> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ar4yv-0008GN-Cj for emacs-orgmode@gnu.org; Fri, 15 Apr 2016 10:44:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ar4yr-0005NP-Do for emacs-orgmode@gnu.org; Fri, 15 Apr 2016 10:44:25 -0400 Received: from plane.gmane.org ([80.91.229.3]:45056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ar4yr-0005Mo-71 for emacs-orgmode@gnu.org; Fri, 15 Apr 2016 10:44:21 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ar4yn-0006CR-H6 for emacs-orgmode@gnu.org; Fri, 15 Apr 2016 16:44:17 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Apr 2016 16:44:17 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Apr 2016 16:44:17 +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: > Hi Christophe, > > Thanks for the pointer! > > I had already tried this solution but I wasn't entirely satisfied > because of alignment reasons. > > Not all my properties have the same length, so my agenda now looks > like this: > > DUPOND 12/RG/569 (10) : My task > DURAND 16/1689/A (05; 10-12; 14) : My task > > So it's better than not knowing to which case my todos relate but it > isn't ideal for readability. > > Do you know if, like org-agenda-prefix-format, I could align the > result of concat or define the number of character the first string > can occupy? > Can't you use something like: (format "%-40s" (concat ...)) ? -- Nick