From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24465: 25.1; term does not keep point position when switching buffers Date: Sat, 15 Oct 2016 17:01:34 +0300 Message-ID: <83y41p1zk1.fsf@gnu.org> References: <83fuo4ebcp.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1476540146 532 195.159.176.226 (15 Oct 2016 14:02:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 15 Oct 2016 14:02:26 +0000 (UTC) Cc: 24465-done@debbugs.gnu.org To: Tijs Mallaerts Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 15 16:02:22 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvPXU-0007OT-AE for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Oct 2016 16:02:16 +0200 Original-Received: from localhost ([::1]:52014 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvPXT-0003Ju-2s for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Oct 2016 10:02:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvPXK-0003IC-L3 for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2016 10:02:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvPXG-0007l8-IF for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2016 10:02:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53804) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bvPXG-0007kp-G9 for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2016 10:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bvPXG-0000f3-8g for bug-gnu-emacs@gnu.org; Sat, 15 Oct 2016 10:02:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Oct 2016 14:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 24465 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Mail-Followup-To: 24465@debbugs.gnu.org, eliz@gnu.org, tijs.mallaerts@gmail.com Original-Received: via spool by 24465-done@debbugs.gnu.org id=D24465.14765401102517 (code D ref 24465); Sat, 15 Oct 2016 14:02:02 +0000 Original-Received: (at 24465-done) by debbugs.gnu.org; 15 Oct 2016 14:01:50 +0000 Original-Received: from localhost ([127.0.0.1]:59992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvPX4-0000eX-5o for submit@debbugs.gnu.org; Sat, 15 Oct 2016 10:01:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvPX2-0000eK-Lp for 24465-done@debbugs.gnu.org; Sat, 15 Oct 2016 10:01:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvPWu-0006tb-CQ for 24465-done@debbugs.gnu.org; Sat, 15 Oct 2016 10:01:43 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvPWu-0006qi-9u; Sat, 15 Oct 2016 10:01:40 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4549 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bvPWs-0007OM-FW; Sat, 15 Oct 2016 10:01:38 -0400 In-reply-to: (message from Tijs Mallaerts on Mon, 10 Oct 2016 21:52:46 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 208.118.235.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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:124510 Archived-At: > From: Tijs Mallaerts > Date: Mon, 10 Oct 2016 21:52:46 +0200 > Cc: bug-gnu-emacs@gnu.org > > > 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.