From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#7002: Emacs initializes the alternate screen twice Date: Sat, 11 Sep 2010 14:55:16 +0200 Message-ID: References: <20100908234157.GA26881@cbane.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284210633 8773 80.91.229.12 (11 Sep 2010 13:10:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Sep 2010 13:10:33 +0000 (UTC) To: emacs-bugs-7626@cbane.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 11 15:10:32 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 1OuPqg-0003B5-Sn for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Sep 2010 15:10:31 +0200 Original-Received: from localhost ([127.0.0.1]:58365 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuPqg-0001DY-3u for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Sep 2010 09:10:30 -0400 Original-Received: from [140.186.70.92] (port=45558 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuPqX-0001DC-Ki for bug-gnu-emacs@gnu.org; Sat, 11 Sep 2010 09:10:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OuPqW-0005A6-K2 for bug-gnu-emacs@gnu.org; Sat, 11 Sep 2010 09:10:21 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58042) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuPqW-00059s-Ik for bug-gnu-emacs@gnu.org; Sat, 11 Sep 2010 09:10:20 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OuPfa-00014P-Vp for bug-gnu-emacs@gnu.org; Sat, 11 Sep 2010 08:59:02 -0400 Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Sep 2010 12:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 7002 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 7002@debbugs.gnu.org, monnier@iro.umontreal.ca Original-Received: via spool by 7002-done@debbugs.gnu.org id=D7002.12842099384097 (code D ref 7002); Sat, 11 Sep 2010 12:59:02 +0000 Original-Received: (at 7002-done) by debbugs.gnu.org; 11 Sep 2010 12:58:58 +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 1OuPfW-000142-6T for submit@debbugs.gnu.org; Sat, 11 Sep 2010 08:58:58 -0400 Original-Received: from impaqm4.telefonica.net ([213.4.138.4]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuPZv-0000u9-S9 for 7002-done@debbugs.gnu.org; Sat, 11 Sep 2010 08:53:12 -0400 Original-Received: from IMPmailhost1.adm.correo ([10.20.102.38]) by IMPaqm4.telefonica.net with bizsmtp id 5QYh1f00Q0piX6q3QQvHui; Sat, 11 Sep 2010 14:55:17 +0200 Original-Received: from ceviche.home ([83.61.39.212]) by IMPmailhost1.adm.correo with BIZ IMP id 5QvG1f0024aeRwb1hQvGd9; Sat, 11 Sep 2010 14:55:17 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="monnier$movistar.es" |auth_email="monnier@movistar.es" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" Original-Received: by ceviche.home (Postfix, from userid 20848) id 50B02660D2; Sat, 11 Sep 2010 14:55:16 +0200 (CEST) In-Reply-To: <20100908234157.GA26881@cbane.org> (emacs-bugs's message of "Wed, 8 Sep 2010 18:41:57 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Mailman-Approved-At: Sat, 11 Sep 2010 08:58:56 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 11 Sep 2010 08:59:02 -0400 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:40087 Archived-At: > When a console-mode Emacs initializes its terminal, it sends the escape > sequence to switch to the alternate screen twice. This causes problems > when running under screen (and maybe other terminal programs as well): > exiting or suspending Emacs completely clears the screen. I have > attached a patch that fixes this. Thanks, installed in the emacs-23 branch. In the future, please include a name of some sort in your communications, since we need it to maintain accurate copyright information. Stefan