unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 10304@debbugs.gnu.org, yagnesh@live.com
Subject: bug#10304: 24.0.92: display but
Date: Sat, 07 Jan 2012 10:48:32 +0200	[thread overview]
Message-ID: <8362gnhp9b.fsf@gnu.org> (raw)
In-Reply-To: <m3lipk1f65.fsf@stories.gnus.org>

> From: Lars Magne Ingebrigtsen <larsi@gnus.org>
> Cc: 10304@debbugs.gnu.org, Eli Zaretskii <eliz@gnu.org>
> Date: Sat, 07 Jan 2012 02:20:50 +0100
> 
> Yagnesh Raghava Yakkala <yagnesh@live.com> writes:
> 
> > I see this thing occasionally when reading news in group. I cant
> > reproduce it at will.
> >
> > This screen shot is from article buffer, you can see the first line
> > starts with "I tend to ... " is displayed twice in the screen (bottom
> > also same line). In fact this messages was long, the line "I tend to
> > ..."  displayed at the bottom at the beginning. then I needed to hit SPC
> > to read remaining part of the message. So the last line stays there
> 
> Eli, if you look at the image included in this bug report, this looks
> like the same display bug that I've seen a few times.  It's as if Emacs
> isn't clearing some parts of the screen when scrolling.  (Sometimes.)
> 
> I still haven't been able to make a test case for this.  It happens to
> me like a couple of times a week, so it's pretty obscure...

Probably some redisplay optimization that doesn't exactly DTRT.

When this happens, does it help to type "M-x redraw-display RET"?  If
it does, then, in the absence of a reproducible test case, all I can
suggest is gather more info to narrow the range of possible
offenders.  Start by rebuilding Emacs with -DGLYPH_DEBUG=1, then start
Emacs with stderr redirected to a file, toggle redisplay tracing with
"M-x trace-redisplay RET", and wait till the problem happens.  When it
does, make the window with incorrect display the currently selected
window, and type "M-x dump-glyph-matrix RET".  Finally, send the
contents of the redirected stderr here.

There are also several variables that inhibit certain redisplay
optimizations.  They are defined in xdisp.c and are available only
when Emacs is compiled with -DGLYPH_DEBUG=1:

  #if GLYPH_DEBUG
    DEFVAR_BOOL ("inhibit-try-window-id", inhibit_try_window_id,
		 doc: /* Inhibit try_window_id display optimization.  */);
    inhibit_try_window_id = 0;

    DEFVAR_BOOL ("inhibit-try-window-reusing", inhibit_try_window_reusing,
		 doc: /* Inhibit try_window_reusing display optimization.  */);
    inhibit_try_window_reusing = 0;

    DEFVAR_BOOL ("inhibit-try-cursor-movement", inhibit_try_cursor_movement,
		 doc: /* Inhibit try_cursor_movement display optimization.  */);
    inhibit_try_cursor_movement = 0;
  #endif /* GLYPH_DEBUG */

