[EMAIL PROTECTED] (Kai Großjohann) writes: > [EMAIL PROTECTED] (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) _______________________________________________ Tramp-devel mailing list [EMAIL PROTECTED] http://mail.freesoftware.fsf.org/mailman/listinfo/tramp-devel
