[slime-devel] slime-tramp

Francisco Vides =??B?RmVybsOhbmRleg==?= fvides at dedaloingenieros.com
Fri Apr 3 22:18:58 UTC 2009


I'm using slime for editing remote files via tramp. It works fine, but when it 
slime-filename-translations is not nil and try to work locally, it shows the 
following error:
No filename-translations for hostname: <myhostname>

I've taken a look at the code, and found that slime-find-filename-translators 
tries to find a traslator if both hostname  and slime-filename-translations 
are not nil. But if it fails, then throws an error.

IMHO it could just return (list #'identity #'identity) and try to work 
locally. I've changed it locally and works for me (patch following)

Index: slime-tramp.el
RCS file: /project/slime/cvsroot/slime/contrib/slime-tramp.el,v
retrieving revision 1.3
diff -r1.3 slime-tramp.el
<              (error "No filename-translations for hostname: %s" hostname)))
>              (list #'identity #'identity)))

Is this right? Am I doing something wrong?


| Francisco Vides Fernández <fvides at dedaloingenieros.com>
| Director técnico.
| Dédalo Ingenieros http://www.dedaloingenieros.com/
| PGP: http://pgp.rediris.es:11371/pks/lookup?op=index&search=0xB1299C15

More information about the slime-devel mailing list