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 ThkHDJcpXmIFAwEAbAwnHQ (envelope-from ) for ; Tue, 19 Apr 2022 05:16:39 +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 wBIJC5cpXmImyQAA9RJhRA (envelope-from ) for ; Tue, 19 Apr 2022 05:16:39 +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 B98DE14E2E for ; Tue, 19 Apr 2022 05:16:38 +0200 (CEST) Received: from localhost ([::1]:37988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngeM1-0000uw-Qg for larch@yhetil.org; Mon, 18 Apr 2022 23:16:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngeL6-0000uK-1h for emacs-orgmode@gnu.org; Mon, 18 Apr 2022 23:15:41 -0400 Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]:34747) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ngeL3-00073p-9o for emacs-orgmode@gnu.org; Mon, 18 Apr 2022 23:15:38 -0400 Received: by mail-pg1-x52b.google.com with SMTP id t4so22477140pgc.1 for ; Mon, 18 Apr 2022 20:15:35 -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=51FZjB2zuIEqSAzw7iDK7SlVVKf6Qsk8CZn8n1NH6BU=; b=dWh8/WjCBH5/nTdbRzVY6Pm9onPk3nfgHntzvkXxF7dKNt2SBlL9J7fLJFtHq4f6QN lWbVP8has1zksrR9UYsbmNbPkEN1+ojqxkriKtcAj4Q5H4BG28mj5NqUom/kzgy87DEP IKhL4CD5DgNBH4oxL5spZP/ii6kTBCIWQVu3HwJiMPGDBCt0Jthwg5XM1UxNiS5Q6QwZ x7Wt6mbD5aR5GfglbRERbKk4zMOjky9acRlYgKRXtkwpR0bZNEWqlqDA+yZqOQwMYP5O ehK275YcBngbj+gcPBa2dDxP+D8WR8qPobDgBIGGMNzzVyt+bOESG3obaqYm7CvYf9Z8 05ag== 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=51FZjB2zuIEqSAzw7iDK7SlVVKf6Qsk8CZn8n1NH6BU=; b=twFZQJTKPRADN2lsLKdVVjqQMDkjHLtX2V8lm1Q9VWLcnXlZgIpftYcNV6bIHtJiWu OA2aOqJxKULn6t3scSnPEB11tMU7bkVgTd2ZdHNDgmtRhtD4vMc2vPL1AgrpgedX6RDb phbSwCdBZUINLA32E44PqyIiSiU4BcV3BB9YBVJHTkUNyeYbprMzi8dgAZwWTZYGZqch ozy1Pca3ErMK7w5Rzba3ofpPZcpzvFJvLsfFsvDdPBFp+DlSo3Ac9QRDkDIjpTfuicec 0aVueYIhs9V1xrhmKzgCse7/8bpygnSwPtLbD0o0WwVisrp6FD/kDWkKtoXSlZSVRxM2 LJoQ== X-Gm-Message-State: AOAM532IeEqgSxtvw4Kp68Do9NzkRfXFMA6rFxrxWr6Y6Ee8ILM2+Puc ot0/peveU6H285qXCQ3ZC7E= X-Google-Smtp-Source: ABdhPJzVN7eY7a12B3Vb6/4FIfzxBKuRpkJOgSumWHkiWwwXN9xl2Wjp+H0Qp/IcqE8giAsUDyXSmQ== X-Received: by 2002:a63:ff03:0:b0:39d:ac7f:d97a with SMTP id k3-20020a63ff03000000b0039dac7fd97amr12675845pgi.362.1650338134806; Mon, 18 Apr 2022 20:15:34 -0700 (PDT) Received: from localhost ([66.212.20.4]) by smtp.gmail.com with ESMTPSA id oo16-20020a17090b1c9000b001b89e05e2b2sm15856140pjb.34.2022.04.18.20.15.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 20:15:34 -0700 (PDT) From: Ihor Radchenko To: "N. Jackson" Subject: Re: [BUG] Off-by-one error in width of Agenda window? [9.5.2 (release_9.5.2-25-gaf6f12 @ /data/installs/snapshots/emacs-28.1/lisp/org/)] In-Reply-To: <87o80yqkhi.fsf@moondust.localdomain> References: <874k2qwn92.fsf@moondust.localdomain> <87ee1ubje8.fsf@localhost> <87o80yqkhi.fsf@moondust.localdomain> Date: Tue, 19 Apr 2022 11:16:26 +0800 Message-ID: <874k2ppxth.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::52b; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52b.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=1650338198; 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=51FZjB2zuIEqSAzw7iDK7SlVVKf6Qsk8CZn8n1NH6BU=; b=H8ndx9mjlhB5dCWmL0eH46Ye3/3IorP5v/qWYGvymjP+iLr0f01FVj+CjIL24uTwSPvPiS O9Te2euDUY2RURp6bUOwUtlnWLM7dgJ3sTYPXzR1njmrtBCrYDqudN3o5Uhe52g/T2Jfh+ LgVaWOQpn7egWrvQQjOQOKJfdUIwRMoGDNcGtmNGni1j4LZ1GkPqiywzoJ1x8yX+6JFa2K Wfty6arSFsuemkddwe/OOqYUtmV9ICCb1qEFASwhsITojhqAZdOUvX8SkVMbl4Kde5DuW1 HMJs9n0S0xzReqJ7a9cMJzTdu5A6/8dTkPdHQ+BtFm4AjFtpkbcI+/+IirvQzg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650338198; a=rsa-sha256; cv=none; b=UnkW7fmjHvly2bmB1uQXv5NDSGVev0g+GEW8iGNOJSujEXGxl1WNp+Tuz0N4GdNcVepCjx OgHoRmR6CxopCeDtk6aoUwum+jGkjIpF9jyWTMskf/ZcsqZjiTf38Ann9q69go1sYJcT1f GYfmAmlK5fEpqSbkOyYC8fr4t/cHz0N6LXqHS2zziHhQ1Qx9xfWpSoWHRjPsWAPRDrxuOr WmB3BVuMYiWx0XljxOWoAD3y4ORJPgN7wJNZKk/l8HklaWqVpXtt2KPAESyqvYLV88ECEj ysnoHIhI+W7/aT6wgvf43W/qf22j2YaNm+C/uKeuM06qhQAlMyDj1JLERMepUw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="dWh8/WjC"; 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.54 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="dWh8/WjC"; 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: B98DE14E2E X-Spam-Score: -3.54 X-Migadu-Scanner: scn1.migadu.com X-TUID: n+4928RJOTdF "N. Jackson" writes: > No, it doesn't happen just with emacs -Q. > > I have bisected my init file and narrowed it down to this setting in > my custom-set-variables: > > '(fringe-mode '(nil . 0) nil (fringe)) > > > Here is a recipe to reproduce the problem from emacs -Q: Thanks! I was able to reproduce the problem. I believe that it is not Org's fault. Org is trusting (window-width) return value to calculate the width of the separator line. However, with you settings, (window-width) apparently returns a wrong value. You can see it yourself by running (insert (make-string (window-width) ?=)) in scratch buffer with and without your fringe settings. Probably, you should report this as Emacs bug. Best, Ihor