Re: [Orgmode] agenda prefix - fixed/max width

2009-10-07 Thread Eraldo Helal
(setq org-agenda-prefix-format  %-8.8:c )

Works great! =]


___
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


Re: [Orgmode] agenda prefix - fixed/max width

2009-10-06 Thread Carsten Dominik

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




___
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


Re: [Orgmode] agenda prefix - fixed/max width

2009-10-06 Thread Eraldo Helal
Awesome!
Thank you Carsten!

| Why do you define categories longer than 7 characters if you don'e
want to display them?
 because sometimes the filename is used and I don't want to truncate it.

Greetings,
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


[Orgmode] agenda prefix - fixed/max width

2009-10-05 Thread Eraldo Helal
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