>>>>> Michael Albinus <[email protected]> writes:

    > Colin Baxter <[email protected]> writes: Hi Colin,

    >> Using tramp-2.4.1 to ssh a remote host, I get the following
    >> error:
    >> 
    >> tramp-file-name-handler: Invalid function: with-mutex
    >> 
    >> It seems to occur immediately after entering the colon, as in
    >> 
    >> username@host:/path/to/file
    >> 
    >> I get the same error with emacs-26 and emacs-27 (master), and I'm
    >> on 3.16.0-7-686-pae #1 SMP Debian 3.16.59-1 (2018-10-03) i686
    >> GNU/Linux.

    > `with-mutex' is a new function in Emacs 26. If you get an error
    > about, something basic is wrong.

    > Furthermore, Tramp wraps the call to ´with-mutex' in
    > `tramp-compat-with-mutex'. Tramp 2.4.1 is compatible with Emacs
    > back to version 24.

    > Could you pls try to call

    > # emacs -Q -L /path/to/tramp-2.4.1/lisp

Using various emacs:

1. emacs-24.4

emacs-24.4 -Q -L /path/to/tramp-2.4.1/lisp <RET>

Error: "Symbol's function definition is void: cl-struct-define"

2. emacs-25.3

emacs-25.3 -Q -L /path/to/tramp-2.4.1/lisp <RET>

Works.

3. emacs-26.1

emacs-26.1 -Q -L /path/to/tramp-2.4.1/lisp <RET>

Error: "Invalid function: with-mutex"

4. emacs-27.0.50 (master)

src/emacs -Q -L /path/to/tramp-2.4.1/lisp <RET>

Error: "Invalid function: with-mutex"

Tramp works if we use the tramp package that comes with emacs-27.0.50,
via

src/emacs -Q <RET>
M-x load-library <RET> tramp <RET>



Best wishes,

Colin.

-- 
Colin Baxter
[email protected]

_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to