[14481] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: sun4 8.0F: emacs

daemon@ATHENA.MIT.EDU (Greg Hudson)
Sun Jul 21 14:30:37 1996

To: Greg Hudson <ghudson@MIT.EDU>
Cc: David K Krikorian <dkk@MIT.EDU>, bugs@MIT.EDU
In-Reply-To: Your message of "Sun, 21 Jul 1996 14:14:04 EDT."
             <199607211814.OAA02348@glacier.MIT.EDU> 
Date: Sun, 21 Jul 1996 14:30:33 EDT
From: Greg Hudson <ghudson@MIT.EDU>

> I will also check the emacs 19.31 change logs and look for a fix for
> this problem.

I found this ChangeLog entry:

	* xdisp.c (redisplay_window): Don't do the scroll_step thing
	if startp is outside the accessible part of the buffer.

which looked exceedingly relevant to the place where the stack trace
was in redisplay_window.  I've applied the corresponding change:

--- xdisp.c	1996/03/18 23:32:59	1.1
+++ xdisp.c	1996/07/21 18:22:54
@@ -1677,7 +1677,8 @@
 
   /* Try to scroll by specified few lines */
 
-  if (scroll_step && !current_buffer->clip_changed)
+  if (scroll_step && !current_buffer->clip_changed
+      && startp >= BEGV && startp <= ZV)
     {
       if (PT > startp)
 	{

and the problem no longer occurs if I try to reproduce it using the
method I was using before.

I will incorporate this change into 8.0G.

home help back first fref pref prev next nref lref last post