[climacs-devel] update-syntax and delegating buffers

Robert Strandh strandh at labri.fr
Tue Mar 8 05:35:10 UTC 2005


Hello, 

Christophe Rhodes writes:
 > Hi,
 > 
 > The change to delegating buffers has had a side effect for me: my
 > UPDATE-SYNTAX method used to be able to obtain the name of the buffer
 > it was updating for, but it can no longer, because the
 > delegating-buffer method for update-syntax calls update-syntax on the
 > implementation buffer, which doesn't mix in the name-mixin class.
 > 
 > Is there a reason for this surrounding method?  Is it simply to save a
 > generic function call per buffer operation?  Should I not be
 > attempting to find the name of a buffer from within UPDATE-SYNTAX?

This exact problem is discussed in the context of CLIM encapsulating
streams, section C.1.2.  Perhaps the solution to our problem is
similar to that suggested there. 

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