From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ach@google.com (Andy Huang) Newsgroups: gmane.emacs.bugs Subject: bug#7440: 23.1; exiting emacs (-nw mode) clears screen scrollback buffer Date: Thu, 18 Nov 2010 17:55:46 -0800 (PST) Message-ID: <20101119015546.B9B9DC3CE3@kombu.mtv.corp.google.com> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1290137474 26072 80.91.229.12 (19 Nov 2010 03:31:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 19 Nov 2010 03:31:14 +0000 (UTC) To: 7440@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 19 04:31:07 2010 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.69) (envelope-from ) id 1PJHgm-0007Ys-7V for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Nov 2010 04:31:04 +0100 Original-Received: from localhost ([127.0.0.1]:56151 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJHQu-0005Yf-El for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Nov 2010 22:14:40 -0500 Original-Received: from [140.186.70.92] (port=44071 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJHQf-0005Xb-QU for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2010 22:14:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJHQd-0007Vb-HA for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2010 22:14:24 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJHQd-0007VQ-Cg for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2010 22:14:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PJHEg-0000w2-Mi; Thu, 18 Nov 2010 22:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: ach@google.com (Andy Huang) Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Nov 2010 03:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7440 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.12901356963584 (code B ref -1); Fri, 19 Nov 2010 03:02:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Nov 2010 03:01:36 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PJHEF-0000vl-CA for submit@debbugs.gnu.org; Thu, 18 Nov 2010 22:01:36 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PJG7l-0000Tf-Bq for submit@debbugs.gnu.org; Thu, 18 Nov 2010 20:50:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJGCg-00034L-J0 for submit@debbugs.gnu.org; Thu, 18 Nov 2010 20:55:55 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:42554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJGCg-00034A-GS for submit@debbugs.gnu.org; Thu, 18 Nov 2010 20:55:54 -0500 Original-Received: from [140.186.70.92] (port=56259 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJGCf-0006gg-AL for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2010 20:55:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJGCe-00033u-7L for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2010 20:55:53 -0500 Original-Received: from smtp-out.google.com ([74.125.121.35]:4721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJGCd-00033i-Vv for bug-gnu-emacs@gnu.org; Thu, 18 Nov 2010 20:55:52 -0500 Original-Received: from wpaz9.hot.corp.google.com (wpaz9.hot.corp.google.com [172.24.198.73]) by smtp-out.google.com with ESMTP id oAJ1tm6P026812 for ; Thu, 18 Nov 2010 17:55:48 -0800 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1290131748; bh=oLsjRSO9c4lFpzFtm8Rt0CAOztk=; h=To:Subject:Message-Id:Date:From; b=sStXYw6WCFnrCN6K4aqeF/BlgqRPayYgXGQte3tqUqPp+qeA1wJS3uolvqqqUJ/eH LMWuk567BCbwoaj1a7LuA== DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=to:subject:message-id:date:from:x-system-of-record; b=lU44SY+uXHCvfD1E2fQSBBbrBXZKyZNxT8PBNh4LywK7UBc40nVvnS0HMeV1kGbDv JGAGei9gw9AlDjKxZmX4A== Original-Received: from kombu.mtv.corp.google.com (kombu.mtv.corp.google.com [172.18.110.10]) by wpaz9.hot.corp.google.com with ESMTP id oAJ1tlwi003812 for ; Thu, 18 Nov 2010 17:55:47 -0800 Original-Received: by kombu.mtv.corp.google.com (Postfix, from userid 12797) id B9B9DC3CE3; Thu, 18 Nov 2010 17:55:46 -0800 (PST) X-System-Of-Record: true X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Thu, 18 Nov 2010 22:01:34 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 18 Nov 2010 22:02:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , 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:41745 Archived-At: Using emacs -nw within a screen session (w/ altscreen on) clears out the scrollback buffer upon exit. Repro steps: - Start GNU screen (w/ the "altscreen on" setting) - Hit return a few times in the console - Open emacs in -nw mode - Exit emacs - Upon exiting, info above the current line is empty Note that this doesn't occur when using emacs outside of screen and it doesn't occur with vi/less or any other editor I've tried. Per a coworker, this appears to be a regression between 22.2.1 and 23.1. In GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-03-29 on yellow, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10706000 configured using `configure '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: C value of $LC_NUMERIC: C value of $LC_TIME: C value of $LANG: en_US.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: x b u b u g r e p o r t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... [3 times] insert-for-yank: Buffer is read-only: #