[slime-devel] tramp-make-tramp-file-name

my version of tramp-make-tramp-file-name (emacs 22.0.50.1) takes 5 arguments, not 4 as in slime-create-filename-translator. is this a bug or does this function have a differenet api on other emacs? -- -Marco Ring the bells that still can ring. Forget the perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen

I think this is a tramp version number issue, not a difference between xemacs and emacs. The sourceforge page (http://sourceforge.net/project/showfiles.php?group_id=34545) seems to be painfully out of date. The latest file release is 2002-04-11. These versions contain a tramp-make-tramp-file-name that has 5 arguments. I'm guessing that it is a version closer to this that you have (presumably preinstalled with gnuemacs). I had gotten the latest version because I was having problems with the version that came preinstalled on xemacs. The project's homepage appears to now be at http://savannah.gnu.org/projects/tramp/ With the most recent version released on 2005-12-11 http://ftp.gnu.org/gnu/tramp/tramp-2.1.5.tar.gz Looking back through the cvs commits, it looks like here is when that changed: http://cvs.savannah.gnu.org/viewcvs/tramp/lisp/tramp.el?root=tramp&r1=2.381& r2=2.382 This is a rather large change that removed multi-hop methods and added proxies. Dated Mon Jul 26 19:36:34 2004 UTC Other checking comments lead me to believe that this changed as it went to tramp 2.0. I don't know how you want to deal with this. The change was long enough ago that there are probably many people like me who have a more recent version, as well as many people for whom the preinstalled version has been working just fine. -----Original Message----- From: slime-devel-bounces@common-lisp.net [mailto:slime-devel-bounces@common-lisp.net] On Behalf Of Marco Baringer Sent: Sunday, March 12, 2006 8:18 AM To: slime-devel@common-lisp.net Subject: [slime-devel] tramp-make-tramp-file-name my version of tramp-make-tramp-file-name (emacs 22.0.50.1) takes 5 arguments, not 4 as in slime-create-filename-translator. is this a bug or does this function have a differenet api on other emacs? -- -Marco Ring the bells that still can ring. Forget the perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen _______________________________________________ slime-devel site list slime-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/slime-devel

Marco Baringer <mb <at> bese.it> writes:
my version of tramp-make-tramp-file-name (emacs 22.0.50.1) takes 5 arguments, not 4 as in slime-create-filename-translator. is this a bug or does this function have a differenet api on other emacs?
I use old tramp from 2.0.44 from debian sarge. And that tramp-make-tramp-filename accepts five arguments. I propose following solution: ==== 1283a1284,1295
(defun slime-make-tramp-file-name (username remote-host lisp-filename) "Old (with multi-hops) tramp compatability function" (if (boundp 'tramp-multi-methods) (tramp-make-tramp-file-name nil nil username remote-host lisp-filename) (tramp-make-tramp-file-name nil username remote-host lisp-filename)))
1307c1319 < (tramp-make-tramp-file-name nil ---
(slime-make-tramp-file-name
====

On Mon Mar 20 2006 at 05:43, Alexey Antipov <alexey.antipov@gmail.com> wrote:
I use old tramp from 2.0.44 from debian sarge. And that tramp-make-tramp-filename accepts five arguments. I propose following solution:
Thanks. I had just hard-coded the extra nil to make mine work. I vote for including your patch in the next update. -Craig McDaniel
participants (4)
-
Alexey Antipov
-
Craig McDaniel
-
Marco Baringer
-
Nathan Bird