emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Display bug


From: Chong Yidong
Subject: Re: Display bug
Date: Tue, 13 Mar 2007 18:13:17 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux)

Richard Stallman <address@hidden> writes:

> Since this happens in the CVS trunk, it should be fixed now.
> Has anyone looked at this?  Please DTRT and ack.
>
> From: Kenichi Handa <address@hidden>
> Subject: Display bug [Re: My Emacs unicode 2 crash again ...]
>
> I found that the same bug can be reproduced even with Emacs
> 22 (latest CVS HEAD) when it is configured with
> - --enable-asserts.

The following patch fixes this bug.  I'll check it in once CVS comes
back online.

*** emacs/src/xdisp.c.~1.1142.~ 2007-03-09 22:37:01.000000000 -0500
--- emacs/src/xdisp.c   2007-03-13 18:10:19.000000000 -0400
***************
*** 14898,14904 ****
      sync_frame_with_window_matrix_rows (w);
  
    /* Adjust buffer positions in reused rows.  */
!   if (delta)
      increment_matrix_positions (current_matrix,
                                first_unchanged_at_end_vpos + dvpos,
                                bottom_vpos, delta, delta_bytes);
--- 14898,14904 ----
      sync_frame_with_window_matrix_rows (w);
  
    /* Adjust buffer positions in reused rows.  */
!   if (delta || delta_bytes)
      increment_matrix_positions (current_matrix,
                                first_unchanged_at_end_vpos + dvpos,
                                bottom_vpos, delta, delta_bytes);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]