emacs-devel
[Top][All Lists]
Advanced

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

[PATCH] Re: Emacs appears to hang


From: Kim F. Storm
Subject: [PATCH] Re: Emacs appears to hang
Date: 18 Jul 2002 01:40:07 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

address@hidden (Kim F. Storm) writes:

> Juanma Barranquero <address@hidden> writes:
> 
> > On Wed, 17 Jul 2002 16:47:21 +0000 (UTC), "Robert J. Chassell" 
> > <address@hidden> wrote:
> > 
> > > Type a C-l (recenter) or C-g (keyboard-quit) command 
> > > and then you can see that the line was actually killed.
> > 
> > I've seen the same in ielm. Another thing that's happened to me is
> > deleting with backspace and not having the display correctly redrawn. I
> > think both are manifestations of the severe redisplay bug we're
> > experiencing. 
> 
> However, this specific bug was not present in the CVS emacs version I built
> 48 hours ago...  So it must be yet a new redisplay bug...
> 

The new display bug can be fixed by this small patch:

Index: xdisp.c
===================================================================
RCS file: /cvs/emacs/src/xdisp.c,v
retrieving revision 1.767
diff -c -r1.767 xdisp.c
*** xdisp.c     16 Jul 2002 19:49:12 -0000      1.767
--- xdisp.c     17 Jul 2002 22:35:55 -0000
***************
*** 10170,10175 ****
--- 10170,10176 ----
      = (!NILP (w->window_end_valid)
         && !current_buffer->clip_changed
         && END_UNCHANGED + BEG_UNCHANGED >= Z - BEG
+        && XFASTINT (w->last_modified) >= MODIFF
         && XFASTINT (w->last_overlay_modified) >= OVERLAY_MODIFF);
  
    /* When windows_or_buffers_changed is non-zero, we can't rely on


However, I don't know if that breaks the intention of Richard's 
recent fix (again, I'm not quite sure what that was supposed to fix).

-- 
Kim F. Storm <address@hidden> http://www.cua.dk




reply via email to

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