[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Several %(expression) in org-agenda-prefix-format
From: |
Nick Dokos |
Subject: |
Re: [O] Several %(expression) in org-agenda-prefix-format |
Date: |
Fri, 15 Apr 2016 10:44:10 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
address@hidden 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