From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WGXgJezbX2KieAEAbAwnHQ (envelope-from ) for ; Wed, 20 Apr 2022 12:09:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 4CvYJezbX2JkFQAAauVa8A (envelope-from ) for ; Wed, 20 Apr 2022 12:09:48 +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 1096F23FAA for ; Wed, 20 Apr 2022 12:09:47 +0200 (CEST) Received: from localhost ([::1]:39230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nh7HO-00058X-Q4 for larch@yhetil.org; Wed, 20 Apr 2022 06:09:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nh7F9-0002eI-SV for emacs-orgmode@gnu.org; Wed, 20 Apr 2022 06:07:28 -0400 Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]:38445) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nh7F7-0002bL-M6 for emacs-orgmode@gnu.org; Wed, 20 Apr 2022 06:07:27 -0400 Received: by mail-qt1-x835.google.com with SMTP id d14so595105qtw.5 for ; Wed, 20 Apr 2022 03:07:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=77uxWmTL/QTnsXM0p+G92ERbS28bpmSsEvIoPitv5uY=; b=V+B8vkPoH8TGidxGe7CgP80iguAR/w/MaRZ+dzJfmMUAW/Io1qHKLRDFj1uvMDJHW7 W/zj/JRZNV3l6hT1eTSI2BYqQ/kMwll4H7LD3dBQOK6bkQOQrtBr424ulfFrdImpcOrO 7Fi2F1GrB+Tk2tFxO3sQB1TbDaIx1mzKo6mWiXvo/1VhMfBLAWeLmty8KAPQa0BLcSDl CRqnFyNB0lIKwQhXmjJsre1yqUrYcRczhhbNnFvFubKczrcsTfGGTyNNjoOSWmjeLkKZ 8sWrtYP8dBq8AC96SOxEVOTPTwq0k0K0S37AnH71zN03yso9vFLzyXckBJvXUztaiW/C XwfA== 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:references:date:in-reply-to :message-id:user-agent:mime-version; bh=77uxWmTL/QTnsXM0p+G92ERbS28bpmSsEvIoPitv5uY=; b=S1he05tRSpVm9RqwLan0D7tpR+S8YxlmVUocqd7VSH12edSxHnYeoIWQUohhVTeS8J lhENIBoxGzRNmXvjXE9aWEDRhmSkfDpVz7bfyk6z1AjqDD4kdPwlN7BB35GaJgFh0i4U mLPGJmqlsC/udOGrz1nVqjydIV3cEcU5baslJC4AkDsNOnlWG8UFsDynqs50eOVRZQK+ Z7/2sQDdwfkDrR4Dk6wG9QG3TCFsiH2xXKpidaLVJZLyHTeievR4mcQulPMB/+nnVpI3 t557VxGWHFc0jOrL1qc/qfNLWEhT0xxuCN93IVaObALbFCHk0GoB2+OusJHB9aKat4Ml 59oQ== X-Gm-Message-State: AOAM533XsBcle0ZRFIu2Hvbvodyw+9pyQ5G7WsNwnng3P4PofrEryU6f buftnSsSszPIaf6dlzUzXxMiiUJuZqA= X-Google-Smtp-Source: ABdhPJxWrPxogQqohgbLXmO5jVFrce4Gloua9zojeGDFgh4i3ZQKiJ/ycYabvnP0kso5B23aVJ5rKg== X-Received: by 2002:ac8:5f84:0:b0:2f2:24a:467b with SMTP id j4-20020ac85f84000000b002f2024a467bmr8069539qta.408.1650449244322; Wed, 20 Apr 2022 03:07:24 -0700 (PDT) Received: from moondust.localdomain.nodomain.none (bras-base-toroon474qw-grc-79-174-92-60-96.dsl.bell.ca. [174.92.60.96]) by smtp.gmail.com with ESMTPSA id 67-20020a370b46000000b0069ed3db4b8bsm908139qkl.89.2022.04.20.03.07.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 03:07:23 -0700 (PDT) From: "N. Jackson" To: Ihor Radchenko Subject: Re: [BUG] Off-by-one error in width of Agenda window? References: <874k2qwn92.fsf@moondust.localdomain> <87ee1ubje8.fsf@localhost> <87o80yqkhi.fsf@moondust.localdomain> <874k2ppxth.fsf@localhost> <87czhdqi9p.fsf_-_@moondust.localdomain> <87o80wz9le.fsf@localhost> Date: Wed, 20 Apr 2022 06:07:22 -0400 In-Reply-To: <87o80wz9le.fsf@localhost> (Ihor Radchenko's message of "Wed, 20 Apr 2022 12:01:49 +0800") Message-ID: <87ee1sjcf9.fsf@moondust.localdomain> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::835; envelope-from=nljlistbox2@gmail.com; helo=mail-qt1-x835.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=1650449388; 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=77uxWmTL/QTnsXM0p+G92ERbS28bpmSsEvIoPitv5uY=; b=BxJWFB2P6/IWr2renuUvNRP7kDR9QY1krFERa8ztX43C/27pC2oJCj565kWRudUvv26SN6 O6MeQPkLxRfesAKkxUm4M7RUZtZXso+ZcSQxyRxdRPiArbZN1jySI+pkX3HaO/qgXAuL6z ifhVfVBYi7tvyapDdeE1CEBH/atZDEW0hOW95eXlMVsc5dqqXuVBKTKedn94S5XWJiyRGS vS2MSdXxpNM6O0C0WYdDwFPxFCWjZOJOYWiVn+mwJ6zQSDpha1ap+YhDf2Xq5aMsDHtDYo T3gIUGGE6DcwLdEXOJs4S0HYAi+8dwNtDDgMPJZ3cEDLGXSmqfiIKzQ9ssflQA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650449388; a=rsa-sha256; cv=none; b=b2DDG6ptYWuUbxVl61OwNiWVQGxMr59o1oOtoCqvP9/6WCpgCT2Uzc6cg2GC5jdlo393hb VP3T/qEIoCJf1fuXmC/Se1wN35Rrdu6Yyqihz4eHX+TC6LjxWg/5Dqu/pI0hDpOGAYnzgp QFuHlfT+ZfiHS5iMOMtAx8kJTQhlmROEChXuLqD6xJVueAtzHplkvlvtfdMkFY0Xmdxr6P ybDlkPzzAEsTMzDvByMkfhrPwZ4d7MYH/e7mowm2PQUsmH9ESPwIGkh1cIzLf59HNBg0/O powfIsZBHKMCF9MiyFDZ4zvC6R1weVS/lK+pkb/Ss0RwlihVFBALqoeBqKtp8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=V+B8vkPo; 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.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=V+B8vkPo; 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: 1096F23FAA X-Spam-Score: -3.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7bq6zFVW1q7b At 12:01 +0800 on Wednesday 2022-04-20, Ihor Radchenko wrote: > > "N. Jackson" writes: > >> It seems that Org maybe should be using window-max-chars-per-line >> rather than window-width. >> >> [Unfortunately w-m-c-p-l is not a drop in replacement for >> window-width; it doesn't just fix the continuation glyph column >> "bug", but it also adds additional functionality and has a different >> signature.] > > Could you elaborate why window-max-chars-per-line cannot be used > instead of window-width by Org? It appears to be strictly more > accurate. No, I'm not saying Org shouldn't use window-max-chars-per-line -- rather the opposite in fact. I'm just saying it maybe needs to be thought about carefully first. If it works as advertised it would seem to be the right choice as long as Emacs bug #19395 exists (which looks like it will be forever). My reservations about the function are only that its spec is more ambitious than that of window-width (because it handles faces) and the added complexity might potentially introduce more corner cases where it doesn't work. But perhaps that's just the paranoia of someone who thinks that text editors should restrict themselves to monospaced fonts! Regards, N.