tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp (2.8.0-pre nil/nil); TRAMP is triggered by DOS file names


From: Michael Albinus
Subject: Re: tramp (2.8.0-pre nil/nil); TRAMP is triggered by DOS file names
Date: Thu, 20 Feb 2025 16:21:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Po Lu <luangruo@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?

Attachment: txt2ro6lPkxdd.txt
Description: Text Data

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]