🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #8161

MicroEMACS v3.10 beta - #5

#8161
From: William E. Davidsen Jr
Date: Mon, 19 Dec 1988 16:54
33 lines
1701 bytes
As evidence of the "black hole" mail situation between D.L. and I, I
submitted this fix originalls to 3.8e (actually I think the fix was
different, but the problem was the same).

                         Overwrite mode problem

  When in overwrite mode, the is a problem with repeat counts. If I type
	"^U10x"
instead of changing the first ten characters to x's, I change the first
to an x, and then insert the next nine x's before what was the 2nd
character on the line. This is a suggested fix.

1718a1719
> 	int delindex;				/* counter for OVER mode */
1749,1752c1750,1754
< 		if (curwp->w_bufp->b_mode & MDOVER &&
< 		    curwp->w_doto < curwp->w_dotp->l_used &&
< 			(lgetc(curwp->w_dotp, curwp->w_doto) != '\t' ||
< 			 (curwp->w_doto) % tabsize == (tabsize - 1)))
---
> 		if (curwp->w_bufp->b_mode & MDOVER) {
> 		    for (delindex=0; delindex < n; delindex++) {
> 		        if (curwp->w_doto < curwp->w_dotp->l_used &&
> 			    (lgetc(curwp->w_dotp, curwp->w_doto) != '\t' ||
> 			    (curwp->w_doto) % tabsize == (tabsize - 1)))
1753a1756,1757
> 		    }
> 		}

-- 
	bill davidsen		(wedu@ge-crd.arpa)
  {uunet | philabs}!steinmetz!crdos1!davidsen
"Stupidity, like virtue, is its own reward" -me
Technical Details
Message-ID: <12825@steinmetz.ge.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!nrl-cmf!ames!amdcad!sun!pitstop!sundc!seismo!uunet!steinmetz!davidsen

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!nrl-cmf!ames!amdcad!sun!pitstop!sundc!seismo!uunet!steinmetz!davidsen
From: davidsen@steinmetz.ge.com (William E. Davidsen Jr)
Newsgroups: comp.emacs
Subject: MicroEMACS v3.10 beta - #5
Keywords: memacs, beta
Message-ID: <12825@steinmetz.ge.com>
Date: 19 Dec 88 16:54:37 GMT
Reply-To: davidsen@crdos1.UUCP (bill davidsen)
Organization: GE Corp. R & D, Schenectady,NY
Lines: 33