From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4635: 23.1.50; term-previous-input and split windows Date: Mon, 05 Oct 2009 00:07:02 +0200 Message-ID: <87vdiuyfsp.fsf@escher.local.home> Reply-To: Stephen Berman , 4635@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1254695294 22945 80.91.229.12 (4 Oct 2009 22:28:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Oct 2009 22:28:14 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 05 00:28:08 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MuZYm-0005eW-9I for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Oct 2009 00:28:08 +0200 Original-Received: from localhost ([127.0.0.1]:58781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MuZYm-0002LD-5v for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Oct 2009 18:28:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MuZXw-0001uJ-47 for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2009 18:27:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MuZXr-0001of-FY for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2009 18:27:15 -0400 Original-Received: from [199.232.76.173] (port=41695 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MuZXr-0001oO-3H for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2009 18:27:11 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57526) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MuZXq-0004v5-Jt for bug-gnu-emacs@gnu.org; Sun, 04 Oct 2009 18:27:10 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n94MR8g3008038; Sun, 4 Oct 2009 15:27:08 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n94MF59r006076; Sun, 4 Oct 2009 15:15:05 -0700 Resent-Date: Sun, 4 Oct 2009 15:15:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stephen Berman Original-Sender: steve@escher.local.home Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 04 Oct 2009 22:15:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4635 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12546940325065 (code B ref -1); Sun, 04 Oct 2009 22:15:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 4 Oct 2009 22:07:12 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n94M7AU2005061 for ; Sun, 4 Oct 2009 15:07:12 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:49905 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MuZEU-000680-1z for emacs-pretest-bug@gnu.org; Sun, 04 Oct 2009 18:07:10 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MuZES-0002VJ-4L for emacs-pretest-bug@gnu.org; Sun, 04 Oct 2009 18:07:09 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:40699) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MuZER-0002Uj-Dh for emacs-pretest-bug@gnu.org; Sun, 04 Oct 2009 18:07:07 -0400 Original-Received: (qmail invoked by alias); 04 Oct 2009 22:07:04 -0000 Original-Received: from i59F56463.versanet.de (EHLO escher.local.home) [89.245.100.99] by mail.gmx.net (mp011) with SMTP; 05 Oct 2009 00:07:04 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1+RSiZ4BzSRJkYEemQyBok0WYsuxl/FsRw7UfTpJJ ZIS2ef2K9MQdCb Original-Received: by escher.local.home (Postfix, from userid 1000) id 0EFB11D194A; Mon, 5 Oct 2009 00:07:02 +0200 (CEST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.53 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 04 Oct 2009 18:27:15 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31672 gmane.emacs.pretest.bugs:25094 Archived-At: 1. emacs -Q 2. Type M-x term RET to bring up the *terminal* buffer in term-mode (/bin/bash here, if that's significant). 3. Type RET to put point on line 2 of the *terminal* buffer. 4. Type C-c 2 to make split windows (or any other command that makes split windows, e.g. C-c 3, C-c C-b, etc.). 5. Type M-p to insert previous input. => The cursor in the selected *terminal* buffer jumps to the beginning of the buffer instead of staying at the end of the inserted input. This only happens if the *terminal* buffer has at least two displayed lines (step 3). Any further term-* command restores the cursor to the correct position. The cursor displacement also happens if the frame is unsplit after step 5, i.e. C-c 1 followed by M-p (but not if the frame is unsplit between steps 4 and 5). This problem also happens with Emacs 22. In GNU Emacs 23.1.50.2 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2009-10-03 on escher Windowing system distributor `The X.Org Foundation', version 11.0.10502000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix default enable-multibyte-characters: t