[BUG] error occur, when `ecb-remote-path''s argument is nil.

S.P.Tseng <[email protected]> Wed, 10 Jun 2009 11:26:09 +0800
Newsgroups gmane.emacs.code-browser
Message-ID <[email protected]>
When current buffer is *scratch* and M-x ecb-activate. Function
`ecb-remote-path' will get nil as its argument. Then `tramp-tramp-file-p' will
not get a string as its argument.

Here is the Backtrace

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match("\\`/\\([^[/:]+\\|[^/]+]\\):" nil)
  tramp-tramp-file-p(nil)
  ecb-remote-path(nil)
  ecb-stealthy-vc-check--sources(restart)
  ecb-stealthy-vc-check-in-sources-buf()
  ecb-stealthy-updates(t)
  ecb-layout-window-sync()
  ecb-window-sync()
  ecb-activate--impl()
  ecb-activate-internal()
  ecb-minor-mode(1)
  ecb-activate()
  winring-set-name("ECB")
  (let ((name ...)) (if (string-equal name "") (setq name ...)) (winring-save-current-configuration) (delete-other-windows) (switch-to-buffer winring-new-config-buffer-name) (winring-set-name name))
  winring-new-configuration(nil)
  call-interactively(winring-new-configuration nil nil)


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects