From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QPVRMkCDY18aNQAA0tVLHw (envelope-from ) for ; Thu, 17 Sep 2020 15:39:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4LhMLkCDY19TaQAA1q6Kng (envelope-from ) for ; Thu, 17 Sep 2020 15:39:44 +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 612C69400D3 for ; Thu, 17 Sep 2020 15:39:44 +0000 (UTC) Received: from localhost ([::1]:45598 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIw0d-0003Qk-9x for larch@yhetil.org; Thu, 17 Sep 2020 11:39:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIvxy-00017d-9x for emacs-orgmode@gnu.org; Thu, 17 Sep 2020 11:36:58 -0400 Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]:41951) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kIvxs-000837-Ge for emacs-orgmode@gnu.org; Thu, 17 Sep 2020 11:36:57 -0400 Received: by mail-qv1-xf2b.google.com with SMTP id ef16so1174504qvb.8 for ; Thu, 17 Sep 2020 08:36:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=6XkrToBUGReLJYYs+sRG4vDOYl6NuW6rD3spUEltAJg=; b=GI+7gEEjO0wAC7XpmibVyT05yR96cR09rBLXCMYH+wS/QlNFkfaOE9w851RmD8Tmaq FIywJGGy0lfdJYRmVE1Fv/1ZzDXUntUC6Kvx4m2ofR1NZ5fNnqjsbwt+Ra6WWiGAVwV1 eb7N4BFLj2I9roJ+pJzrUKT8XB+DNZagbroFBXh3+zOWhdGYQB9JQW+HzISaC5p2Bp+6 dUkks6Bul/wkzFc1XcPncpXbvBqYz0oOpy1nZawDF67cQDJ1O0gGCcSG+piQuo9J4P+4 dLIeiI5BVDRxQdqdPiZy1oORfvdux2zHlszKZq+4CTjshtGdSGcyT7mk4OP51iLhugnH vSfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=6XkrToBUGReLJYYs+sRG4vDOYl6NuW6rD3spUEltAJg=; b=OqsDEAZOGfCZZgs7IrmHCmgor3ypTIhaKBhgWgjQZYzxOJLf7p0W9bgE8ULlKBwP7f dSr43iN3rUXSkxS903LMZ4OkMhKhqDmw8hd+G76GV09fBLVkXNROCmxtEFafK5dC1+4b qFNE+4SPjNfd0CdXvg4bIVbY9JZHv9isqRKC+TpHD5FDtODU7kM5Z21qXXIHyY9ojLQw rdrQKJFrwH4FUezYPXQBKOAifA7XDvAlZogycuu/J49YIK7HizMhAPAgziv6hgR97WRd fnVgwOxoNiHK7TzoYOJBY33kBdA00ZTw7xmLVH9785/Uva2o/7WaFDJl6AnBpYdI0HTs lg/w== X-Gm-Message-State: AOAM532vVNRW3f5aFgpsDr0cpTR737CEzFF4kDMLIAC8BNiOqL6ueF4U oNwYExz/QsHLJjXx6SjTyeE= X-Google-Smtp-Source: ABdhPJyyk82Rfc3bikSlI+lpZFnjRU4f4ypdA9i2UnQ7gx9IS83b4RA33NsyBIFaaWO1qE9BNWfREw== X-Received: by 2002:a0c:b343:: with SMTP id a3mr12590990qvf.41.1600357011124; Thu, 17 Sep 2020 08:36:51 -0700 (PDT) Received: from jtop (c-76-20-248-106.hsd1.ga.comcast.net. [76.20.248.106]) by smtp.gmail.com with ESMTPSA id g12sm78019qke.90.2020.09.17.08.36.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Sep 2020 08:36:50 -0700 (PDT) References: <87wo1483r5.fsf@protesilaos.com> <87v9gnl4on.fsf@gnu.org> <87mu1znrf1.fsf@ucl.ac.uk> <87eenbj9p2.fsf@gnu.org> <878sdblyz3.fsf@gmail.com> <20200916162143.xyg7j5rg6xalmv2j@ionian.linksys.moosehall> <87mu1pa6jd.fsf@gmail.com> <20200916225553.hrtxitzt46dzln7i@ionian.linksys.moosehall> <877dst5fdf.fsf@gmail.com> User-agent: mu4e 1.2.0; emacs 28.0.50 From: Jeff Filipovits To: Adam Spiers Subject: Re: variable-pitch-mode misaligns org-mode heading tags In-reply-to: <877dst5fdf.fsf@gmail.com> Date: Thu, 17 Sep 2020 11:36:49 -0400 Message-ID: <87pn6ko1ny.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::f2b; envelope-from=jrfilipovits@gmail.com; helo=mail-qv1-xf2b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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 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: Protesilaos Stavrou , emacs-orgmode@gnu.org, Eric S Fraga Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=GI+7gEEj; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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.09 X-TUID: XUzczQXYKKHz > Adam Spiers writes: > > Hrm, no this isn't good enough. For graphical windows we still=20 > need > to set the display text properties to align all tags when the=20 > buffer > initially loads. AFAICS there's currently no code to trigger=20 > this, > so it would need to be added, and for large files this might=20 > actually > cause problems with file loading time unless it was done in the > background (a bit like fontification can be done). A few issues I found: 1. If the headline text exceeds the org-tags-column, the tags are=20 moved so there is no space between the headline and the tag. This=20 is only aesthetic, since in reality there is still a space=20 there. Not sure this needs to be fixed.=20 2. If you try to insert a space at the end of the headline, it=20 will be gobbled automatically because org-self-insert-command=20 calls org=E2=80=93align-tags-here. With this method of aligning tags I=20 don=E2=80=99t think org-self-insert-command needs to make this call,=20 because the display text property updates automatically on=20 redisplay. So the solution may be take that call out, but I don=E2=80=99t=20 know if that will break anything. Otherwise, maybe the code=20 ensuring there is one space is not really necessary.=20 3. Org-indent-mode creates a problem. Not sure why yet, or whether=20 it=E2=80=99s org-indent-mode or some setting I have associated with it,=20 but tags of child nodes don=E2=80=99t align properly.=20 Jeff Filipovits Spears & Filipovits, LLC 1126 Ponce de Leon Avenue Atlanta, GA 30306 678.237.9302 (direct) jeff@civil-rights.law All emails confidential to the fullest extent of the law.