GNU bug report logs - #7002
Emacs initializes the alternate screen twice

Previous Next

Package: emacs;

Reported by: emacs-bugs-7626 <at> cbane.org

Date: Wed, 8 Sep 2010 23:45:02 UTC

Severity: normal

Merged with 7440

Found in version 23.1

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#7002: closed (Emacs initializes the alternate screen twice)
Date: Sat, 11 Sep 2010 12:59:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 11 Sep 2010 14:55:16 +0200
with message-id <jwv39tg4f1y.fsf-monnier+emacs <at> gnu.org>
and subject line Re: bug#7002: Emacs initializes the alternate screen twice
has caused the GNU bug report #7002,
regarding Emacs initializes the alternate screen twice
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
7002: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7002
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: emacs-bugs-7626 <at> cbane.org
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs initializes the alternate screen twice
Date: Wed, 8 Sep 2010 18:41:57 -0500
[Message part 3 (text/plain, inline)]
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.
[fix-double-alt-screen-init.diff (text/x-diff, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: emacs-bugs-7626 <at> cbane.org
Subject: Re: bug#7002: Emacs initializes the alternate screen twice
Date: Sat, 11 Sep 2010 14:55:16 +0200
> 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


This bug report was last modified 14 years and 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.