jove 4.9 (Q-R-S C-w is undoable too ...)

Rob McMahon cudcv at warwick.ac.uk
Mon Sep 12 22:20:49 AEST 1988


(I hope people don't get the impression that I don't like jove, I think it's a
fine replacement for "real" emacs (GNU emacs) where that is unusable because
of its size.  This string of articles is me tidying up the rough edges before
I let people loose on it.  It's a string of articles so that people can pick
and choose about what patches they want to take.)

In query-replace-string, C-w is undoable by C-u if you don't change more than
the single line that contained the match.  It gets it a bit wrong if you
change more than this, so you might treat this change with a bit of suspicion.
I think it's useful in spite of that.  (I've applied the patch to fix C-w not
deleting before this.)

RCS file: re1.c,v
retrieving revision 1.2
diff -c -r1.2 re1.c
*** /tmp/,RCSt1a03880	Mon Sep 12 13:17:57 1988
--- re1.c	Mon Sep 12 12:52:08 1988
***************
*** 96,101 ****
--- 96,103 ----
  					modify();
  					offset = curchar = REbom;
  					makedirty(curline);
+ 					UNDO_da = curline->l_dline;
+ 					UNDO_lp = curline;
  					/* Fall into ... */
  
  				case CTL('R'):
-- 
UUCP:   ...!mcvax!ukc!warwick!cudcv	PHONE:  +44 203 523037
JANET:  cudcv at uk.ac.warwick             ARPA:   cudcv at warwick.ac.uk
Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England



More information about the Comp.sources.bugs mailing list