From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iJXuL8b2ZGLXGgEAbAwnHQ (envelope-from ) for ; Sun, 24 Apr 2022 09:05:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mHT6L8b2ZGJtHQEA9RJhRA (envelope-from ) for ; Sun, 24 Apr 2022 09:05:42 +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 75AFA99F4 for ; Sun, 24 Apr 2022 09:05:42 +0200 (CEST) Received: from localhost ([::1]:60108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niWJQ-0005pn-VA for larch@yhetil.org; Sun, 24 Apr 2022 03:05:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niWHl-0005pb-Gm for emacs-orgmode@gnu.org; Sun, 24 Apr 2022 03:03:58 -0400 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:39703) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1niWHi-0008F0-Na for emacs-orgmode@gnu.org; Sun, 24 Apr 2022 03:03:56 -0400 Received: by mail-pl1-x634.google.com with SMTP id c12so20194084plr.6 for ; Sun, 24 Apr 2022 00:03:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=HeJsAqXeECtA7MoSOwMsaBA9T1emwrM6vLBKfmUgKgU=; b=hPffrTO8Dk070sHTasD3DnO9wNPisZQYidZi8vPnfDpWE4CS9IJWK42kYeU//EIeNA aL36zLyX7Hzr3kjp4hASrxCLAJbVFVQd4xSfSRfvv1ZQtZ0cOoOrpHsIGOyv8RE6qZYQ OCbakOH6e0g8E2r2kjulqIjDLfyr1q/pfXvRPizEylQ61MXV/wDrzJvBl2rGaEoHDbhp 104253YcFGb1It0KOK5znj/6CIQc76lAb8LTkmzAfsWoAX1WYVxCSdvQOS7WqsVFpJbY yMBL+dO976Qynrd9LVXoTRNgYR2TYydXFLGG5mNeWhEcd2fi1f3oVBKMG8Roqq/VoREY bBDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=HeJsAqXeECtA7MoSOwMsaBA9T1emwrM6vLBKfmUgKgU=; b=p8EuDUtaWQazbdlFGZk01j5bq1+Lk3AxBzPu6QmVySwaF9f63cttpBMl62jtRskvSX cxGR7aG158P6d7Q3UfX3PC5vUrqjpHDSVyRKvkXAXo+fEuM+xLzjZld6KoVDs/W/IR74 kVclYJ5VjAqR3PRJ6o0X7yWXOV0leV54/pz3Ro/aSWm0ef8LWCeVE0Y9ZQENeH9AIJJl DX+/1PHnaYY030ALBSfhnvFkh7lwBmFDTALO7LV9YprgcVq9vWfgn+/ZOOth5wGZjsVf 2R35BquL5ehTij1trO+dPtKvUGFYVVNFBb57h+zNldBHReriiuiFOZgPXz4FQzm/8TkT 88Vg== X-Gm-Message-State: AOAM533FD784oQo415e+PuyFDjcbD5Nr5ClLdFVcWfH1nVZkJ14U1iQo gTMp7JkD8urr+jSLuN8h7og= X-Google-Smtp-Source: ABdhPJxoLf2k2PXXgY+xI6WOmxu9n5STPHBXGNdFYJTo546waB+66ayK/Ns57pzajNGGdbwZZA+vfA== X-Received: by 2002:a17:902:cf0b:b0:151:9d28:f46f with SMTP id i11-20020a170902cf0b00b001519d28f46fmr12147561plg.53.1650783832166; Sun, 24 Apr 2022 00:03:52 -0700 (PDT) Received: from localhost ([211.22.184.184]) by smtp.gmail.com with ESMTPSA id x17-20020a17090a531100b001cd4989feccsm10952750pjh.24.2022.04.24.00.03.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Apr 2022 00:03:51 -0700 (PDT) From: Ihor Radchenko To: "N. Jackson" Subject: Re: [PATCH v2] org-agenda: Use `window-max-chars-per-line' to calculate max text width In-Reply-To: <8735i5w27j.fsf@moondust.localdomain> References: <874k2qwn92.fsf@moondust.localdomain> <87ee1ubje8.fsf@localhost> <87o80yqkhi.fsf@moondust.localdomain> <874k2ppxth.fsf@localhost> <87czhdqi9p.fsf_-_@moondust.localdomain> <87o80wz9le.fsf@localhost> <87ee1sjcf9.fsf@moondust.localdomain> <87wnfj3t4x.fsf@localhost> <87a6cekitg.fsf@moondust.localdomain> <875yn2vphr.fsf@moondust.localdomain> <875yn1u0at.fsf@localhost> <87czh9ecfl.fsf@moondust.localdomain> <87y1zxsc1z.fsf@localhost> <8735i5w27j.fsf@moondust.localdomain> Date: Sun, 24 Apr 2022 15:04:42 +0800 Message-ID: <877d7fner9.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=yantar92@gmail.com; helo=mail-pl1-x634.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, 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: , Cc: emacs-orgmode@gnu.org 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=1650783942; 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=HeJsAqXeECtA7MoSOwMsaBA9T1emwrM6vLBKfmUgKgU=; b=O2dZfgel6GaqhQUbMr8VeaEqDUI3qn7TN543TyDtYsGugbrx6Cu6gY3CxxZprA2edzDm2g 3B61nUe8KIfTMpE2WKtE408szNWf/dnCEO6kpaB0Q1NkG8S1C99Ujb0qXAHfK3Ltn8u2jV igq7G93rkXbOuPkIQePoF7ziDRhpR6RrBhyVC6DUDYxOLKA+loUJi5/nCC7KN9V4CM+Xqh 2jEABUnpVUw7GxGYgeV4yuvv6x0iMMUJVtPis/fHHZ/8M97lAkEY3OIAz1oAlFEIARkW8R 3BPWT7iNLKlBAwxASNOB0e6araK6ltl+FuUUvjRDAvKzF3nBEItC9YGdUiiR+A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650783942; a=rsa-sha256; cv=none; b=LtEvv5/49BPwbGnpwc1iNn9l8nHeMcvpnNeK0OxkiBAF+6GRxiznOsPTDU0BCuDmWM6VPL yU5ttIxfLKlxPbqu5ujNO1GSrPK2SLZMhRe7ZzYjyY3e38mRyFGaMqKYDcoH7HfhGLF0fy BiLvpBZfILkQYU2ZxvMMQlK8fOgUPGOXImc4rtw2OBpuhPr2BdRUJ7Mn6rdhRwNZi8xvWv t9kHUQ2bV0VUdtIIzkEj53ssxQJSmFLAG8zkVpK0FQ3qjkxgrcGGP9E/c7x2gPQzWDZAao PSu3LLRy3eEopvCwNztISck6otcQBtepUEQz7hyvHzSexeDlNVZRE/UHqwAY9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=hPffrTO8; 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.52 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=hPffrTO8; 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: 75AFA99F4 X-Spam-Score: -3.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: BWQR4q0bNnIl "N. Jackson" writes: > I have tested with your v2 patch applied to Org 9.5.3: > > 1. It fixes the two bugs I reported in this thread (with one or both fringes > off, Agenda wraps `auto' (right) aligned tags unnecessarily and wraps the block > separator). > > 2. It also makes the Agenda display properly after the font size has been > altered with C-x +/-. This didn't work before, even with default fringes. [One > has to hit `g' to refresh the Agenda after changing the font size.] Thanks. Applied. I have installed the patch onto main as 81a2fe4f0. > 3. As is to be expected, it doesn't help with an Agenda displayed with a > proportional font -- but it doesn't seem to make things any worse. I am not sure if there is much interest in this. I have proposed pixel-precise alignment in agenda in the past. There was not much interest. Best, Ihor