tramp-devel
[Top][All Lists]
Advanced

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

Re: tramp (2.3.5.26.3); Showing directory listing from wrong host


From: Jon Schewe
Subject: Re: tramp (2.3.5.26.3); Showing directory listing from wrong host
Date: Sat, 22 May 2021 13:47:47 -0500
User-agent: Evolution 3.36.4-0ubuntu1

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 <
> > jpschewe@mtu.net
> > 
> > > 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.





reply via email to

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