Po Lu <luang...@yahoo.com> writes: Hi,
> Type C-h f and request that any function be described. The following > error will arise, preventing the Help buffer from being created: Tramp is *not* triggered by DOS file names. > Debugger entered--Lisp error: (void-function "get-process") > signal(void-function ("get-process")) > tramp-signal-hook-function(void-function (get-process)) > get-process("*tramp/ssh user@host*") > tramp-get-connection-process((tramp-file-name "ssh" "user" nil "host" nil > "/tmp/foo" nil)) > tramp-handle-file-remote-p("/ssh:user@host:/tmp/foo" nil nil) > apply(tramp-handle-file-remote-p ("/ssh:user@host:/tmp/foo" nil nil)) > tramp-sh-file-name-handler(file-remote-p "/ssh:user@host:/tmp/foo" nil nil) > apply(tramp-sh-file-name-handler file-remote-p ("/ssh:user@host:/tmp/foo" > nil nil)) > tramp-file-name-handler(file-remote-p "/ssh:user@host:/tmp/foo" nil nil) > file-remote-p("/ssh:user@host:/tmp/foo") > #f(compiled-function () #<bytecode 0x1293287b>)() > eval-after-load-helper("c:/djgpp/emacs/lisp/emacs-lisp/shortdoc.elc") > run-hook-with-args(eval-after-load-helper > "c:/djgpp/emacs/lisp/emacs-lisp/shortdoc.elc") > do-after-load-evaluation("c:/djgpp/emacs/lisp/emacs-lisp/shortdoc.elc") > require(shortdoc) > help-fns--mention-shortdoc-groups(lax-plist-get) > apply(help-fns--mention-shortdoc-groups lax-plist-get) > help-fns--run-describe-functions((help-fns--generalized-variable > help-fns--parent-mode help-fns--interactive-only > help-fns--mention-shortdoc-groups help-fns--mention-first-function-release > help-fns--disabled help-fns--side-effects help-fns--globalized-minor-mode > cl--generic-describe help-fns--compiler-macro) lax-plist-get) > describe-function-1(lax-plist-get) > #f(compiled-function () #<bytecode 0x10163e49>)() > help--window-setup("*Help*" #f(compiled-function () #<bytecode 0x10163e49>)) > describe-function(lax-plist-get) > funcall-interactively(describe-function lax-plist-get) > call-interactively(describe-function nil nil) > command-execute(describe-function) Instead we see the following call chain: describe-function => require(shortdoc) => file-remote-p("/ssh:user@host:/tmp/foo") => error: (void-function "get-process") The call of file-remote-p in shortdoc is triggered by Tramp's integration there. It should be harmless (always returning if Tramp is enabled). However, we see the error (void-function "get-process"). Likely, this is just for DOS builds of Emacs. Does the following patch fixes this?
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index a199417b12a..10cb564065b 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -122,7 +122,7 @@ tramp ;; Maybe we need once a real Tramp mode, with key bindings etc. ;;;###autoload -(defvar tramp-mode t +(defvar tramp-mode (not (eq system-type 'ms-dos)) "Whether Tramp is enabled. If it is set to nil, all remote file names are used literally. Don't set it manually, use `inhibit-remote-files' or `without-remote-files'
Best regards, Michael.