[climacs-devel] Climacs - self documenting editor?

Robert Strandh strandh at labri.fr
Wed Apr 26 18:39:22 UTC 2006


Christophe Rhodes writes:
 > Christophe Rhodes <csr21 at cam.ac.uk> writes:
 > 

 > Shortly after writing this, I found another reason, or at least a
 > consequence: the ability simply to set key sequences to command names,
 > and have the toplevel pretend to do the right thing.  My changes will
 > require settings of the form
 >   (esa:set-key `(com-find-file ,*unsupplied-argument-marker*)
 >                'buffer-table
 >                '((#\x :control) (#\f :control)))
 > for commands with arguments, rather than simply
 >   (esa:set-key 'com-find-file 'buffer-table '((#\x :control) (#\f :control)))
 > can people live with that?

While the second form is more convenient, I think the first form is
how CLIM seems to want it, so I guess we can live with that.  We
already do a similar thing for numeric arguments. 

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