[climacs-devel] overwrite mode
Robert Strandh
strandh at labri.fr
Sat Jan 8 10:46:07 UTC 2005
Hello,
Aleksandar Bakic writes:
>
> Should there be a buffer primitive, e.g., update-buffer-object, for the
> overwrite mode (instead of a pair delete-insert)? I suppose the overwrite mode
> could be handled in the com-self-insert command: call update-object (marks are
> unaffected) unless we are at the end of the buffer, in which case we call the
> usual insert-object. Better ideas?
I would put it in base.lisp and make it a combination of (setf
buffer-object) and forward-mark.
--
Robert Strandh
---------------------------------------------------------------------
Greenspun's Tenth Rule of Programming: any sufficiently complicated C
or Fortran program contains an ad hoc informally-specified bug-ridden
slow implementation of half of Common Lisp.
---------------------------------------------------------------------
More information about the climacs-devel
mailing list