--bug report follows this line--
Emacs : GNU Emacs 20.7.1 (i386-*-nt5.0.2195)
of Tue Jun 13 2000 on buffy
Package: tramp ($Id: tramp.el,v 2.12 2001/03/26 05:03:20 daniel Exp $)
current state:
==============
(setq
tramp-ls-command nil
tramp-test-groks-nt nil
tramp-file-exists-command nil
tramp-current-method nil
tramp-current-user nil
tramp-current-host nil
tramp-auto-save-directory "d:/temp"
tramp-default-method "u"
tramp-rsh-end-of-line "\n"
tramp-remote-path '("/ncsu/rcstools/bin" "/bin" "/usr/bin" "/usr/sbin"
"/usr/local/bin" "/usr/ccs/bin" "/local/bin"
"/local/freeware/bin" "/local/gnu/bin"
"/usr/freeware/bin" "/usr/pkg/bin")
tramp-login-prompt-regexp ".*ogin: *$"
tramp-password-prompt-regexp "^.*\\([pP]assword\\|passphrase.*\\):^@?
*$"
tramp-wrong-passwd-regexp "^.*\\(Permission denied.\\|Login
[Ii]ncorrect\\|Received signal [0-9]+\\|Connection
\\(refused\\|closed\\)\\|Sorry, try again.\\|Name or service not
known\\).*$"
tramp-temp-name-prefix "tramp."
tramp-file-name-structure
'("\\`/r\\(@\\([a-z0-9]+\\)\\)?:\\(\\([-a-z0-9_#]+\\)@\\)?\\([-a-z0-9.]+\\):\\(.*\\)\\'"
2 4 5 6)
tramp-file-name-regexp "\\`/r[@:]"
tramp-make-tramp-file-format "/r@%m:%u@%h:%p"
tramp-end-of-output "/////"
shell-prompt-pattern "^.*/ncsu/tlroche> "
backup-by-copying nil
backup-by-copying-when-linked nil
backup-by-copying-when-mismatch nil
)
If I'm in a dired buffer accessed by tramp1, and I 'C' on a file (e.g.
driveScinot.pl) to copy it, I get the appropriate where-to prompt,
e.g.
> Copy [-p]
> /r@u:[EMAIL PROTECTED]:/local/dev/tlroche/drivers/
but if I then append a windows path, e.g. so as to obtain
/r@u:[EMAIL PROTECTED]:/local/dev/tlroche/drivers/d:/temp/
I get the following *Backtrace*. However, M-x copy-file, under the
same circumstances, works! Anyway, the error is
*Backtrace*
> Signaling: (wrong-type-argument stringp nil)
> call-process("pscp" nil #<buffer *tramp output*> nil nil "-p" "-q"
> "-r" "-pw" "password"
> "[EMAIL PROTECTED]:\"/local/dev/tlroche/drivers/driveScinot.pl\""
> "d:/temp/driveScinot.pl")
FWIW tramp-method "u" is scp-over-ssh, and works well otherwise. I get
the same error with my method "t" (ssh with mimencode).
> apply(call-process "pscp" nil #<buffer *tramp output*> nil (nil "-p"
> "-q" "-r" "-pw" "password"
> "[EMAIL PROTECTED]:\"/local/dev/tlroche/drivers/driveScinot.pl\""
> "d:/temp/driveScinot.pl"))
> tramp-do-copy-or-rename-file(copy
> "/r@u:[EMAIL PROTECTED]:/local/dev/tlroche/drivers/driveScinot.pl"
> "d:/temp/driveScinot.pl" nil t)
>
>tramp-handle-copy-file("/r@u:[EMAIL PROTECTED]:/local/dev/tlroche/drivers/driveScinot.pl"
> "d:/temp/driveScinot.pl" nil t)
> apply(tramp-handle-copy-file
> ("/r@u:[EMAIL PROTECTED]:/local/dev/tlroche/drivers/driveScinot.pl"
> "d:/temp/driveScinot.pl" nil t))
> tramp-file-name-handler(copy-file
> "/r@u:[EMAIL PROTECTED]:/local/dev/tlroche/drivers/driveScinot.pl"
> "d:/temp/driveScinot.pl" nil t)
>
>copy-file("/r@u:[EMAIL PROTECTED]:/local/dev/tlroche/drivers/driveScinot.pl"
> "d:/temp/driveScinot.pl" nil t)
>
>dired-copy-file("/r@u:[EMAIL PROTECTED]:/local/dev/tlroche/drivers/driveScinot.pl"
> "d:/temp/driveScinot.pl" nil)
> byte-code(<linenoise> [file-creator from to
> dired-overwrite-confirmed overwrite success-count dired-remove-file
> message "%s: %d of %d" dired-add-file operation total
> actual-marker-char] 5)
> #[(from) <linenoise> [name-constructor from to operation
> skipped overwrite nil dired-log "Cannot %s to same file: %s\n"
> dired-make-relative file-exists-p (format "Type SPC or `y' to
> overwrite file `%s',\nDEL or `n' to skip to next,\nESC or `q' to
> not overwrite any of the remaining files,\n`!' to overwrite all
> remaining files with no more questions." to) dired-query
> overwrite-query "Overwrite `%s'?" dired-file-marker err (byte-code
> <linenoise> [file-creator from to dired-overwrite-confirmed
> overwrite success-count dired-remove-file message "%s: %d of %d"
> dired-add-file operation total actual-marker-char] 5) (...)
> help-form dired-overwrite-confirmed marker-char actual-marker-char]
>
>5]("/r@u:[EMAIL PROTECTED]:/local/dev/tlroche/drivers/driveScinot.pl")
> mapcar(#[(from) <linenoise> [name-constructor from to operation
> skipped overwrite nil dired-log "Cannot %s to same file: %s\n"
> dired-make-relative file-exists-p (format "Type SPC or `y' to
> overwrite file `%s',\nDEL or `n' to skip to next,\nESC or `q' to not
> overwrite any of the remaining files,\n`!' to overwrite all
> remaining files with no more questions." to) dired-query
> overwrite-query "Overwrite `%s'?" dired-file-marker err (byte-code
> <linenoise> [file-creator from to dired-overwrite-confirmed
> overwrite success-count dired-remove-file message "%s: %d of %d"
> dired-add-file operation total actual-marker-char] 5) (...)
> help-form dired-overwrite-confirmed marker-char actual-marker-char]
> 5]
>
>("/r@u:[EMAIL PROTECTED]:/local/dev/tlroche/drivers/driveScinot.pl"))
> dired-create-files(dired-copy-file "Copy [-p]"
>
>("/r@u:[EMAIL PROTECTED]:/local/dev/tlroche/drivers/driveScinot.pl")
> #[(from) <linenoise> [from target expand-file-name
> file-name-nondirectory] 3] 67)
> dired-do-create-files(copy dired-copy-file "Copy [-p]" nil 67 nil
> dired-archive-p)
> dired-do-copy(nil)
> call-interactively(dired-do-copy)
> recursive-edit()
> byte-code(<linenoise>
> [debugger-buffer buffer-read-only print-length print-escape-newlines
> standard-output debugger-args pop-to-buffer nil erase-buffer
> set-buffer-multibyte t 50 backtrace debugger-mode search-forward "\n
> debug(" 1 debugger-reenable (lambda debug) "Entering:\n" debug
> backtrace-debug 3 delete-char 42 0 exit "Return value: " prin1 10 32
> error "Signaling: " "Beginning evaluation of function call form:\n"
> message "" recursive-edit debugger-value inhibit-trace] 3)
> debug(error (error "No previous locations for find-tag invocation"))
> signal(error ("No previous locations for find-tag invocation"))
> error("No previous locations for find-tag invocation")
> pop-tag-mark()
> call-interactively(pop-tag-mark)
FWIW, [EMAIL PROTECTED]