[mcclim-devel] some patches: accepting-values and partial-commands

Robert Strandh strandh at labri.fr
Thu Aug 18 03:02:02 UTC 2005


Hello, 

Max-Gerd Retzlaff writes:
 > 
 > - The example in section 10.2.1 of the clim spec v2.2:
 > 
 >   (define-editor-command (com-save-file :menu t
 >                                         :keystroke (:s :control))
 >       ()                                      
 >     ...)                                    
 > 
 >   is either an error and :keystroke (#\s :control) was meant, or it suggests
 >   that it should be possible to first define a keystroke :s like for example:
 >  
 >   (define-gesture-name :s :keyboard (#\s))
 > 
 >   and add modifiers later. The latter does not work in McClim; modifiers
 >   that are only specified in the :keystroke argument to a define-command
 >   are simply ignored.

Right, this is actually not in the spec, but in Franz' User's Guide.
It looks like a typo to me. 

Take care,
-- 
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 mcclim-devel mailing list