From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#39901: Emacs needs to update window-width when the user updates the text size Date: Wed, 04 Mar 2020 22:19:31 +0800 Message-ID: <877e00nqx8.5.fsf_-_@jidanni.org> References: <878skhphb5.8.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="11433"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 953033@bugs.debian.org, Katsumi Yamaoka To: 39901@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 04 15:20:29 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 1j9Ust-0002qH-AC for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Mar 2020 15:20:27 +0100 Original-Received: from localhost ([::1]:34926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9Uss-0000h2-An for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Mar 2020 09:20:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53957) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9UsV-0000af-9R for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2020 09:20:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9UsU-0001XB-9C for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2020 09:20:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34541) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9UsU-0001Wx-6C for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2020 09:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j9UsU-0000Bn-1L for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2020 09:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Mar 2020 14:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39901 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.1583331593707 (code B ref -1); Wed, 04 Mar 2020 14:20:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 4 Mar 2020 14:19:53 +0000 Original-Received: from localhost ([127.0.0.1]:40514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9UsL-0000BK-L0 for submit@debbugs.gnu.org; Wed, 04 Mar 2020 09:19:53 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:56665) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9UsK-0000BC-5o for submit@debbugs.gnu.org; Wed, 04 Mar 2020 09:19:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53900) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9UsI-0000TW-Ic for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2020 09:19:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9UsG-0001DQ-Gu for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2020 09:19:49 -0500 Original-Received: from chocolate.birch.relay.mailchannels.net ([23.83.209.35]:19398) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j9UsC-00019b-EX for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2020 09:19:48 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 112962614C1; Wed, 4 Mar 2020 14:19:42 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a84.g.dreamhost.com (100-96-206-239.trex.outbound.svc.cluster.local [100.96.206.239]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 6A7652608A6; Wed, 4 Mar 2020 14:19:41 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a84.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Wed, 04 Mar 2020 14:19:42 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Shade-Vacuous: 3833abad283746b8_1583331581865_3957333539 X-MC-Loop-Signature: 1583331581865:2918153129 X-MC-Ingress-Time: 1583331581865 Original-Received: from pdx1-sub0-mail-a84.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a84.g.dreamhost.com (Postfix) with ESMTP id 869F4801CE; Wed, 4 Mar 2020 06:19:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type :content-transfer-encoding; s=jidanni.org; bh=E4kTCbUIO0wolrmVHZ YQNqwvL4A=; b=M8IKkQTxBdceQ0AusX6sjs9j5DBNIMJQYgIgr2LbhB+3vHqO4O LRm4Zk6ujVBPci6qCzYpVf+ANBYAxqCUR3vs2RQuqRrqGb96mGlY1/GvMJzOpvmF vflviailBPEaaWjUBg6RBRoF2SqB11z/NYyE0BM2hs2L8VlCW2Yxdtoo4= Original-Received: from jidanni.org (114-41-10-173.dynamic-ip.hinet.net [114.41.10.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a84.g.dreamhost.com (Postfix) with ESMTPSA id A5452801D9; Wed, 4 Mar 2020 06:19:35 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a84 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedruddtkedgieefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhffffkgggtgfesthekredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecukfhppeduudegrdeguddruddtrddujeefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepjhhiuggrnhhnihdrohhrghdpihhnvghtpeduudegrdeguddruddtrddujeefpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohephigrmhgrohhkrgesjhhplhdrohhrgh X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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:176835 Archived-At: Emacs needs to update window-width when the user updates the text size. >>>>> "KY" =3D=3D Katsumi Yamaoka writes: KY> On Tue, 03 Mar 2020 23:51:58 +0800, =E7=A9=8D=E4=B8=B9=E5=B0=BC=E3=81= =95=E3=82=93 wrote: >> Package: w3m-el-snapshot >> X-Debbugs-Cc: yamaoka@jpl.org >> Version: 1.4.632+0.20191218.2243.cef0c7e-1 >> $ emacs -q -f w3m >> C-x C-=3D [text-scale-adjust] >> C-=3D [anonymous-command] >> Here the lines get cut off. >> They should fold, staying on the screen as the text zooms. KY> In that case the window width, i.e., the return value of KY> (window-width) is unchanged, so we have no clue for the point KY> where to fold text lines. We have no solution for it, I think.