[slime-devel] slime-tramp

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


Hello

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)

-------8<-------
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
59c59
<              (error "No filename-translations for hostname: %s" hostname)))
---
>              (list #'identity #'identity)))
-------8<-------

Is this right? Am I doing something wrong?

Thanks.

-- 
+-----------------
| 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