emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 26.1; ansi-term not resized after X window resize


From: Soumendra Ganguly
Subject: Re: 26.1; ansi-term not resized after X window resize
Date: Thu, 3 Sep 2020 21:33:21 -0500

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 via email to

[Prev in Thread] Current Thread [Next in Thread]