[Top][All Lists]

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

Re: Tramp with Dired produces unwanted //DIRED// line

From: Michael Albinus
Subject: Re: Tramp with Dired produces unwanted //DIRED// line
Date: Sat, 27 Mar 2021 09:07:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

"Felix E. Klee" <> writes:

Hi Felix,

>> Perhaps you try the recent Tramp from GNU ELPA, and check
>> whether it behaves better?
> Thanks for the suggestion! I now have installed from
> <>, but it doesn’t work. If I try to open:
>     /
> then I get:
>     tramp-file-name-handler: Invalid function: tramp-compat-with-mutex
> The same happens with `/ssh:` connections. The function
> `tramp-compat-with-mutex` does exist.

Tramp fights with Emacs compatibility since ever. There is a special
package tramp-compat.el, which changes between different Tramp versions,
and it is not forward compatible. That is, if it is loaded already in
your Emacs 27.1 (running Tramp 2.4.3), there will be problems to
overload it with Tramp 2.5.0 in the running Emacs session.

So you might adapt your ~/.emacs such a way that Tramp is in the
load-path, and you might start a new Emacs instance. As a proof of
concept, try

# emacs -Q -L ~/.emacs.d/elpa/tramp-

Best regards, Michael.

reply via email to

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