Enter your bug report in this message, including as much detail as you
possibly can about the problem, what you did to cause it and what the
local and remote machines are.

If you can give a simple set of instructions to make this bug happen
reliably, please include those.  Thank you for helping kill bugs in
TRAMP.

Another useful thing to do is to put (setq tramp-debug-buffer t) in
the ~/.emacs file and to repeat the bug.  Then, include the contents
of the *tramp/foo* buffer and the *debug tramp/foo* buffer in your bug
report.

--bug report follows this line--


I'm getting the following error sometimes at `kill-emacs'.  This is a
backtrace.  It seems to me that in `tramp-completion-mode' there is an
assumption that in Emacs the variable `last-input-event' is either
'tab or an integer.  In this case, I have confirmed it is the symbol
'exit-emacs.  Maybe the problem is before this assumption; but if so,
maybe `tramp-completion-mode' should abort more gracefully when
conditions are not as expected.  I don't know, I haven't figured out
what is really going on yet.

Debugger entered--Lisp error: (wrong-type-argument integerp nil)
  char-equal(nil 63)
  (or (char-equal (funcall ... last-input-event) 63) (char-equal (funcall ... 
last-input-event) 9) (char-equal (funcall ... last-input-event) 32))
  (and (functionp (quote event-to-character)) (not (event-modifiers last-input-event)) 
(or (char-equal ... 63) (char-equal ... 9) (char-equal ... 32)))
  (or (equal last-input-event (quote tab)) (and (integerp last-input-event) (not ...) 
(or ... ... ...)) (and (functionp ...) (not ...) (or ... ... ...)))
  (cond ((not tramp-unified-filenames) t) ((string-match "^/.*:.*:$" file) nil) 
((string-match ... file) (member ... ...)) ((or ... ... ...) t))
  tramp-completion-mode("/home")
  tramp-completion-handle-file-name-directory("/home")
  apply(tramp-completion-handle-file-name-directory "/home")
  tramp-completion-file-name-handler(file-name-directory "/home")
  file-name-directory("/home")
  file-truename("/home")
  apply(file-truename "/home")
  tramp-completion-run-real-handler(file-truename ("/home"))
  tramp-completion-file-name-handler(file-truename "/home")
  file-truename("/home" (97) (nil))
  file-truename("/home/swift" (97) (nil))
  file-truename("/home/swift/.emacs-places")
  set-visited-file-name("/home/swift/.emacs-places" t)
  write-file("/home/swift/.emacs-places")
  save-place-alist-to-file()
  save-place-kill-emacs-hook()
  run-hooks(kill-emacs-hook)
  kill-emacs()
  save-buffers-kill-emacs(nil)
  call-interactively(save-buffers-kill-emacs)


Emacs  : GNU Emacs 21.3.1 (i386-pc-linux-gnu, X toolkit)
 of 2003-10-31 on raven, modified by Debian
Package: tramp (2.0.38)

current state:
==============
(setq
 tramp-ls-command nil
 tramp-test-groks-nt nil
 tramp-file-exists-command nil
 tramp-current-multi-method nil
 tramp-current-method nil
 tramp-current-user nil
 tramp-current-host nil
 tramp-auto-save-directory "~/.tramp-autosave"
 tramp-default-method "rsync"
 tramp-rsh-end-of-line "\n"
 tramp-default-password-end-of-line "\n"
 tramp-remote-path '("~/bin" "/bin" "/usr/bin" "/usr/sbin" "/usr/local/bin" "`athdir 
/mit/sipb`")
 tramp-login-prompt-regexp ".*ogin: *"
 tramp-password-prompt-regexp "^.*\\([pP]assword\\|passphrase.*\\):
 tramp-wrong-passwd-regexp "^.*\\(Connection \\(?:\\(?:clo\\|refu\\)sed\\)\\|Host key 
verification failed\\.\\|Login \\(?:[Ii]ncorrect\\)\\|Name or service not 
known\\|\\(?:Permission denied\\|Sorry, try again\\)\\.\\).*\\|^.*\\(Received signal 
[0-9]+\\).*"
 tramp-yesno-prompt-regexp "\\(Are you sure you want to continue connecting 
(yes/no)\\?\\)\\s-*"
 tramp-yn-prompt-regexp "\\(Store key in cache\\? (y/n)\\)\\s-*"
 tramp-temp-name-prefix "tramp."
 tramp-file-name-structure '("^/\\(\\([a-zA-Z_0-9-]+\\):\\)?\\(\\([^:@/
]*\\)@\\)?\\([a-zA-Z0-9_.#-]*\\):\\(.*$\\)" 2
                             4 5 6)
 tramp-file-name-regexp "\\`/[^/:]+:"
 tramp-multi-file-name-structure 
