all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Soumendra Ganguly <soumendraganguly@gmail.com>
To: Robert Pluim <rpluim@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: 26.1; ansi-term not resized after X window resize
Date: Thu, 3 Sep 2020 21:33:21 -0500	[thread overview]
Message-ID: <CAOW54GVQhnz8KwVaxbvWWY3k74BeW15WuC=eb50xS3oXnkM+-g@mail.gmail.com> (raw)
In-Reply-To: <m2a6y72pcv.fsf@gmail.com>

Compiled and tested on 26.3, 27.1. Works as expected :) The bug report
may now be marked as closed.

On 9/3/20, Robert Pluim <rpluim@gmail.com> wrote:
>>>>>> On Thu, 03 Sep 2020 11:09:15 +0200, Robert Pluim <rpluim@gmail.com>
>>>>>> said:
>
>>>>>> On Sun, 30 Aug 2020 17:39:37 -0500, Soumendra Ganguly
>>>>>> <soumendraganguly@gmail.com> said:
>     Soumendra> Issue: ansi-term does not adjust the "terminal size" when the
> "emacs X
>     Soumendra> window"/frame is resized. Here "terminal size" refers to
> "struct 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
> i3wm, 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
> already
>     Robert> fixed there.
>
> Aagh. Please donʼt 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
>



  reply	other threads:[~2020-09-04  2:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-30 22:39 26.1; ansi-term not resized after X window resize Soumendra Ganguly
2020-09-03  9:09 ` Robert Pluim
2020-09-03  9:15   ` Robert Pluim
2020-09-04  2:33     ` Soumendra Ganguly [this message]
2020-09-04  7:14       ` bug#43126: " Robert Pluim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOW54GVQhnz8KwVaxbvWWY3k74BeW15WuC=eb50xS3oXnkM+-g@mail.gmail.com' \
    --to=soumendraganguly@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rpluim@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.