[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: Mon, 29 Mar 2021 16:18:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

"Felix E. Klee" <> writes:

Hi Felix,

>> 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-
> Thanks for the suggestions, but starting Emacs as above doesn’t help. I
> still get the invalid function error.

Hmm, this shall work. I suppose you have installed Tramp via the
package mechanism, using the same Emacs 27.1?

What happens, if you remove all *.elc files from
~/.emacs.d/elpa/tramp- ?

And finally, this morning, I have added the following to Tramp's FAQ:

   • I get an error ‘tramp-file-name-handler: Invalid function:

     Likely, you have a running Emacs session with loaded TRAMP, and
     you try to upgrade it to another version from GNU ELPA. Since
     TRAMP is not forward compatible, you must unload / reload it.
     Try the following steps:

          M-x tramp-unload-tramp <RET>
          M-x load-library <RET> tramp <RET>

Does this help?

Best regards, Michael.

reply via email to

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