By selectively turning off each of these optimizations, we could zero
in on the optimization that causes this bug.  However, using these
variables effectively needs some initial ideas about the possible
causes, so I think gathering the info as suggested above is best as
the first step.





  reply	other threads:[~2012-01-07  8:48 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-24 15:30 bug#14704: 24.3.50; cl-lib breaks built-in Emacs version Sebastian Wiesner
2013-06-24 15:48 ` Juanma Barranquero
2013-06-24 17:51   ` Sebastian Wiesner
2013-06-24 17:56     ` Juanma Barranquero
2013-06-24 18:26       ` Sebastian Wiesner
2013-06-24 18:38         ` Eli Zaretskii
2013-06-24 18:57           ` Sebastian Wiesner
2013-06-24 19:20             ` Eli Zaretskii
2013-06-24 20:02               ` Glenn Morris
2013-06-24 20:08                 ` Eli Zaretskii
2013-06-24 20:21                   ` Dmitry Gutov
2013-06-24 20:25                     ` Eli Zaretskii
2013-06-24 20:30                       ` Juanma Barranquero
2013-06-25 14:43                         ` Eli Zaretskii
2013-06-24 21:19                       ` Jambunathan K
2013-06-25  2:43                         ` Eli Zaretskii
2013-06-25  2:35                       ` Stefan Monnier
2013-06-25 14:39                         ` Eli Zaretskii
2013-06-25 15:50                           ` Stefan Monnier
2013-06-25  6:17                   ` Michael Albinus
2013-06-25 15:00                     ` Eli Zaretskii
2013-06-25 15:24                       ` Michael Albinus
2013-06-25 16:03                         ` bug#10304: " Eli Zaretskii
2013-06-25 18:27                           ` bug#10304: display bug (was: bug#14704: 24.3.50; cl-lib breaks built-in Emacs version) Michael Albinus
2013-06-25 18:58                             ` Eli Zaretskii
2013-06-25 19:13                               ` bug#10304: display bug Michael Albinus
2011-12-15 13:51                                 ` bug#10304: 24.0.92: display but Yagnesh Raghava Yakkala
2011-12-15 13:58                                   ` Yagnesh Raghava Yakkala
2012-01-07  1:20                                   ` Lars Magne Ingebrigtsen
2012-01-07  8:48                                     ` Eli Zaretskii [this message]
2012-01-26  0:09                                       ` Lars Ingebrigtsen
2013-01-02  2:36                                       ` bug#10304: 24.0.92: display bug Lars Magne Ingebrigtsen
2013-01-02 18:23                                         ` Eli Zaretskii
2013-01-02 18:42                                           ` Lars Magne Ingebrigtsen
2013-01-02 21:42                                             ` Andreas Schwab
2013-01-05  8:38                                         ` Lars Magne Ingebrigtsen
2013-01-05  8:51                                           ` Eli Zaretskii
2013-01-05  9:16                                             ` Lars Magne Ingebrigtsen
2013-01-05  9:17                                             ` Lars Magne Ingebrigtsen
2013-01-05  9:49                                               ` Eli Zaretskii
2013-01-05 10:11                                                 ` Lars Magne Ingebrigtsen
2013-01-05 11:29                                           ` Eli Zaretskii
2013-01-05 11:38                                             ` Lars Magne Ingebrigtsen
2013-01-05 13:43                                               ` Eli Zaretskii
2013-01-05 17:36                                               ` Eli Zaretskii
2013-01-08  5:11                                                 ` Lars Magne Ingebrigtsen
2013-01-08  5:43                                                   ` Eli Zaretskii
2013-01-08 11:19                                                     ` Michael Albinus
2013-01-08 21:21                                                       ` Eli Zaretskii
2013-01-08 21:29                                                         ` Michael Albinus
2013-01-08 21:39                                                           ` Eli Zaretskii
2013-01-13 18:08                                                     ` Eli Zaretskii
2013-01-16 15:06                                                       ` Michael Albinus
2014-11-14 15:45                                                     ` Lars Magne Ingebrigtsen
2014-11-14 15:56                                                       ` Eli Zaretskii
2014-11-14 15:57                                                         ` Lars Magne Ingebrigtsen
2014-11-15 15:35                                                           ` Lars Magne Ingebrigtsen
2014-11-15 15:41                                                           ` Lars Magne Ingebrigtsen
2014-11-29 15:42                                                             ` Eli Zaretskii
     [not found]                                                               ` <m3oarmyoiz.fsf@stories.gnus.org>
2014-12-27 14:20                                                                 ` Eli Zaretskii
2015-01-15 23:50                                                                   ` Lars Magne Ingebrigtsen
2015-01-17 11:34                                                                     ` Eli Zaretskii
2015-05-07  4:31                                                                       ` Eli Zaretskii
2015-05-11 13:06                                                                         ` Lars Magne Ingebrigtsen
2015-05-11 15:18                                                                           ` Eli Zaretskii
2013-06-27 13:20                                   ` bug#10304: " Michael Albinus
2013-06-27 17:11                                     ` Eli Zaretskii
2013-06-27 18:25                                       ` Michael Albinus
2013-07-09 10:39                                       ` Michael Albinus
2013-07-09 17:16                                         ` Eli Zaretskii
2013-07-10 17:04                                         ` Eli Zaretskii
2013-07-10 18:03                                           ` Michael Albinus
2013-06-24 20:18         ` bug#14704: 24.3.50; cl-lib breaks built-in Emacs version Juanma Barranquero
2013-06-25  2:11         ` Stefan Monnier
2013-06-24 18:16     ` Eli Zaretskii
2013-06-24 18:40       ` Sebastian Wiesner
2013-06-24 17:39 ` Glenn Morris
2013-06-24 17:52   ` Sebastian Wiesner
2013-06-25 16:27 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8362gnhp9b.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=10304@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=yagnesh@live.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).