Jon Schewe <[email protected]> writes: Hi Jon,
>> I see that my load-path has ~/.emacs.d/elpa/tramp-2.5.0.4 in my load >> path before /usr/share/emacs/26.3/lisp/net, so that should make the >> new >> version load rather than the old version. >> > >> However when I run emacs without "--no-init" I find that tramp- >> version >> is "2.3.5.26.3" and I cannot open tramp paths. > > I found a clue here. I printed out "load-path" in my init file and and > the end of my init file and it doesn't include the directories in > ~/.emacs.d/elpa. However after emacs finishes loading I find the > directories in ~/.emacs.d/elpa/ added to load-path. > So it seems that emacs is adding to load-path after my init file. You should have something like (custom-set-variables '(package-selected-packages '(tramp ... at the end of your .emacs. This does adapting the load-path. > I suspect I have more reading to do on how loading is working in emacs > these days. The other problem is compilation of Tramp. Have you tried to open the link I gave the last message? Alternatively, you could read the same in ~/.emacs.d/elpa/tramp-2.5.0.4/README If this fails, simply remove all *.elc files from that directory, and start a new Emacs session. And I will interview you tomorrow, how to improve that text :-) Best regards, Michael.
