emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Columns widths of block agenda?


From: Sebastien Vauban
Subject: Re: [O] Columns widths of block agenda?
Date: Tue, 17 Jun 2014 20:50:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (windows-nt)

"Loris Bennett" wrote:
> Nick Dokos <address@hidden> writes:
>> "Loris Bennett" <address@hidden> writes:
>>
>>> Can someone tell me where I can modify the widths of the columns in a
>>> block agenda?  Specifically I would like to increase the width of the
>>> first column, which currently contains the category or file name of the
>>> task.
>>
>> C-h v org-agenda-prefix-format RET
>
> Ah, thanks, Nick.
>
> However, from the documentation, it doesn't look like it is possible to
> have the categories starting in the same column if some have a category
> icon and some don't, i.e. there is no way of inserting spaces to
> compensate when the category has no icon.  So with
>
>   %i %-12:c%?-12t% s
>
> I get
>
>    calendar:   11:00-12:30 Meeting
>   X task:       14:00 Fix agenda
>
> where X is my icon.
>
> Is my interpretation correct?

No, IIRC, you should have a fallback case:

--8<---------------cut here---------------start------------->8---
     (setq org-agenda-category-icon-alist
           `(("work" ,(concat icon-dir "my_briefcase.png")
              nil nil :ascent center)
             ("House" ,(concat icon-dir "toolbar_home.png")
              nil nil :ascent center)
             ("" '(space . (:height (16) :width (16))))))
--8<---------------cut here---------------end--------------->8---

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]