[4196] in testers

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

Re: emacs 20.3/20.4 beta core dump

daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Jun 7 10:13:30 1999

Message-Id: <199906071413.KAA13783@r93aag001866.sbo-smr.ma.cable.rcn.com>
To: John Hawkinson <jhawk@MIT.EDU>
cc: Richard Stallman <rms@gnu.org>, testers@MIT.EDU
In-reply-to: Your message of "Sun, 06 Jun 1999 23:36:02 EDT."
             <199906070336.XAA27626@x15-cruise-basselope.mit.edu> 
Date: Mon, 07 Jun 1999 10:13:14 EDT
From: Greg Hudson <ghudson@MIT.EDU>

I suspect that the right fix does not involve mucking with
find_before_next_newline().  I'm planning on trying to the following
workaround.

Index: indent.c
===================================================================
RCS file: /afs/dev.mit.edu/source/repository/third/emacs/src/indent.c,v
retrieving revision 1.1.1.2
diff -c -r1.1.1.2 indent.c
*** indent.c	1998/12/16 20:04:34	1.1.1.2
--- indent.c	1999/06/07 14:09:57
***************
*** 1414,1420 ****
  		      /* Skip any number of invisible lines all at once */
  		      do
  			{
! 			  pos = find_before_next_newline (pos, to, 1) + 1;
  			  pos_byte = CHAR_TO_BYTE (pos);
  			}
  		      while (pos < to
--- 1414,1422 ----
  		      /* Skip any number of invisible lines all at once */
  		      do
  			{
! 			  pos = find_before_next_newline (pos, to, 1);
! 			  if (pos < to)
! 			    pos++;
  			  pos_byte = CHAR_TO_BYTE (pos);
  			}
  		      while (pos < to

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