Somewhere around line 188 of slime.el:
---------------------------------------- Example:
Assuming you run emacs locally and connect to slime running on the machine 'soren' and you can connect with the username 'animaliter':
(push (list "^soren$" (lambda (emacs-filename) (subseq (length "/ssh:animaliter@soren:") emacs-filename)) (lambda (lisp-filename) (concat "/ssh:animaliter@soren:" lisp-filename))) slime-filename-translations) ----------------------------------------------------
In the example, the arguments to subseq are backwards.