[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Invalid function: with-mutex
From: |
Colin Baxter |
Subject: |
Re: Invalid function: with-mutex |
Date: |
Thu, 03 Jan 2019 10:37:43 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
>>>>> Michael Albinus <address@hidden> writes:
> Colin Baxter <address@hidden> 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
>>
>> address@hidden:/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
address@hidden