emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Maurer <maurer.michael@gmail.com>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: org-agenda-prefix-format and tab stops
Date: Wed, 29 Jun 2022 10:18:18 +0200	[thread overview]
Message-ID: <CAH-0+bB1ET0brAhyxjnx=Ci-95RQ6-M42CNhFmDihFw5TEDncg@mail.gmail.com> (raw)

hi,

I've discovered org-agenda-prefix-format, but can't figure out how to
add a tab-stop after every todo-item. So basically that the headlines
are aligned regardless of the character-length of the todo-item. My
current setup looks like this:

(setq org-agenda-prefix-format
  '(
(agenda  . "  %?-12t% s")
    (timeline  . "  % s")
    (todo  . "  %i %-12:c")
    (tags  . " %i %-12:c")
    (search . " %i %-12:c"))

but messing around with the -12 variable doesn't seem to change
anything. Probably missing something.


             reply	other threads:[~2022-06-29  8:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-29  8:18 Michael Maurer [this message]
2022-06-30  2:33 ` org-agenda-prefix-format and tab stops Samuel Wales
2022-06-30  8:17   ` Michael Maurer
2022-06-30 12:53     ` Ihor Radchenko
2022-06-30 13:40       ` Michael Maurer

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='CAH-0+bB1ET0brAhyxjnx=Ci-95RQ6-M42CNhFmDihFw5TEDncg@mail.gmail.com' \
    --to=maurer.michael@gmail.com \
    --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).