From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SIKVOdDyeV8UIgAA0tVLHw (envelope-from ) for ; Sun, 04 Oct 2020 16:05:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CGq4NNDyeV/JTAAAbx9fmQ (envelope-from ) for ; Sun, 04 Oct 2020 16:05:36 +0000 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 76C679400D3 for ; Sun, 4 Oct 2020 16:05:35 +0000 (UTC) Received: from localhost ([::1]:51746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kP6Vv-0002y6-EP for larch@yhetil.org; Sun, 04 Oct 2020 12:05:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP6Ug-0002wt-Ej for emacs-orgmode@gnu.org; Sun, 04 Oct 2020 12:04:14 -0400 Received: from cadilhac.name ([163.172.56.42]:53954) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kP6Ud-0002AP-Ny for emacs-orgmode@gnu.org; Sun, 04 Oct 2020 12:04:14 -0400 Received: from cadilhac.name (localhost [127.0.0.1]) by cadilhac.name (OpenSMTPD) with ESMTP id 7a94fb49 for ; Sun, 4 Oct 2020 16:04:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cadilhac.name; h= mime-version:references:in-reply-to:from:date:message-id:subject :to:cc:content-type; s=default; bh=vWKvoH5/Ou9wQAC3mUItKI7SqHQ=; b= iwt80Wt1g1VlrTi1s/up9qESy1wUV6FV/STLQxcXMYYNcw4QdXV0mXW3KDJCA2qp W/NKLoPPALvkaXfjNMGAdAeIDM/knXiepAiRa/8K36YpzWdH7L23IwyOB4Niq1gJ DEGxU/hwgTm/ZWXGWt7fDpRSX/4iHG0Oo/GE6Lx6CIykgAjMFOr7Db9wZoIXI4Jk GpTeQLtA5wQAHOc8XCv2FW+3nYef/BfFcBUKx9XsBGB/3Vg+k+vcWBwkhnuzVkqG b/bMlt14TtYty+6nj7NurysQLyEaQHS2vVhaomIB0GFSAPjOMfkjCrGn7+IHffix 0O7TRJF6SOwvryJIfrHKug== DomainKey-Signature: a=rsa-sha1; c=nofws; d=cadilhac.name; h= mime-version:references:in-reply-to:from:date:message-id:subject :to:cc:content-type; q=dns; s=default; b=O40TDOPj7BZYg3BgY9tBNgx M4C1zzde0FbnZQa3dzpSV/NN5mdIIMrk5d6CWBa8I23lVKnhXURSajoQjvOguhxi o6cJAMsW1dNhl4FzzvG5IX/LFTZovUGr4Wcba4kkKejpOoKswnEUND8OY306ko1E M4uCp4eZvn1vmiH+KGfH4dHQZdKm8+jYh0g0L8pII9H/+KJfIam50nNJgmjd+TaM hvnOmY8av8v4k5PEoG9WSLPJ9JYcMeBZbCkJtZL4jRzCtcr6dY/apgDNKS1/b/IK YByiTpdHBPsJSspF2D4LEiZZwFfS2KY5GiSvptl6h2wQJez+YE7lXsCkduLAJdQ= = Received: from mail-vs1-f54.google.com (mail-vs1-f54.google.com [209.85.217.54]) by cadilhac.name (OpenSMTPD) with ESMTPSA id 6aa3dd0d (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Sun, 4 Oct 2020 16:04:06 +0000 (UTC) Received: by mail-vs1-f54.google.com with SMTP id e62so2939046vsc.10 for ; Sun, 04 Oct 2020 09:04:06 -0700 (PDT) X-Gm-Message-State: AOAM531kANCJUilYItk/Ml6X6CUEvyK+K3zGweXX4SJUkSJ/MzE9UfKl dsx1V6sTS7qR43OlpUaBKJOK0H3lkdEQbxbzsq4= X-Google-Smtp-Source: ABdhPJxnAN5sMIvpdxjGu9/d6BdS12oKXgMEExhEYYoO7lWJ1oppS7hS4ETrO73Ap0IdAgTMUesqo8W16ZeFCqDK3Zc= X-Received: by 2002:a67:e290:: with SMTP id g16mr2398684vsf.56.1601827445444; Sun, 04 Oct 2020 09:04:05 -0700 (PDT) MIME-Version: 1.0 References: <87lfgsq6l5.fsf@kyleam.com> In-Reply-To: <87lfgsq6l5.fsf@kyleam.com> From: =?UTF-8?Q?Micha=C3=ABl_Cadilhac?= Date: Sun, 4 Oct 2020 11:03:29 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Proposal: do not align tags in Agenda To: Kyle Meyer Content-Type: multipart/mixed; boundary="000000000000e0efa805b0da8386" Received-SPF: pass client-ip=163.172.56.42; envelope-from=michael@cadilhac.name; helo=cadilhac.name X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/04 12:04:07 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org-Mode mailing list Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=cadilhac.name header.s=default header.b=iwt80Wt1; dmarc=pass (policy=none) header.from=cadilhac.name; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 0.89 X-TUID: k1ZFxvua7Jkx --000000000000e0efa805b0da8386 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello Kyle, Thanks very much for your feedback. As these are changes I made months ago, I forgot the =E2=80=A6 finer details=E2=80=94I basically got my= narrative completely wrong, my apologies. My problem wasn't at all, as you point out, that the tag would erase the en= try. It has to do with habits: The habit graph overwrites anything else. I like having org-agenda-tags-column to a low value (wide screen), but tags are crucial to my workflow, so them being overwritten is problematic. My previous patch is completely overkill for that purpose (it's even misguided since it does stem from a misunderstanding of tags alignment). Here's a simpler patch. It may be a matter of taste, though. Cheers, M. On Tue, Sep 29, 2020 at 10:36 PM Kyle Meyer wrote: > > Micha=C3=ABl Cadilhac writes: > > > Hello all, > > > > I have a wide screen, which makes right edge alignment of tags in the > > agenda inconvenient (they're hard to match with the main entry). > > Setting org-agenda-tags-column to a specific column overwrites part of > > the entry, which is not optimal. I'd simply want the tag to be put > > _after_ the entry. > > Hmm, I don't think it's supposed to overwrite part of the entry. I > haven't been able to trigger that on my end. Here's the setup I tried > with an otherwise vanilla configuration: > > (setq org-agenda-files (list "/tmp/scratch.org")) > (setq org-agenda-tags-column 25) > > where /tmp/scratch.org looks like this > > * TODO foo bar baz = :one: > * TODO b = :two: > > When I run org-todo-list, the longer top entry isn't overwritten: > > Global list of TODO items of type: ALL > Press =E2=80=98N r=E2=80=99 (e.g. =E2=80=980 r=E2=80=99) to search ag= ain: (0)[ALL] (1)TODO (2)DONE > scratch: TODO foo bar baz :one: > scratch: TODO b :two: > > What am I missing? --000000000000e0efa805b0da8386 Content-Type: text/x-patch; charset="US-ASCII"; name="agenda-tags-habit.patch" Content-Disposition: attachment; filename="agenda-tags-habit.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kfvano8i0 ZGlmZiAtLWdpdCBhL2xpc3Avb3JnLWFnZW5kYS5lbCBiL2xpc3Avb3JnLWFnZW5kYS5lbAppbmRl eCBlNGEzMzRkYmQuLmE4MDEyMzg1MyAxMDA2NDQKLS0tIGEvbGlzcC9vcmctYWdlbmRhLmVsCisr KyBiL2xpc3Avb3JnLWFnZW5kYS5lbApAQCAtOTA4MCw2ICs5MDgwLDEwIEBAIGN1cnJlbnQgbGlu ZS4iCiAJKGdvdG8tY2hhciAobWF0Y2gtYmVnaW5uaW5nIDEpKQogCShkZWxldGUtcmVnaW9uIChz YXZlLWV4Y3Vyc2lvbiAoc2tpcC1jaGFycy1iYWNrd2FyZCAiIFx0IikgKHBvaW50KSkKIAkJICAg ICAgIChwb2ludCkpCisJKHdoZW4gKGdldC10ZXh0LXByb3BlcnR5IChwb2ludCkgJ29yZy1oYWJp dC1wKQorCSAgKHNldHEgYyAobWF4IGMgKCsgMSBvcmctaGFiaXQtZ3JhcGgtY29sdW1uCisJCQkg ICAgb3JnLWhhYml0LXByZWNlZGluZy1kYXlzCisJCQkgICAgb3JnLWhhYml0LWZvbGxvd2luZy1k YXlzKSkpKQogCShpbnNlcnQgKG9yZy1hZGQtcHJvcHMKIAkJICAgIChtYWtlLXN0cmluZyAobWF4 IDEgKC0gYyAoY3VycmVudC1jb2x1bW4pKSkgP1xzKQogCQkgICAgKHBsaXN0LXB1dCAoY29weS1z ZXF1ZW5jZSAodGV4dC1wcm9wZXJ0aWVzLWF0IChwb2ludCkpKQo= --000000000000e0efa805b0da8386--