[slime-cvs] CVS slime/doc

heller heller at common-lisp.net
Tue Nov 27 09:12:32 UTC 2007


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

Modified Files:
	slime.texi 
Log Message:
Fix some typos.


--- /project/slime/cvsroot/slime/doc/slime.texi	2007/11/26 23:11:37	1.59
+++ /project/slime/cvsroot/slime/doc/slime.texi	2007/11/27 09:12:32	1.60
@@ -12,7 +12,7 @@
 @set EDITION 3.0-alpha
 @set SLIMEVER 3.0-alpha
 @c @set UPDATED @today{}
- at set UPDATED @code{$Date: 2007/11/26 23:11:37 $}
+ at set UPDATED @code{$Date: 2007/11/27 09:12:32 $}
 @set TITLE SLIME User Manual
 @settitle @value{TITLE}, version @value{EDITION}
 
@@ -37,6 +37,7 @@
 
 @end titlepage
 
+ at c Macros 
 
 @macro SLIME
 @acronym{SLIME}
@@ -90,6 +91,7 @@
 @xref{\name\}.
 @end macro
 
+ at c Merge the variable and concept indices because both are rather short
 @synindex cp vr
 
 
@@ -518,10 +520,18 @@
 @item PROGRAM-ARGS
 is a list of command line arguments.  
 @item CODING-SYSTEM
-the coding system for the connection.  
+the coding system for the connection.  (@pxref{slime-net-coding-system})
 @item INIT
- at itemx INIT-FUNCTION 
- ... to be written ...
+should be a function which takes two arguments: a filename and a
+character encoding.  The function should return a Lisp expression as a
+string which instructs Lisp to start the Swank server and to write the
+port number to the file.  At startup, @SLIME{} starts the Lisp process
+and sends the result of this function to Lisp's standard input.  As
+default, @code{slime-init-command} is used.  An example is shown in
+ at ref{init-example,,Loading Swank faster}.
+ at itemx INIT-FUNCTION
+should be a function which takes no arguments.  It is called after 
+the connection is established. (See also @ref{slime-connected-hook}.)
 @end table
 
 @node Loading Swank faster
@@ -559,6 +569,7 @@
 @noindent
 Then add this to your @file{.emacs}:
 
+ at anchor{init-example}
 @lisp
 (setq slime-lisp-implementations 
       '((sbcl ("sbcl" "--core" "sbcl.core-with-swank")
@@ -1028,9 +1039,9 @@
 see what this means.)
 
 @table @kbd
+ at cindex Compiling Functions
 @kbditem{C-c C-c, slime-compile-defun}
 Compile the top-level form at point.
- at cindex compiling functions
 
 @kbditem{C-c C-y, slime-call-defun}
 Insert a call to the function defined around point into the REPL.
@@ -1773,12 +1784,13 @@
 but have different layouts, as is the case with @acronym{SMB}-based
 file sharing.
 
+ at anchor{slime-net-coding-system}
 @vindex slime-net-coding-system
 @cindex Unicode
- at cindex utf8
- at cindex utf-8
- at cindex ascii
- at cindex latin
+ at cindex UTF-8
+ at cindex ASCII
+ at cindex LATIN-1
+ at cindex Character Encoding
 @item slime-net-coding-system
 If you want to transmit Unicode characters between Emacs and the Lisp
 system, you should customize this variable.  E.g., if you use SBCL, you
@@ -1786,11 +1798,12 @@
 @example
 (setq slime-net-coding-system 'utf-8-unix)
 @end example
-To actually display Unicode characters you also need appropriate fonts,
-otherwise the characters will be rendered as hollow boxes.  If you are
-using Allegro CL and GNU Emacs, you can also use @code{emacs-mule-unix}
-as coding system.  GNU Emacs has often nicer fonts for the latter
-encoding.
+To actually display Unicode characters you also need appropriate
+fonts, otherwise the characters will be rendered as hollow boxes.  If
+you are using Allegro CL and GNU Emacs, you can also
+use @code{emacs-mule-unix} as coding system.  GNU Emacs has often
+nicer fonts for the latter encoding.  (Different encodings can be used 
+for different Lisps, see @ref{Multiple Lisps}.)
 
 @end table
 
@@ -1811,6 +1824,7 @@
 buffers. An example use is to enable @code{slime-autodoc-mode}
 (@pxref{slime-autodoc-mode}).
 
+ at anchor{slime-connected-hook}
 @vindex slime-connected-hook
 @item slime-connected-hook
 This hook is run when @SLIME{} establishes a connection to a Lisp
@@ -2351,7 +2365,7 @@
 @section ASDF
 
 @acronym{ASDF} is a popular ``system construction tool''.  The package
- at code{slime-asdf} provides some commands for to load and compile such
+ at code{slime-asdf} provides some commands to load and compile such
 systems from Emacs.  @acronym{ASDF} itself is not included with
 @SLIME{}; you have to load that yourself into your Lisp.  In
 particular, you must load @acronym{ASDF} before you connect, otherwise
@@ -2360,7 +2374,7 @@
 @table @kbd
 @cmditem{slime-load-system NAME}
 Compile and load an ASDF system.  The default system name is taken
-from the first file matching *.asd in the working directory
+from the first file matching *.asd in the current directory.
 @end table
 
 The package also installs some new REPL shortcuts (@pxref{Shortcuts}):
@@ -2549,7 +2563,6 @@
 @section Scratch Buffer
 
 @anchor{slime-scratch}
-
 The @SLIME{} scratch buffer, in contrib package @code{slime-scratch},
 imitates Emacs' usual @code{*scratch*} buffer.  It's just like any
 other Lisp buffer, except for the command bound to @kbd{C-j}.




More information about the slime-cvs mailing list