[climacs-devel] a paragraph on persistent buffers

Robert Strandh strandh at labri.fr
Tue May 24 15:29:48 UTC 2005


Aleksandar Bakic writes:
 > > An undo record of a regular buffer only keeps an editing
 > > operation, I think.
 > 
 > I can´t access the code at the moment, but I guess a regular undo record also
 > keeps a pointer to the buffer (as opposed to the contents of it (a tree) kept
 > by a persistent undo record), so the difference is an edit operation (at
 > least).

Not sure what you mean, but if memory serves, an undo record contains
buffer offsets as opposed to (say) marks, since we rely on undo
operations to be applied in the reverse order compared to ordinary
operations. 

-- 
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