[climacs-devel] per-buffer data

Robert Strandh strandh at labri.fr
Sun Jan 9 15:40:34 UTC 2005


Hello, 

Aleksandar Bakic writes:
 > 
 > I noticed that *overwrite-mode* should not be global, but per-buffer, like in
 > Emacs (and not per-pane, like goal-column, because I suppose there could be
 > multiple panes showing the same buffer; 

I do not see why overwrite mode could not be per-pane.  It's an input
mode, and does not influence the contents of the buffer. 

 > I do not know whether goal-column
 > should be per-buffer, too). 

Good question.  I don't know.  It could go either way. 

 > How should we go about this: adding slots to
 > standard-buffer or using a subclass of it?..

Probably mixins, as you pointed out later.
-- 
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