Subject: Re: bug#24465: 25.1; term does not keep point position when switching buffers
From: Eli Zaretskii <[email-masked]>
To: Tijs Mallaerts <[email-masked]>
Cc: [email-masked]
Date: Sat, 15 Oct 2016 17:01:34 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Tijs Mallaerts <[email-masked]>
> Date: Mon, 10 Oct 2016 21:52:46 +0200
> Cc: [email-masked]
> 
>  > To reproduce:
>  > - start a terminal emulator with M-x term
>  > - switch to other buffer
>  > - switch back to *terminal* buffer
>  >
>  > When switching back to the terminal buffer, the point position is not kept, but set to point-min.
> 
>  Thank you for your report.
> 
>  In what version of Emacs did this issue appear? Is it new with Emacs
>  25.1 or did it exist with older versions as well?
> 
> It is new with Emacs 25.1. 

Indeed, it's a side effect of the new feature whereby subprocesses are
told to adjust their window size when the size of the buffer in which
they run changes.

I fixed this on the emacs-25 branch, so I'm marking the bug done.
Feel free to reopen if there are some left-overs.

Thanks.