On Sat, 2021-05-22 at 13:40 -0500, Jon Schewe wrote: > On Sat, 2021-05-22 at 15:01 +0200, Michael Albinus wrote: > > Jon Schewe < > > [email protected] > > > > > writes: > > > > Hi Jon, > > > > > I tried installing tramp-2.5.0.4 from GNU ELPA and it installed > > > into my > > > home directory, but doesn't seem to want to load, I keep getting > > > the > > > version of tramp that is installed with Emacs. > > > > I guess it is installed at "~/.emacs.d/elpa/tramp-2.5.0.4". I > > suppose, > > this directory is added to your load-path. > > Correct. So I have 2 copies of tramp installed right now: > > /usr/share/emacs/26.3/lisp/net > ~/.emacs.d/elpa/tramp-2.5.0.4 > > 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. I suspect I have more reading to do on how loading is working in emacs these days.
