emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eraldo Helal <eraldo@eraldo.at>
To: Org-Mode <emacs-orgmode@gnu.org>
Subject: agenda prefix - fixed/max width
Date: Mon, 5 Oct 2009 16:27:29 +0200	[thread overview]
Message-ID: <938fae2d0910050727p1fea635fg5d0abfd25c95d991@mail.gmail.com> (raw)

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

             reply	other threads:[~2009-10-05 14:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-05 14:27 Eraldo Helal [this message]
2009-10-06 10:05 ` agenda prefix - fixed/max width Carsten Dominik
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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=938fae2d0910050727p1fea635fg5d0abfd25c95d991@mail.gmail.com \
    --to=eraldo@eraldo.at \
    --cc=emacs-orgmode@gnu.org \
    /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 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).