'("^/\\(\\([a-zA-Z_0-9-]+\\)\\)?\\(\\(:%s\\)+\\)?:\\(.*$\\)" 2 3 -1)
 tramp-multi-file-name-hop-structure '("\\([a-zA-Z_0-9-]+\\):\\([^:@/   
]*\\)@\\([a-zA-Z0-9_.#-]*\\)" 1 2 3)
 tramp-multi-methods '("multi" "multiu")
 tramp-multi-connection-function-alist '(("telnet" tramp-multi-connect-telnet
                                          "telnet %h%n")
                                         ("rsh" tramp-multi-connect-rlogin "rsh
%h -l %u%n")
                                         ("remsh" tramp-multi-connect-rlogin
                                          "remsh %h -l %u%n")
                                         ("ssh" tramp-multi-connect-rlogin "ssh
%h -l %u%n")
                                         ("ssht" tramp-multi-connect-rlogin
                                          "ssh %h -e none -t -t -l %u%n")
                                         ("su" tramp-multi-connect-su "su -
%u%n")
                                         ("sudo" tramp-multi-connect-su "sudo -u %u -s 
-p Password:%n"))
 tramp-methods '(("smb") ("ftp")
                 ("rsync" (tramp-connection-function tramp-open-connection-rsh)
                  (tramp-remote-sh "bash --norc -i")
                  (tramp-login-program "ssh") (tramp-login-args ("-e" "none"
                                                                 "bash"
                                                                 "--norc"
                                                                 "-i"))
                  (tramp-copy-program "rsync") (tramp-copy-args ("-e" "ssh"
                                                                 "--blocking-io")) 
(tramp-copy-keep-date-arg "-t"))
                 )
 tramp-end-of-output "///89bad116d3e3f036723391f94165a242"
 tramp-coding-commands '(("mimencode -b" "mimencode -u -b" base64-encode-region
                          base64-decode-region)
                         ("mmencode -b" "mmencode -u -b" base64-encode-region
                          base64-decode-region)
                         ("recode data..base64" "recode base64..data"
                          base64-encode-region base64-decode-region)
                         ("uuencode xxx" "uudecode -o -" tramp-uuencode-region
                          uudecode-decode-region)
                         ("uuencode xxx" "uudecode -p" tramp-uuencode-region
                          uudecode-decode-region)
                         ("uuencode xxx" "tramp_uudecode" tramp-uuencode-region
                          uudecode-decode-region)
                         ("tramp_encode_with_module" "tramp_decode_with_module"
                          base64-encode-region base64-decode-region)
                         ("tramp_encode" "tramp_decode" base64-encode-region 
base64-decode-region))
 tramp-actions-before-shell '((tramp-password-prompt-regexp
                               tramp-action-password)
                              (tramp-login-prompt-regexp tramp-action-login)
                              (shell-prompt-pattern tramp-action-succeed)
                              (tramp-shell-prompt-pattern tramp-action-succeed)
                              (tramp-wrong-passwd-regexp
                               tramp-action-permission-denied)
                              (tramp-yesno-prompt-regexp tramp-action-yesno)
                              (tramp-yn-prompt-regexp tramp-action-yn)
                              (tramp-terminal-prompt-regexp tramp-action-terminal))
 tramp-multi-actions '((tramp-password-prompt-regexp
                        tramp-multi-action-password)
                       (tramp-login-prompt-regexp tramp-multi-action-login)
                       (shell-prompt-pattern tramp-multi-action-succeed)
                       (tramp-shell-prompt-pattern tramp-multi-action-succeed)
                       (tramp-wrong-passwd-regexp 
tramp-multi-action-permission-denied))
 tramp-terminal-type "dumb"
 tramp-shell-prompt-pattern "^[^#$%>\n]*[#$%>] *\\(\\[[0-9;]*[a-zA-Z] *\\)*"
 tramp-chunksize nil
 shell-prompt-pattern "^[^#$%>\n]*[#$%>] *"
 backup-by-copying nil
 backup-by-copying-when-linked nil
 backup-by-copying-when-mismatch nil
 backup-by-copying-when-privileged-mismatch 200
 file-name-handler-alist
 
'(("\\.Z\\(~\\|\\.~[0-9]+~\\)?\\'\\|\\.bz2\\'\\|\\.tgz\\'\\|\\.g?z\\(~\\|\\.~[0-9]+~\\)?\\'"
 .
    jka-compr-handler) ("^/[^/]*$" . tramp-completion-file-name-handler)
   ("\\`/[^/:]+:" . tramp-file-name-handler) ("\\.lnk\\'"
                                              . w32-symlinks-file-name-handler)
   
("\\.\\(GIF\\|JP\\(?:E?G\\)\\|P\\(?:BM\\|GM\\|NG\\|PM\\)\\|TIFF?\\|X\\(?:[BP]M\\)\\|gif\\|jp\\(?:e?g\\)\\|p\\(?:bm\\|gm\\|ng\\|pm\\)\\|tiff?\\|x\\(?:[bp]m\\)\\)\\'"
 . image-file-handler) ("^:http://\\([^/]+\\)" . eldav-handler) ("\\`/:" . 
file-name-non-special))
 )

 


_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.nongnu.org/mailman/listinfo/tramp-devel

Reply via email to