From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: 26.1; ansi-term not resized after X window resize Date: Thu, 03 Sep 2020 11:15:12 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19586"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Soumendra Ganguly Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 03 11:16:06 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kDlLi-0004vF-DN for ged-emacs-devel@m.gmane-mx.org; Thu, 03 Sep 2020 11:16:06 +0200 Original-Received: from localhost ([::1]:47230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDlLg-0006mg-VQ for ged-emacs-devel@m.gmane-mx.org; Thu, 03 Sep 2020 05:16:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35616) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDlKw-0006Bi-Kn for emacs-devel@gnu.org; Thu, 03 Sep 2020 05:15:18 -0400 Original-Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:33256) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kDlKu-0007E8-7U for emacs-devel@gnu.org; Thu, 03 Sep 2020 05:15:18 -0400 Original-Received: by mail-wm1-x32f.google.com with SMTP id e11so4930404wme.0 for ; Thu, 03 Sep 2020 02:15:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=r0vF+J1aLncfpOiZGsQgFCpawX08fvcYqX+W0ZRhfUo=; b=cMYzaT9qSCf3ddD6iyWCqV1n12U5Ek7AH8n6OdeNrtBcVG36Qh7wzNcbh5dXPxQ79P xWiUTJoahW73r+w0Zf2wZ/9Dt7YB0Umwj7LQUC5nFMD+fkBQvrVcTejZXCZGtnJspVY7 WOG3rOYDhMxcEmlYoY4R/DZ+Oy/3VKDMXcjmPsNwZnZ0lbcwwc9ZYXOmfl14dAAoQhYH drucTYi4b3wo4koeDp1rtXK2a3nvpXy1f58jNb5tH09xE56NVXCEmPCt9u3M4EnN4Kah IHDOk18MB7NVf1m+oONhdVOZNb+ysau3GmuyRFM+U+MwoGygIVrZ0VE/XFgKA4/yDkH7 SIoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=r0vF+J1aLncfpOiZGsQgFCpawX08fvcYqX+W0ZRhfUo=; b=lwbIQZoHxGkgTHemiKgOx/BzIhUSj4WOuN81JCs01VXGJ03CTfK9fwYKAKFx2hySc8 tpTcZwJdUGrmB6MYawNqKXTzH0PbJ02tEk0wg/kVCGDzHMfihuE+gSq9S2HBz63+/ZE7 vUnRqrQbxunJjaVeniCW0KgdRtyug3Sga/otXmkiPysHe/eE8dgXWQLvd4Zxn5jz3PFY 5mw3A6KsSEj172asHOeAZCyTbq98Z80MQjLk6xPLfn6YVLqjBaZbLAcKiQBICqCmzLWl /s6NHPdwUuiqYhqqcH/1+pIvmsv9qSQmdl1K6pRA4PprwPBqFgCLzNx6gANCNPNepD2q Uhbw== X-Gm-Message-State: AOAM533bL3MBgHVEqT4337c+9ABV8QWnmlJ1EkBe64kyt17LNw/9JFHD qJ3rYicNDSsqBCev3No6aqePQqDgepoeDQ== X-Google-Smtp-Source: ABdhPJxTKba1VgP0UN/8Aeqwf2xNkqWyBveG4NXzStKpjFCex4Z4r4IAFWDT24MQ3VHl3TO2M6UUKA== X-Received: by 2002:a05:600c:2054:: with SMTP id p20mr1399283wmg.173.1599124513704; Thu, 03 Sep 2020 02:15:13 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:7c82:fd7:9e25:6f18]) by smtp.gmail.com with ESMTPSA id n4sm3301508wrp.61.2020.09.03.02.15.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Sep 2020 02:15:13 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: (Robert Pluim's message of "Thu, 03 Sep 2020 11:09:15 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=rpluim@gmail.com; helo=mail-wm1-x32f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:254492 Archived-At: >>>>> On Thu, 03 Sep 2020 11:09:15 +0200, Robert Pluim s= aid: >>>>> On Sun, 30 Aug 2020 17:39:37 -0500, Soumendra Ganguly said: Soumendra> Issue: ansi-term does not adjust the "terminal size" when th= e "emacs X Soumendra> window"/frame is resized. Here "terminal size" refers to "st= ruct winsize"/ Soumendra> "stty size"/"${COLUMNS}+${LINES}". As a result, say, output = of ls(1) Soumendra> becomes hard to parse visually. The bug was discovered on i3= wm, which Soumendra> is a tiling window manager, where X window size updates are = frequent. Soumendra> Reason: When the frame is resized, the window size changes, = but processes Soumendra> running in buffers are not notified of that change. Soumendra> Fix: In lisp/window.el, add window--adjust-process-windows to Soumendra> window-size-change-functions. Patch implementing proposed fix Soumendra> follows. Robert> Could you check 26.3? As far as I can tell this issue was alrea= dy Robert> fixed there. Aagh. Please don=CA=BCt send to both bug-gnu-emacs and emacs-devel. If you want to report a bug, just send to bug-gnu-emacs once and then use the resulting bug thread. Robert