Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!frisky.UUCP!jkf From: jkf@frisky.UUCP (John Foderaro) Newsgroups: comp.emacs Subject: Re: GNU Emacs on sun-4 Message-ID: <8709171357.AA02343@frisky> Date: Thu, 17-Sep-87 09:57:12 EDT Article-I.D.: frisky.8709171357.AA02343 Posted: Thu Sep 17 09:57:12 1987 Date-Received: Sat, 19-Sep-87 14:41:49 EDT Sender: daemon@eddie.MIT.EDU Lines: 24 I believe that the following is the real fix for the scrolling problem (which is a bug on all machines but a killer on sun4s): In calculate_scrolling (scroll.c) look for this initialization code and make the change noted: for (j = 1; j <= window_size; j++) { cost += next_delete_cost[j]; matrix[j].deletecost = cost; matrix[j].writecost = INFINITY; matrix[j].insertcost = INFINITY; matrix[j].deletecount = j; matrix[j].insertcount = 0; /* jkf fix, was j */ } This is from version 18.37 and may look different in other versions. -john foderaro