* agenda prefix - fixed/max width
@ 2009-10-05 14:27 Eraldo Helal
2009-10-06 10:05 ` Carsten Dominik
0 siblings, 1 reply; 4+ messages in thread
From: Eraldo Helal @ 2009-10-05 14:27 UTC (permalink / raw)
To: Org-Mode
I have set org-agenda-prefix-format to: (org-agenda-prefix-format " %-8:c ")
making the agenda look like so:
home: [ ] brainstorm redesign home
evening school: [ ] chose DE spec.
evening school: [ ] ask Lea re: spec topics
evening school: [ ] brainstorm Learners Group
eraldo: [ ] brainstorm 4 perspectives
If I change it to " %8:c " I get that:
home: [ ] brainstorm redesign home
evening school: [ ] chose DE spec.
evening school: [ ] ask Lea re: spec topics
evening school: [ ] brainstorm Learners Group
eraldo: [ ] brainstorm 4 perspectives
but what I want is this: ;; limiting prefix to 7 characters
home: [ ] brainstorm redesign home
evening: [ ] chose DE spec.
evening: [ ] ask Lea re: spec topics
evening: [ ] brainstorm Learners Group
eraldo: [ ] brainstorm 4 perspectives
In other words: having a fixed prefix length resulting in showing only
the set amount of characters.
Why? Because it lines up the check boxes "[ ]" which is handy and
looks nice for printing.
I have some long category names / file names ... making the prefix
verrry long no matter what setting I use at the moment. :(
Any ideas how to fix that?
Would be awesome if someone could help me get there. =]
Greetings from Austria,
Eraldo
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: agenda prefix - fixed/max width
2009-10-05 14:27 agenda prefix - fixed/max width Eraldo Helal
@ 2009-10-06 10:05 ` Carsten Dominik
2009-10-06 13:35 ` Eraldo Helal
0 siblings, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2009-10-06 10:05 UTC (permalink / raw)
To: Eraldo Helal; +Cc: Org-Mode
Hi Eraldo
Why do you define categories longer than 7 characters if you don'e
want to display them?
#+CATEGORY: evening
or a similar property at the right place ill get you there.
- Carsten
P.S.
After the next pull, you can also do this:
(setq org-agenda-prefix-format " %-8.8:c ")
This should haveworked before, but did not, due to an error I cannot
figure out. The latest git contains a worg-around.
On Oct 5, 2009, at 4:27 PM, Eraldo Helal wrote:
> I have set org-agenda-prefix-format to: (org-agenda-prefix-format "
> %-8:c ")
> making the agenda look like so:
>
> home: [ ] brainstorm redesign home
> evening school: [ ] chose DE spec.
> evening school: [ ] ask Lea re: spec topics
> evening school: [ ] brainstorm Learners Group
> eraldo: [ ] brainstorm 4 perspectives
>
> If I change it to " %8:c " I get that:
>
> home: [ ] brainstorm redesign home
> evening school: [ ] chose DE spec.
> evening school: [ ] ask Lea re: spec topics
> evening school: [ ] brainstorm Learners Group
> eraldo: [ ] brainstorm 4 perspectives
>
> but what I want is this: ;; limiting prefix to 7 characters
>
> home: [ ] brainstorm redesign home
> evening: [ ] chose DE spec.
> evening: [ ] ask Lea re: spec topics
> evening: [ ] brainstorm Learners Group
> eraldo: [ ] brainstorm 4 perspectives
>
> In other words: having a fixed prefix length resulting in showing only
> the set amount of characters.
> Why? Because it lines up the check boxes "[ ]" which is handy and
> looks nice for printing.
> I have some long category names / file names ... making the prefix
> verrry long no matter what setting I use at the moment. :(
>
> Any ideas how to fix that?
> Would be awesome if someone could help me get there. =]
>
> Greetings from Austria,
> Eraldo
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-10-07 16:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-05 14:27 agenda prefix - fixed/max width Eraldo Helal
2009-10-06 10:05 ` Carsten Dominik
2009-10-06 13:35 ` Eraldo Helal
2009-10-07 16:44 ` Eraldo Helal
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).