* Columns widths of block agenda?
@ 2014-06-17 7:54 Loris Bennett
2014-06-17 13:42 ` Nick Dokos
0 siblings, 1 reply; 4+ messages in thread
From: Loris Bennett @ 2014-06-17 7:54 UTC (permalink / raw)
To: emacs-orgmode
Hi,
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.
Cheers,
Loris
--
This signature is currently under construction.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Columns widths of block agenda?
2014-06-17 7:54 Columns widths of block agenda? Loris Bennett
@ 2014-06-17 13:42 ` Nick Dokos
2014-06-17 15:19 ` Loris Bennett
0 siblings, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2014-06-17 13:42 UTC (permalink / raw)
To: emacs-orgmode
"Loris Bennett" <loris.bennett@fu-berlin.de> 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
--
Nick
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Columns widths of block agenda?
2014-06-17 13:42 ` Nick Dokos
@ 2014-06-17 15:19 ` Loris Bennett
2014-06-17 18:50 ` Sebastien Vauban
0 siblings, 1 reply; 4+ messages in thread
From: Loris Bennett @ 2014-06-17 15:19 UTC (permalink / raw)
To: emacs-orgmode
Nick Dokos <ndokos@gmail.com> writes:
> "Loris Bennett" <loris.bennett@fu-berlin.de> 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?
Loris
--
This signature is currently under construction.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Columns widths of block agenda?
2014-06-17 15:19 ` Loris Bennett
@ 2014-06-17 18:50 ` Sebastien Vauban
0 siblings, 0 replies; 4+ messages in thread
From: Sebastien Vauban @ 2014-06-17 18:50 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
"Loris Bennett" wrote:
> Nick Dokos <ndokos-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:
>> "Loris Bennett" <loris.bennett-j/7cz5qe3tpn68oJJulU0Q@public.gmane.org> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-06-17 18:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-17 7:54 Columns widths of block agenda? Loris Bennett
2014-06-17 13:42 ` Nick Dokos
2014-06-17 15:19 ` Loris Bennett
2014-06-17 18:50 ` Sebastien Vauban
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).