Nick Dokos writes:

> laurent.jucqu...@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.
>>
[...]
> Can't you use something like:
>
>    (format "%-40s" (concat ...))
>
> ?
Laurent,


Glad you went further.

As Nikos said, for alignment, you can use 'format', and maybe build a
wholly formated stringĀ :

(format "%-10s%-24s%-20s" (concat (org-entry-get "prop1"))
                          (concat ...)
                           ...)

in order to get something likeĀ :

DUPOND    12/RG/569     (10)                : My task
DURAND    16/1689/A     (05; 10-12; 14)     : My task


I don't know how you want your display to render in the end, but
'format' will allow you quite much flexibility.

Regards,
Christophe

-- 
--------------->  mailto:r3vli...@citadels.eu
Once it's perfectly aimed, the flying arrow goes straight to its target.
Thus, don't worry when things go right.
There will be enough time to worry about if they go wrong.
Then, it's time to fire a new arrow towards another direction.
Don't sink.  Adapt yourself !  The archer has to shoot accurately and quickly.
[Words of Erenthar, the bowman ranger] <---------------<<<<

Reply via email to