On 14 Oct 2002, Michael Albinus wrote: > Tim Connors <[EMAIL PROTECTED]> writes: > > > So I installed the CVS version of tramp a week or so ago. I just tried > > to load a multihop file, and it failed with "Not a tramp file name: > > >/[multi/ssh:tconnors@hexane/ssh:[EMAIL PROTECTED]]/home/tconnors/journal/J020925.1html" > > According to the provided backtrace, tramp-dissect-file-name has a > problem parsing multi-hop filenames with XEmacs syntax. In the GNU > Emacs case it tolerates the filename. > > Could you, please, try the following patch? I have no XEmacs at hand > just now (I will have tonight, at home). If OK, I'll commit the patch > to CVS. Kai is very busy these days.
Hmmm, doesn't work. I just learnt how to use the emacs lisp debugger (yay!), and stepped through the code. I am as yet unsure what (nth) is meant to do, (it seems to return "C-b" perhaps for the method match), and don't yet know the difference to (string-match) and (match-string), so can't exactly help debugging this one, but what I see happening is you are trying to get method from a tramp-file-name-structure, when you should perhaps be getting it from tramp-multi-file-name-structure. There is no match for either match or method, so the (if (and method..... test fails because method is set to nil. The values I have for tramp-file-name-structure (set by the default debian scripts - are these wrong?) and tramp-multi-file-name-structure are ^/\[\(\([a-zA-Z_0-9-]+\)/\)?\(\([^:@/ ]*\)@\)?\([a-zA-Z0-9_.#-]*\)\]\(.*$\) (method = 2, user=4, host=5, file=6) ^/\[\(\([a-zA-Z_0-9-]+\)\)?\(\(/%s\)+\)?\]\(.*$\) (method = 2, hops=3, path=-1) respectively. -- TimC -- http://astronomy.swin.edu.au/staff/tconnors/ Quantum Mechanics is a lovely introduction to Hilbert Spaces! _______________________________________________ Tramp-devel mailing list [EMAIL PROTECTED] http://mail.freesoftware.fsf.org/mailman/listinfo/tramp-devel
