GNU bug report logs - #18231
emacs -nw garbles display badly on trunk

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Sat, 9 Aug 2014 18:47:02 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18231 in the body.
You can then email your comments to 18231 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#18231; Package emacs. (Sat, 09 Aug 2014 18:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Eggert <eggert <at> cs.ucla.edu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 09 Aug 2014 18:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Emacs bug reports and feature requests <bug-gnu-emacs <at> gnu.org>
Cc: dhruva <dhruvakm <at> gmail.com>
Subject: emacs -nw garbles display badly on trunk
Date: Sat, 09 Aug 2014 11:45:29 -0700
dhruva's emacs-devel email:

http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00172.html

prompts me to report that I've been noticing similar problems on the 
trunk for some weeks.  The terminal window gets glitched up pretty 
badly, making emacs -nw unusable except for brief sessions. 
Unfortunately I don't have a simple recipe for reproducing it.  The 
recipe that dhruva gives here:

http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00175.html

does not reproduce the problem for me.

I do observe that once the glitches start to happen, they seem occur 
even if I exit Emacs and start up Emacs 24.3 (which normally does not 
have the problem), leading me to suspect that the problem has something 
to do with terminal modes.

One combination that illustrates the problem is gnome-terminal 3.6.2 
(Ubuntu 14.04 x86-64) connected via ssh to Fedora 20 x86-64 that is 
running Emacs trunk.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18231; Package emacs. (Sat, 09 Aug 2014 19:07:02 GMT) Full text and rfc822 format available.

Message #8 received at 18231 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 18231 <at> debbugs.gnu.org, dhruvakm <at> gmail.com
Subject: Re: bug#18231: emacs -nw garbles display badly on trunk
Date: Sat, 09 Aug 2014 22:06:21 +0300
> Date: Sat, 09 Aug 2014 11:45:29 -0700
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> Cc: dhruva <dhruvakm <at> gmail.com>
> 
> dhruva's emacs-devel email:
> 
> http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00172.html
> 
> prompts me to report that I've been noticing similar problems on the 
> trunk for some weeks.  The terminal window gets glitched up pretty 
> badly, making emacs -nw unusable except for brief sessions. 

Until this is fixed, "M-x redraw-display RET" should fix the session.
At least it does that for me when I follow Dhriva's recipe.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18231; Package emacs. (Sun, 10 Aug 2014 19:05:02 GMT) Full text and rfc822 format available.

Message #11 received at 18231 <at> debbugs.gnu.org (full text, mbox):

From: dhruva <dhruvakm <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 18231 <at> debbugs.gnu.org, emacs-devel <at> gnu.org
Subject: Re: terminal getting garbled running 'emacs -nw'
Date: Sun, 10 Aug 2014 10:55:40 -0700
[Message part 1 (text/plain, inline)]
The following commit appears to have solved the problem, thanks!

commit 6e2fb6f9f26f6a4ae8fbfb5ca0e69a5939adade2
Author: martin rudalics <rudalics <at> gmx.at>
Date:   Sun Aug 10 10:26:28 2014 +0200

    Fix handling of menu bar line on TTY frames (Bug#18136) (Bug#18196).

-dhruva


On Sat, Aug 9, 2014 at 7:46 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:

> > Date: Sat, 9 Aug 2014 14:14:14 -0700
> > From: dhruva <dhruvakm <at> gmail.com>
> > Cc: emacs development <emacs-devel <at> gnu.org>
> >
> > Give me some pointers and I will debug.
>
> I'd start by putting a breakpoint in adjust_frame_size, and see who
> calls it with what values.
>
[Message part 2 (text/html, inline)]

bug closed, send any further explanations to 18231 <at> debbugs.gnu.org and Paul Eggert <eggert <at> cs.ucla.edu> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 10 Aug 2014 19:12:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 08 Sep 2014 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 287 days ago.

Previous Next


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