[slime-devel] Filename translator example in manual

Abhishek Reddy arbscht at gmail.com
Tue Dec 11 12:42:20 UTC 2007


Hi,

In subsection 8.1.3 of the manual, the example code for
slime-create-filename-translator contains a misleading error.  It uses
:machine-instance "remote.example.com" and :remote-host "remote",
whereas the those values should be swapped.

There's also a typo ("transaltions") in the relevant text before the
example code.

Diff:

Index: slime.texi
===================================================================
RCS file: /project/slime/cvsroot/slime/doc/slime.texi,v
retrieving revision 1.61
diff -u -r1.61 slime.texi
--- slime.texi  27 Nov 2007 13:16:52 -0000      1.61
+++ slime.texi  11 Dec 2007 12:22:51 -0000
@@ -2137,11 +2137,11 @@
 (and vice-versa). Assuming the remote machine's host name is
 @code{remote.example.com}, @code{cl:machine-instance} returns
 ``remote'' and we login as the user ``user'' we can use @SLIME{}'s
-built-in mechanism to setup the proper transaltions by simply doing:
+built-in mechanism to setup the proper translations by simply doing:

 @example
-(push (slime-create-filename-translator :machine-instance "remote.example.com"
-                                        :remote-host "remote"
+(push (slime-create-filename-translator :remote-host "remote.example.com"
+                                        :machine-instance "remote"
                                         :username "user")
       slime-filename-translations)
 @end example


Cheers,
Abhishek



More information about the slime-devel mailing list