Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!att!bu-cs!jbw
From: jbw@bucsf.bu.edu (Joe Wells)
Newsgroups: gnu.emacs
Subject: Re: yank and yank-rectangle insert while in overwrite mode
Message-ID: <38821@bu-cs.BU.EDU>
Date: 25 Sep 89 15:31:43 GMT
References: <27187@shemp.CS.UCLA.EDU>
Sender: daemon@bu-cs.BU.EDU
Organization: Boston University Computer Science Department
Lines: 22
In-reply-to: david@oahu.cs.ucla.edu's message of 16 Sep 89 18:50:28 GMT

In article <27187@shemp.CS.UCLA.EDU> david@oahu.cs.ucla.edu (David Dantowitz) writes:

       Has anyone written code to have yank and yank-rectangle overwrite
       existing characters while in overwrite mode?  Even though overwrite
       mode is enabled, both yank commands still insert, rather than
       overwriting.

Yes and no.  No one that I know of has done this for yank and
yank-rectangle.  However, you can get the behaviour for rectangles in
which you are interested with these commands:

   picture-clear-rectangle
   picture-clear-rectangle-to-register
   picture-yank-rectangle
   picture-yank-rectangle-from-register

Enjoy,

--
Joe Wells 
jbw%bucsf.bu.edu@bu-it.bu.edu
...!harvard!bu-cs!bucsf!jbw