From: Carsten Dominik <carsten.dominik@gmail.com>
To: Eraldo Helal <eraldo@eraldo.at>
Cc: Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: agenda prefix - fixed/max width
Date: Tue, 6 Oct 2009 12:05:16 +0200 [thread overview]
Message-ID: <028295ED-8DBC-4281-A43D-5DD736010045@gmail.com> (raw)
In-Reply-To: <938fae2d0910050727p1fea635fg5d0abfd25c95d991@mail.gmail.com>
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
next prev parent reply other threads:[~2009-10-06 10:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-05 14:27 agenda prefix - fixed/max width Eraldo Helal
2009-10-06 10:05 ` Carsten Dominik [this message]
2009-10-06 13:35 ` Eraldo Helal
2009-10-07 16:44 ` Eraldo Helal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=028295ED-8DBC-4281-A43D-5DD736010045@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=eraldo@eraldo.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.