From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id AG8ML0JcvWLI9wAAbAwnHQ (envelope-from ) for ; Thu, 30 Jun 2022 10:18:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id iAk7LkJcvWK+KQEAG6o9tA (envelope-from ) for ; Thu, 30 Jun 2022 10:18:10 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 58E3410D5 for ; Thu, 30 Jun 2022 10:18:10 +0200 (CEST) Received: from localhost ([::1]:41664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6pNJ-0007HA-E3 for larch@yhetil.org; Thu, 30 Jun 2022 04:18:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6pMS-0007G0-S8 for emacs-orgmode@gnu.org; Thu, 30 Jun 2022 04:17:16 -0400 Received: from mail-io1-xd2a.google.com ([2607:f8b0:4864:20::d2a]:34307) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6pMR-0002PC-6U for emacs-orgmode@gnu.org; Thu, 30 Jun 2022 04:17:16 -0400 Received: by mail-io1-xd2a.google.com with SMTP id p128so18425588iof.1 for ; Thu, 30 Jun 2022 01:17:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kUnkSDy9A+d9UUdBCKoU4wbX11GZWnCvBdUSySYiRh4=; b=czDNwRllOj8X8G30IoBAaI8ZH2UfvzWG9t1DfS3mknnMw0uDVnORp2CtDnwNqnRgSE pI8ITe2u5Cl88R/OEuoSGD6O0O4CGHtwKJjlv7TcWSidgaZpFXD6od+LPFR8fFjBweKm v+k7DLr0j4zYVSZ+q5mDcU9Tnv6z5SftvrSEJbzpU/V+ZqrJ8zQbhDwJ0p/5wFf1W5NA jfcwTofocVAuGJcQ0PImE43/lYvAsVUg8svCxvyCMSh0sEWjW7wbGBw4cN9M5cOqwoqe Nu1lBlOsI8NWJPq7ipWjp+PgdrVV5RvELW5+ir0aho5bW+oWbo4j4vov+UEOkmhTYSPR VU8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kUnkSDy9A+d9UUdBCKoU4wbX11GZWnCvBdUSySYiRh4=; b=ajUsGya+CnWqr9xWJzexT9tQJ0KVqFmkbuEcXlpJRKaXtnJUsFgsMwX9vLA8V/K0Lg bQHe1LwKSYIrfKOvRceUy+K2E3BQrb8brALbw+ZkyRCXulGqPla9u816yxO3bLPpZM57 hQdgPPcklOHOmmZlm2lae6+DLKDOSh+CYnsFqrN3mKJWhbd+N2kgqWYRssPwIRT2Cykc cCqMfFzIbEbvupWx9cPKWJavaIUrA5xHKHuSwPK/XlOZfWBP7FW2QZBUG8e5EmDMVsFD snA4/6AVJlNZPdTdJyk2nDg0Bpwty9uxRum3SPd+kBRirT2m4Turd5fGLUpP2BNn3BeA jMeA== X-Gm-Message-State: AJIora9qyqGDcGh+SLunMDbQri+BGdTuRKC4xknpyWk9n3t/vWJl4GVH GXmgnzfDCnV9v2ij0X7KgN7vigE+izsie9E/os9f5Zb6I7I= X-Google-Smtp-Source: AGRyM1squOrC1SNULYp0tmRY3Fp6QAB5jtaIUNQ3kj+0wah5PFqpdDM/XerGwvPwjstdvUmhHwzSdDdnnT/HDM5Q7Vo= X-Received: by 2002:a05:6638:538:b0:339:eb8e:5154 with SMTP id j24-20020a056638053800b00339eb8e5154mr4622606jar.183.1656577034055; Thu, 30 Jun 2022 01:17:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Michael Maurer Date: Thu, 30 Jun 2022 10:17:06 +0200 Message-ID: Subject: Re: org-agenda-prefix-format and tab stops To: Samuel Wales Cc: Org Mode List Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::d2a; envelope-from=maurer.michael@gmail.com; helo=mail-io1-xd2a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656577090; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kUnkSDy9A+d9UUdBCKoU4wbX11GZWnCvBdUSySYiRh4=; b=lsjfYwNZ8R8vmlhhilDsSFTfvPsCsFhfDUgAaKtbVy46q6maqUYPRFrHfGZA42U7NYQmuY cmRE/qQ6PR8+gIngFh5SZH3Tq8c/GKRdBq09LuFJ1YNvS05fz1PXsdzYpjy0oWbJtKAFSz EiVquyGCbC4MRYqm25pEETlLoS1oy48UGZpDav9nU9iEu/9aklFNzlNq6xa8i2ZcbpS/3P opAmpZ6DviX+wO80joqzRU+ftQRNIw4NX617LNHjJWqDCQBSEjlPoK1mXnC9O3pPe4LTUH Nx3ar479HaPQRETjNeogLjJq7S6oWCJ8Rwuyp6jcpZGGbq5UwZew0kUTQi2q+g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656577090; a=rsa-sha256; cv=none; b=oYJRb+5jo2rgm1PfTjzuTaPmmvdc4i4itOjuWiS5iU9zWKxiQVw7INh85TaXzwm1D0xd0z TLVot7/pz48HlBQvTMKevCrDE7qHApXVrFJIkeZOe0WBiSuUaI8c5s+1ApCmRLqHUXZzVC sPjEHvZ/muqbLIRpDq3EVB1E9EboDBsq8jpez+XbdBHh6tY5r1s9jRV5hNaqZcJGvuPjdT m4A7kU+UHat4zlfJEl0j5fWBbQxnfkGh4yfWLAJEdO7/6tbdk0kJczb7kSLRyCA8bCgsU2 HGoJpydayGG1DxaieHLoV4arXg11aJ8X2MBYHeKp6sD3kCxO6Quzo96dAZ7h4g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=czDNwRll; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.95 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=czDNwRll; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 58E3410D5 X-Spam-Score: -3.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: w3VD5GEMIzX6 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 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 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