tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tramp and Zope.


From: Kai Großjohann
Subject: Re: Tramp and Zope.
Date: Thu, 05 Sep 2002 18:48:52 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

address@hidden (Kai Großjohann) writes:

> address@hidden (Artur Maciąg) writes:
>
>>   Can I test it somehow ? 
>>   Error occurs with options -q --no-site-file, too.
>
> Well, the variable auto-save-file-name-transforms says to write
> auto-save files to a local file.  Now the question is which Tramp
> function gets invoked when auto-saving so that this Tramp function
> can get improved to do the right thing with these files.
>
> Ah, here's an idea: you change the function tramp-file-name-handler
> to print a message with the operation and the args, and then you do
> stuff normally, and then in the message output you look where was
> Tramp invoked from auto-save.  (You can find that spot by looking for
> the filename that you got in the previous backtrace.)
>
> I guess it will be obvious what to do as soon as this information is
> there.
>
> (defun tramp-file-name-handler (operation &rest args)
>   "Invoke tramp file name handler.
> Falls back to normal file name handler if no tramp file name handler exists."
>   (message "Tramp-fh: op %s args %s" operation args)
>   (let ((fn (assoc operation tramp-file-name-handler-alist)))
>     (if fn
>       (catch 'tramp-forward-to-ange-ftp
>           (message "Tramp-call: op %s args %s" (cdr fn) args)
>         (save-match-data (apply (cdr fn) args)))
>       (tramp-run-real-handler operation args))))
>
> This might provide useful information.  Be sure to raise
> message-log-max so that the messages don't get lost.

It's been a while since I sent this message, but I can't remember an
answer.  Do you still have the problem?  Do you still want to
investigate it?

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]