From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tijs Mallaerts Newsgroups: gmane.emacs.bugs Subject: bug#24465: 25.1; term does not keep point position when switching buffers Date: Sun, 18 Sep 2016 21:46:12 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec50b4e3667de68053ccf201a X-Trace: blaine.gmane.org 1474242695 5732 195.159.176.226 (18 Sep 2016 23:51:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 18 Sep 2016 23:51:35 +0000 (UTC) To: 24465@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 19 01:51:31 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 1bllrl-0000BD-3A for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Sep 2016 01:51:21 +0200 Original-Received: from localhost ([::1]:51923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bllrj-0000Uz-F7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Sep 2016 19:51:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bllrY-0000TS-8S for bug-gnu-emacs@gnu.org; Sun, 18 Sep 2016 19:51:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bllrT-0007Zi-UF for bug-gnu-emacs@gnu.org; Sun, 18 Sep 2016 19:51:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bllrT-0007Zd-RV for bug-gnu-emacs@gnu.org; Sun, 18 Sep 2016 19:51:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bllrT-00048V-Nq for bug-gnu-emacs@gnu.org; Sun, 18 Sep 2016 19:51:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tijs Mallaerts Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Sep 2016 23:51:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24465 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147424263515828 (code B ref -1); Sun, 18 Sep 2016 23:51:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Sep 2016 23:50:35 +0000 Original-Received: from localhost ([127.0.0.1]:34617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bllr0-00047E-Rr for submit@debbugs.gnu.org; Sun, 18 Sep 2016 19:50:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bljw3-0001Et-3h for submit@debbugs.gnu.org; Sun, 18 Sep 2016 17:47:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bljvw-0001wO-JN for submit@debbugs.gnu.org; Sun, 18 Sep 2016 17:47:34 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bljvw-0001un-Gg for submit@debbugs.gnu.org; Sun, 18 Sep 2016 17:47:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46746) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bljvt-0004OF-QH for bug-gnu-emacs@gnu.org; Sun, 18 Sep 2016 17:47:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bljvo-0001sa-J6 for bug-gnu-emacs@gnu.org; Sun, 18 Sep 2016 17:47:28 -0400 Original-Received: from mail-wm0-f47.google.com ([74.125.82.47]:36925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bljvo-0001s0-9u for bug-gnu-emacs@gnu.org; Sun, 18 Sep 2016 17:47:24 -0400 Original-Received: by mail-wm0-f47.google.com with SMTP id b130so32701509wmc.0 for ; Sun, 18 Sep 2016 14:47:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=aPCYCmwr1fq+tytw3s2O8ooS09hFn9Oodv2K8tXsvac=; b=DIsBV0QFZ1flpkeNqqe6xRdkF35WyURkyTwvIKZs8OPNVc7CGsw+WExYYxLz5G5vfu Soq5BMHF01pLobEj5msEUF7FW1Y4HbQ3BEi67N9Ako9i6KjAX9ppG/Ai5ebf+M6JG8uS CWe5EqMNPT6z0HHVf2NxH1fXjo9joKp4uMkaj+VnuXw9gtX0eNf5hlG7HZxkr2wh0UwD K3EDsfjhAZZQyGFChGvMemvuSLpZq4/Fq2YNP02qXxVHMXrmBMtaUKt4cft3dYbQpmq6 vMy2KaRQSIINDnBZrxR7wc3fmITQHB4e81XkbxAl6EPc5StjvQZPEoReLLUstvkIQ/5y vDQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=aPCYCmwr1fq+tytw3s2O8ooS09hFn9Oodv2K8tXsvac=; b=WHYOLPTOWf/pl2QhQfBbtW6HHXtFOAbHtOCrjTD/izbt/diiZSqOtOHNnrmd2wlrhs Vpg7rnkuUN/TPLfkjDvgB1RQxbyCxif8aZ4mo9+vOef/vTOqDEFeSEGwLYQyPsPE6aSa A6w6OTzYO7v7ayhIpD7JW3cqJjWaLExDfDEWOcGi7VTbo6pjVvgBKhvGD7KV/GeTRBLl yeQDrnJpewriE40uEyhCTWscHJbbCaVRh8NaeXeo7OHf3w9wBnNqNJL8X2/PvYGq552K zfCYFiZExMzVmC++Fr5BXOuDJmNcxxn2ISjRLFv8NjV+2Ay2ehY3d808TVqCanzhgUw4 hTbA== X-Gm-Message-State: AE9vXwPUmwGmRKDCE1/DsITl7bFmGYQLAekXOErHUnFz944K7QXzOGQHTb7d9Qs2jYYa2FVQ9h0fnEUhcIUexQ== X-Received: by 10.194.51.170 with SMTP id l10mr15316228wjo.203.1474235183126; Sun, 18 Sep 2016 14:46:23 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Sun, 18 Sep 2016 19:50:34 -0400 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:123431 Archived-At: --bcaec50b4e3667de68053ccf201a Content-Type: text/plain; charset=UTF-8 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. In GNU Emacs 25.1.2 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.9) of 2016-09-17 built on kubuntu Windowing system distributor 'The X.Org Foundation', version 11.0.11803000 System Description: Ubuntu 16.04.1 LTS Configured using: 'configure --with-xwidgets' Configured features: XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS Important settings: value of $LC_MONETARY: nl_BE.UTF-8 value of $LC_NUMERIC: nl_BE.UTF-8 value of $LC_TIME: nl_BE.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 86314 8240) (symbols 48 19667 0) (miscs 40 46 146) (strings 32 14237 4673) (string-bytes 1 410227) (vectors 16 11743) (vector-slots 8 430828 5967) (floats 8 165 51) (intervals 56 203 0) (buffers 976 19) (heap 1024 39254 1011)) --bcaec50b4e3667de68053ccf201a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
To reproduce:
- start a terminal emulator with M-x term=
- switch to other buffer
- switch back to *terminal* buffer

W= hen switching back to the terminal buffer, the point position is not kept, = but set to point-min.


In GNU Emacs 25.1.2 (x86_64-unknown-linux-= gnu, GTK+ Version 3.18.9)
=C2=A0of 2016-09-17 built on kubuntu
Window= ing system distributor 'The X.Org Foundation', version 11.0.1180300= 0
System Description:=C2=A0=C2=A0 =C2=A0Ubuntu 16.04.1 LTS

Config= ured using:
=C2=A0'configure --with-xwidgets'

Configured = features:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS NOTIFY LIBXML2 FREE= TYPE XFT
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS

Important set= tings:
=C2=A0 value of $LC_MONETARY: nl_BE.UTF-8
=C2=A0 value of $LC_= NUMERIC: nl_BE.UTF-8
=C2=A0 value of $LC_TIME: nl_BE.UTF-8
=C2=A0 val= ue of $LANG: en_US.UTF-8
=C2=A0 locale-coding-system: utf-8-unix

= Major mode: Lisp Interaction

Minor modes in effect:
=C2=A0 toolti= p-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 electric-indent-mode: t<= br>=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 menu-bar= -mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode= : t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 au= to-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-com= pression-mode: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mod= e: t

Recent messages:
For information about GNU Emacs and the GNU= system, type C-h C-a.
Making completion list...

Load-path shadow= s:
None found.

Features:
(shadow sort mail-extr emacsbug messa= ge dired format-spec rfc822 mml
mml-sec password-cache epg epg-config gn= us-util mm-decode mm-bodies
mm-encode mail-parse rfc2231 mailabbrev gmm-= utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns he= lp-mode easymenu
cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-dat= e mule-util
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-flo= at-type
mwheel x-win term/common-win x-dnd tool-bar dnd fontset image re= gexp-opt
fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode= register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lo= ck
font-lock syntax facemenu font-core frame cl-generic cham georgianutf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japane= se eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic= indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook he= lp simple abbrev minibuffer cl-preloaded nadvice
loaddefs button faces c= us-face macroexp files text-properties overlay
sha1 md5 base64 format en= v code-pages mule custom widget
hashtable-print-readable backquote dbusb= ind inotify dynamic-setting
system-font-setting font-render-setting xwid= get-internal move-toolbar
gtk x-toolkit x multi-tty make-network-process= emacs)

Memory information:
((conses 16 86314 8240)
=C2=A0(sym= bols 48 19667 0)
=C2=A0(miscs 40 46 146)
=C2=A0(strings 32 14237 4673= )
=C2=A0(string-bytes 1 410227)
=C2=A0(vectors 16 11743)
=C2=A0(ve= ctor-slots 8 430828 5967)
=C2=A0(floats 8 165 51)
=C2=A0(intervals 56= 203 0)
=C2=A0(buffers 976 19)
=C2=A0(heap 1024 39254 1011))

<= /div> --bcaec50b4e3667de68053ccf201a--