On Monday 01 October 2007, Michael Albinus wrote:
Ville Skyttä <scop(a)xemacs.org> writes:
>> (or (functionp 'process-file)
>> (defalias 'process-file 'tramp-handle-process-file))
>>
>> The other altrnative would be to call `tramp-handle-process-file'
>> directly.
>
> This was the first approach I tried. However, it doesn't work for me,
> evaluating (vc-user-login-name "/[some.host]foo/bar") I get this:
>
> Debugger entered--Lisp error: (wrong-type-argument
> number-char-or-marker-p nil)
Hmm, you're right. The implementation of `process-file' in Tramp 2.0
is stupid, indeed. It does not return the proper exit code.
Ouch:(
I hope we can solve the GPL licensing issues sometime. Then we could
go forward with Tramp 2.1 in XEmacs, which has been declared as stable
Tramp version meanwhile.
Hopefully so. However this is something I'm afraid we'll need to take care of
without waiting for that to happen, so if you (or someone else) has other
suggestions to try, I'd be glad to hear about them (and even more glad to see
patches ;))
If nothing comes up, I'm inclined to apply the ugly patch I posted and
accompany it with a warning that it won't work for tramp >= 2.1 and perhaps
additionally wrap it so that if it fails, it does so with an understandable
explanation what happened.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta