[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp and Zope.
From: |
Artur Maciąg |
Subject: |
Re: Tramp and Zope. |
Date: |
06 Aug 2002 12:56:32 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
address@hidden (Kai Großjohann) writes:
> Oh, sorry. Please replace let with let* in that function. (In the
> function tramp-run-real-handler.) If it still fails, the *tramp/foo*
> buffer, the *debug tramp/foo* buffer and a backtrace would be nice.
After C-x C-f /ftp:address@hidden:/artgabi/portfolio/index_html
----------------------------------------------------------------------
*Backtrace* :
Debugger entered--Lisp error: (error "Not a tramp file name:
/tmp/#!ftp:address@hidden:!artgabi!portfolio!index_html#")
signal(error ("Not a tramp file name:
/tmp/#!ftp:address@hidden:!artgabi!portfolio!index_html#"))
error("Not a tramp file name: %s"
"/tmp/#!ftp:address@hidden:!artgabi!portfolio!index_html#")
(if (string-match (nth 0 tramp-file-name-structure) name) nil (error "Not a
tramp file name: %s" name))
(unless (string-match (nth 0 tramp-file-name-structure) name) (error "Not a
tramp file name: %s" name))
(progn (unless (string-match ... name) (error "Not a tramp file name: %s"
name)) (setq method (match-string ... name)) (if (and method ...)
(tramp-dissect-multi-file-name name) (let ... ... ...)))
(unwind-protect (progn (unless ... ...) (setq method ...) (if ... ... ...))
(set-match-data save-match-data-internal))
(let ((save-match-data-internal ...)) (unwind-protect (progn ... ... ...)
(set-match-data save-match-data-internal)))
(save-match-data (unless (string-match ... name) (error "Not a tramp file
name: %s" name)) (setq method (match-string ... name)) (if (and method ...)
(tramp-dissect-multi-file-name name) (let ... ... ...)))
(let (method) (save-match-data (unless ... ...) (setq method ...) (if ... ...
...)))
tramp-dissect-file-name("/tmp/#!ftp:address@hidden:!artgabi!portfolio!index_html#")
(let* ((v1 ...) (v1-multi-method ...) (v1-method ...) (v1-user ...) (v1-host
...) (v1-path ...)) (with-parsed-tramp-file-name file2 v2 (when ... ...)
(unless ... ...) (unless ... ...) (if ... ... ...)))
(with-parsed-tramp-file-name file1 v1 (with-parsed-tramp-file-name file2 v2
(when ... ...) (unless ... ...) (unless ... ...) (if ... ... ...)))
(save-excursion (with-parsed-tramp-file-name file1 v1
(with-parsed-tramp-file-name file2 v2 ... ... ... ...)))
(cond ((not ...) nil) ((not ...) t) (t (save-excursion ...)))
tramp-handle-file-newer-than-file-p("/tmp/#!ftp:address@hidden:!artgabi!portfolio!index_html#"
"/ftp:address@hidden:/artgabi/portfolio/index_html")
apply(tramp-handle-file-newer-than-file-p
("/tmp/#!ftp:address@hidden:!artgabi!portfolio!index_html#"
"/ftp:address@hidden:/artgabi/portfolio/index_html"))
(progn (apply (cdr fn) args))
(unwind-protect (progn (apply ... args)) (set-match-data
save-match-data-internal))
(let ((save-match-data-internal ...)) (unwind-protect (progn ...)
(set-match-data save-match-data-internal)))
(save-match-data (apply (cdr fn) args))
(catch (quote tramp-forward-to-ange-ftp) (save-match-data (apply ... args)))
(if fn (catch (quote tramp-forward-to-ange-ftp) (save-match-data ...))
(tramp-run-real-handler operation args))
(let ((fn ...)) (if fn (catch ... ...) (tramp-run-real-handler operation
args)))
tramp-file-name-handler(file-newer-than-file-p
"/tmp/#!ftp:address@hidden:!artgabi!portfolio!index_html#"
"/ftp:address@hidden:/artgabi/portfolio/index_html")
file-newer-than-file-p("/tmp/#!ftp:address@hidden:!artgabi!portfolio!index_html#"
"/ftp:address@hidden:/artgabi/portfolio/index_html")
after-find-file(nil t)
find-file-noselect-1(#<buffer index_html>
"/ftp:address@hidden:/artgabi/portfolio/index_html" nil nil
"/ftp:address@hidden:/artgabi/portfolio/index_html" (1 -1))
find-file-noselect("/ftp:address@hidden:/artgabi/portfolio/index_html" nil
nil nil)
find-file("/ftp:address@hidden:/artgabi/portfolio/index_html" nil)
call-interactively(find-file)
----------------------------------------------------------------------
And there's no buffers like *tramp/foo* or *debug tramp/foo*
tramp-debug-buffer is set to true by:
(setq tramp-debug-buffer t) C-x C-e
When I try again file loads, but when I try to save it Emacs says:
----------------------------------------------------------------------
*Messages *
Wrote /home/artur/.emacsowe/!ftp:address@hidden:!artgabi!portfolio!index_html~
apply: Wrong number of arguments: #[(start end filename &optional append visit)
"Ć!Ç!žŠžŁĐ @ address@hidden 8!Ę
!Ë!žŚ1 ,Ě>?žĽ1 Í
\"Î>-žŁ<