From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: tsuucat via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#39431: window-text-pixel-size behavior when enabled display-line-number-mode Date: Wed, 5 Feb 2020 17:05:24 +0900 Message-ID: <9B5DDE93-4222-4E08-BDF0-52C19C67AE8A@icloud.com> Reply-To: tsuucat Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="29701"; mail-complaints-to="usenet@ciao.gmane.io" To: 39431@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 05 09:07:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1izFiM-0007dA-Iw for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Feb 2020 09:07:14 +0100 Original-Received: from localhost ([::1]:42554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izFiL-0006ux-6j for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Feb 2020 03:07:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57387) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izFiB-0006uB-A7 for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 03:07:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izFiA-0003vT-Ck for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 03:07:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39114) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1izFiA-0003tb-8B for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 03:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1izFiA-0004A9-1y for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 03:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: tsuucat Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Feb 2020 08:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39431 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.158088996215890 (code B ref -1); Wed, 05 Feb 2020 08:07:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Feb 2020 08:06:02 +0000 Original-Received: from localhost ([127.0.0.1]:45087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izFhC-000480-L7 for submit@debbugs.gnu.org; Wed, 05 Feb 2020 03:06:02 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:51078) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izFhA-00047m-RH for submit@debbugs.gnu.org; Wed, 05 Feb 2020 03:06:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56022) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izFh9-0006pP-PU for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 03:06:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izFh8-0007vw-MT for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 03:05:59 -0500 Original-Received: from pv50p00im-hyfv10011601.me.com ([17.58.6.43]:35196) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1izFh7-0007L2-Cq for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 03:05:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1580889926; bh=TyeGvn1t4gdkEiwEIRMISE6qb98MhywDVbwrYFxwWD8=; h=From:Content-Type:Subject:Message-Id:Date:To; b=J4HEwa8ka+cwjKxhW0JSVE4WpohMmdQDo2aYORGtQi+hp2Qr8ehvqrt57GDdZwTvW ObY+EcTSp1ihfWfan32wN6sxBNF5hXgOBc/8e7BXxwNZ6ziJWrhdhAxotjEBn1ynMQ y0gm3N7LpnrWWrX4PnhOI2CEb3Dn5qBOBAG6R19DB2P3HY4UkUpSM1BXxt7pqtiSNY /gmJseeWfdIo07Lze3hgyOhWgcB/kQfmJA4cX1Y3Ee2i2kLQrf0gjlf1inEB5Ljpfk Imli8hxBLtQ3+m6VxpSgqWmesKR1hiC9j7mD7S/XXXhwevYJrUexecMGm47u66ONC7 OonZg2n/v+3EA== Original-Received: from [133.51.94.55] (unknown [133.51.94.55]) by pv50p00im-hyfv10011601.me.com (Postfix) with ESMTPSA id 4A66B380967 for ; Wed, 5 Feb 2020 08:05:26 +0000 (UTC) X-Mailer: Apple Mail (2.3445.104.11) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2020-02-05_02:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=612 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-2002050066 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: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:175688 Archived-At: Hi, I found unexpected behavior (for me) of window-text-pixel-size. Environment: GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30, cairo version 1.15.10) Steps: 1. run emacs -Q. 2. In *scratch* buffer eval following. (window-text-pixel-size nil (point-min) (1+ (point-min))) ;=> (9 . 18) (display-line-numbers-mode) ;=> t (window-text-pixel-size nil (point-min) (1+ (point-min))) ;=> (45 . 18) ; width changed I also found this behavior in NS port Emacs 27.0.50. Is this expected? -- tsuucat