[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tramp with Dired produces unwanted //DIRED// line
From: |
Felix E. Klee |
Subject: |
Re: Tramp with Dired produces unwanted //DIRED// line |
Date: |
Fri, 2 Apr 2021 16:06:10 +0800 |
On Mon, 29 Mar 2021 at 22:18, Michael Albinus <michael.albinus@gmx.de>
wrote:
> Hmm, this shall work. I suppose you have installed Tramp 2.5.0.2 via
> the package mechanism, using the same Emacs 27.1?
Yes.
> What happens, if you remove all *.elc files from
> ~/.emacs.d/elpa/tramp-2.5.0.2/ ?
Thanks, that did the trick! Now I can start Emacs as below, and I can
log into the remote machine with Tramp 2.5.0.2.
emacs -Q -L ~/.emacs.d/elpa/tramp-2.5.0.2
However, at the end of the Dired buffer, I still get:
//DIRED// 69 70 128 130 188 200 258 273 331 345 403 417 475 493 551
566 624 638 696 711 769 784 842 857 915 930 988 1002 1060 1078 1136
1151 1209 1224 1282 1295 1353 1367 1425 1438 1496 1509 1567 1580
1638 1645 1703 1711 1769 1777 1835 1839 1897 1903 1961 1969 2027
2036 2094 2103 2161 2171 2229 2237 2295 2304 2362 2370 2428 2434
2492 2499 2557 2565 2623 2632 2690 2696 2754 2764 2822 2829 2887
2897 2955 2962 3020 3046 3104 3112 3170 3174 3232 3236 3294 3308
3366 3374 3432 3444 3502 3508 3566 3570 3628 3632 3690 3711 3769
3773 3831 3837
And, I just figured out that I don’t even need to load tramp explicitly.
Now, Tramp 2.5.0.2 from Elpa works also when I start Emacs as usual with
my standard configuration. That’s all after deleting the `.elc` files.
> And finally, this morning, I have added the following to Tramp's FAQ:
>
> • I get an error ‘tramp-file-name-handler: Invalid function:
> tramp-compat-with-mutex’
>
> 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?
Thanks, but no need for that anymore!
Still, the issue with the Dired buffer remains.
- Re: Tramp with Dired produces unwanted //DIRED// line,
Felix E. Klee <=