[slime-cvs] CVS slime/doc

mkoeppe mkoeppe at common-lisp.net
Sun Jan 20 16:57:49 UTC 2008


Update of /project/slime/cvsroot/slime/doc
In directory clnet:/tmp/cvs-serv1129

Modified Files:
	slime.texi 
Log Message:
Improve documentation for slime-c-p-c contrib.


--- /project/slime/cvsroot/slime/doc/slime.texi	2008/01/20 16:15:25	1.63
+++ /project/slime/cvsroot/slime/doc/slime.texi	2008/01/20 16:57:49	1.64
@@ -12,7 +12,7 @@
 @set EDITION 3.0-alpha
 @set SLIMEVER 3.0-alpha
 @c @set UPDATED @today{}
- at set UPDATED @code{$Date: 2008/01/20 16:15:25 $}
+ at set UPDATED @code{$Date: 2008/01/20 16:57:49 $}
 @set TITLE SLIME User Manual
 @settitle @value{TITLE}, version @value{EDITION}
 
@@ -2270,14 +2270,40 @@
 @code{slime-c-p-c-unambiguous-prefix-p} is nil, point moves to
 the end of the inserted text, after the @code{o} in this case.
 
+In addition, @code{slime-c-p-c} provides completion for character names
+(mostly useful for Unicode-aware implementations):
+
+ at example
+CL-USER> #\Sp<TAB>
+ at end example
+
+Here SLIME will usually complete the character to @code{#\Space}, but
+in a Unicode-aware implementation, this might provide the following completions:
+ at example
+Space                              Space
+Sparkle                            Spherical_Angle
+Spherical_Angle_Opening_Left       Spherical_Angle_Opening_Up
+ at end example
+
+The package @code{slime-c-p-c} also provides context-sensitive completion for keywords.
+Example:  
+
+ at example
+CL-USER> (find 1 '(1 2 3) :s<TAB>
+ at end example
+
+Here SLIME will complete @code{:start}, rather than suggesting all
+ever-interned keywords starting with @code{:s}. 
+
+
 @table @kbd
 @kbditem{C-c C-s, slime-complete-form} 
 Looks up and inserts into the current buffer the argument list for the
 function at point, if there is one.  More generally, the command
 completes an incomplete form with a template for the missing arguments.
 There is special code for discovering extra keywords of generic
-functions and for handling @code{make-instance} and
- at code{defmethod}. Examples:
+functions and for handling @code{make-instance},
+ at code{defmethod}, and many other functions. Examples:
 
 @example
 (subseq "abc" <C-c C-s>




More information about the slime-cvs mailing list