From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#28248: 26.0.50; display-line-numbers does not affect window-width / window-text-width Date: Tue, 17 Oct 2017 11:15:12 +0300 Message-ID: References: <834lst5bep.fsf@gnu.org> <83d15mfqoj.fsf@gnu.org> <1907C04E-8C44-424D-B364-6ECD756C0B7C@sanityinc.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1508228179 27766 195.159.176.226 (17 Oct 2017 08:16:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Oct 2017 08:16:19 +0000 (UTC) User-Agent: K-9 Mail for Android Cc: 28248@debbugs.gnu.org, Dmitry Gutov To: Steve Purcell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 17 10:16:06 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4N2j-0005ld-Td for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Oct 2017 10:16:06 +0200 Original-Received: from localhost ([::1]:37142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4N2r-0008L8-C2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Oct 2017 04:16:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4N2l-0008Km-4H for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2017 04:16:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4N2g-0007TG-NN for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2017 04:16:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36110) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4N2g-0007TC-Jh for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2017 04:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e4N2f-0000WZ-Ly for bug-gnu-emacs@gnu.org; Tue, 17 Oct 2017 04:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Oct 2017 08:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28248 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28248-submit@debbugs.gnu.org id=B28248.15082281391983 (code B ref 28248); Tue, 17 Oct 2017 08:16:01 +0000 Original-Received: (at 28248) by debbugs.gnu.org; 17 Oct 2017 08:15:39 +0000 Original-Received: from localhost ([127.0.0.1]:44791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4N2J-0000Vu-6f for submit@debbugs.gnu.org; Tue, 17 Oct 2017 04:15:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4N2G-0000Vh-Tg for 28248@debbugs.gnu.org; Tue, 17 Oct 2017 04:15:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4N28-000739-Jc for 28248@debbugs.gnu.org; Tue, 17 Oct 2017 04:15:31 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4N1v-0006tn-TE; Tue, 17 Oct 2017 04:15:15 -0400 Original-Received: from [176.13.228.183] (port=22830 helo=[10.130.128.122]) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e4N1v-0006Mf-9o; Tue, 17 Oct 2017 04:15:15 -0400 In-Reply-To: <1907C04E-8C44-424D-B364-6ECD756C0B7C@sanityinc.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:138590 Archived-At: On October 17, 2017 10:31:56 AM GMT+03:00, Steve Purcell wrote: > On 17 Oct 2017, at 20:01, Eli Zaretskii wrote: > >=20 > >> Any idea where that one-column > >> difference might be coming from? > >>=20 > >> > https://github=2Ecom/purcell/page-break-lines/blob/610dbdc9d39a37912e2b8= bfbd3e3d15c7e5d622f/page-break-lines=2Eel#L128-L134 > >=20 > > The space reserved for the continuation glyph? Note that this can > also happen > > on GUI frames, if the user disables the fringes=2E > >=20 > > Wouldn't window-text-width suit your needs better? >=20 >=20 > Perhaps, but it returns exactly the same value as window-width in both > frame types=2E >=20 > Terminal: >=20 > window width: 118 > window-width (pix): 118 > window-text-width: 118 > window-text-width (pix): 118 > line-number-display-width: 3 > line-number-display-width (pix): 5 > margins: (nil) > fringes: (0 0 nil) > frame-char-width: 1 >=20 > Graphical window (MacOS): >=20 > window width: 203 > window-width (pix): 1421 > window-text-width: 203 > window-text-width (pix): 1421 > line-number-display-width: 3 > line-number-display-width (pix): 35 > margins: (nil) > fringes: (8 8 nil) > frame-char-width: 7 Sorry, you are right (too many different functions, all alike)=2E I meant window-max-chars-per-line=2E