* org-agenda-prefix-format and tab stops
@ 2022-06-29 8:18 Michael Maurer
2022-06-30 2:33 ` Samuel Wales
0 siblings, 1 reply; 5+ messages in thread
From: Michael Maurer @ 2022-06-29 8:18 UTC (permalink / raw)
To: Org Mode List
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: org-agenda-prefix-format and tab stops
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
0 siblings, 1 reply; 5+ messages in thread
From: Samuel Wales @ 2022-06-30 2:33 UTC (permalink / raw)
To: Michael Maurer; +Cc: Org Mode List
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: org-agenda-prefix-format and tab stops
2022-06-30 2:33 ` Samuel Wales
@ 2022-06-30 8:17 ` Michael Maurer
2022-06-30 12:53 ` Ihor Radchenko
0 siblings, 1 reply; 5+ messages in thread
From: Michael Maurer @ 2022-06-30 8:17 UTC (permalink / raw)
To: Samuel Wales; +Cc: Org Mode List
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: org-agenda-prefix-format and tab stops
2022-06-30 8:17 ` Michael Maurer
@ 2022-06-30 12:53 ` Ihor Radchenko
2022-06-30 13:40 ` Michael Maurer
0 siblings, 1 reply; 5+ messages in thread
From: Ihor Radchenko @ 2022-06-30 12:53 UTC (permalink / raw)
To: Michael Maurer; +Cc: Samuel Wales, Org Mode List
Michael Maurer <maurer.michael@gmail.com> writes:
> Here's how it looks vs. how I want it to look https://imgur.com/a/5YfTeZh
See org-agenda-todo-keyword-format.
Best,
Ihor
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: org-agenda-prefix-format and tab stops
2022-06-30 12:53 ` Ihor Radchenko
@ 2022-06-30 13:40 ` Michael Maurer
0 siblings, 0 replies; 5+ messages in thread
From: Michael Maurer @ 2022-06-30 13:40 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: Samuel Wales, Org Mode List
On Thu, 30 Jun 2022 at 14:52, Ihor Radchenko <yantar92@gmail.com> wrote:
>
> Michael Maurer <maurer.michael@gmail.com> writes:
>
> > Here's how it looks vs. how I want it to look https://imgur.com/a/5YfTeZh
>
> See org-agenda-todo-keyword-format.
>
> Best,
> Ihor
Oh wow, that's exactly it. Thanks the both of you.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-06-30 13:42 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2022-06-30 12:53 ` Ihor Radchenko
2022-06-30 13:40 ` Michael Maurer
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.