emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Maurer <maurer.michael@gmail.com>
To: Samuel Wales <samologist@gmail.com>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: org-agenda-prefix-format and tab stops
Date: Thu, 30 Jun 2022 10:17:06 +0200	[thread overview]
Message-ID: <CAH-0+bB1cjj-jt02OhHHOLqCAbSJEa_w3X9dYxjFAYRQnvAzGA@mail.gmail.com> (raw)
In-Reply-To: <CAJcAo8tu5yO6sP9ayn1j_Oz2=4yL+3Mzw-+YJ_Tfannq61V1RQ@mail.gmail.com>

Here's how it looks vs. how I want it to look https://imgur.com/a/5YfTeZh

I tried messing around with tabstops in the headlines, but realized
quickly that the level of headline (I think) has an influence over the
number of tabstops in org-agenda. So basically you have to vary the
amount of tabstops per headline, to get a uniform layout in the
org-agenda view. So a more elegant solution would be to specify a
layout for org-agenda-view, that determines the position of todo-items
and the text immediately following them.


On Thu, 30 Jun 2022 at 04:33, Samuel Wales <samologist@gmail.com> wrote:
>
> i am not understanding what you are trying to do.  do you have headers
> before other columns?  are you perhaps looking for
> org-agenda-todo-keyword-format ?  or is it the prefix format that is
> varying for you?
>
>
> On 6/29/22, Michael Maurer <maurer.michael@gmail.com> wrote:
> > 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.
> >
> >
>
>
> --
> The Kafka Pandemic
>
> A blog about science, health, human rights, and misopathy:
> https://thekafkapandemic.blogspot.com


  reply	other threads:[~2022-06-30  8:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-29  8:18 org-agenda-prefix-format and tab stops Michael Maurer
2022-06-30  2:33 ` Samuel Wales
2022-06-30  8:17   ` Michael Maurer [this message]
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+bB1cjj-jt02OhHHOLqCAbSJEa_w3X9dYxjFAYRQnvAzGA@mail.gmail.com \
    --to=maurer.michael@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \
    /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).