[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-agenda-prefix-format and tab stops
From: |
Michael Maurer |
Subject: |
Re: org-agenda-prefix-format and tab stops |
Date: |
Thu, 30 Jun 2022 10:17:06 +0200 |
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