[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:40:44 -0500 |
User-agent: |
Evolution 3.36.4-0ubuntu1 |
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.
>
> > When I try and load tramp.elc explicitly from my home directory I
> > get
> > an error:
> > (void-function tramp-register-crypt-file-name-handler)
>
> Well, there are problems in upgrading Tramp for older Emacsen. Read
> the
> README at <
> http://elpa.gnu.org/packages/tramp.html
> >.
>
> (I don't explain in more detail what to do by intention. I hope I get
> the feedback from you whether this description is sufficient, or
> whether
> it needs more instructions.)
Unfortunately I did not find anything useful there. I looked through
the FAQ and the installation instructions. Given that I installed using
the package commands inside emacs, I expect that everything is built
properly. Perhaps this is a poor assumption.
I launched emacs with --no-init and then executed the following:
(push "/home/jpschewe/.emacs.d/elpa/tramp-2.5.0.4" load-path)
(load-library "tramp")
tramp-version
"2.5.0.4"
Then I opened a tramp path and that worked.
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.
Trying to open a tramp path now results in no such file or directory
and the following in my *Messages* buffer.
Suppress received in operation (expand-file-name /ssh:mtu.net: nil)
Suppress received in operation (file-exists-p /ssh:mtu.net:)
Suppress received in operation (expand-file-name /ssh:mtu.net: nil) [9
times]
Suppress received in operation (expand-file-name /ssh:mtu.net:./ nil)
Suppress received in operation (expand-file-name /ssh:mtu.net:. nil)
Suppress received in operation (expand-file-name /ssh:mtu.net: nil)
Suppress received in operation (expand-file-name /ssh:mtu.net:./ nil)
[6 times]
Suppress received in operation (insert-directory /ssh:mtu.net:./ --
dired -alh nil t)
Suppress received in operation (expand-file-name /ssh:mtu.net:./ nil)
[2 times]
Suppress received in operation (file-directory-p /ssh:mtu.net:.)
Suppress received in operation (expand-file-name /ssh:mtu.net:. nil)
Suppress received in operation (expand-file-name /ssh:mtu.net:./ nil)
[2 times]
Referring to the instructions for installation. Putting (require
'tramp) in my init file does not allow me to open tramp paths. I need
to execute (load-library "tramp") before I can open tramp paths.
If I remove ~/.emacs.d/elpa/tramp-2.5.0.4 and restart emacs, then I can
open paths again, although with the original bug because I'm still
using the older version of tramp.
Perhaps the 2 versions of tramp being in my load path just aren't
supported.
- tramp (2.3.5.26.3); Showing directory listing from wrong host, Jon Schewe, 2021/05/19
- Re: tramp (2.3.5.26.3); Showing directory listing from wrong host, Michael Albinus, 2021/05/20
- Re: tramp (2.3.5.26.3); Showing directory listing from wrong host, Jon Schewe, 2021/05/22
- Re: tramp (2.3.5.26.3); Showing directory listing from wrong host, Michael Albinus, 2021/05/22
- Re: tramp (2.3.5.26.3); Showing directory listing from wrong host,
Jon Schewe <=
- Re: tramp (2.3.5.26.3); Showing directory listing from wrong host, Jon Schewe, 2021/05/22
- Re: tramp (2.3.5.26.3); Showing directory listing from wrong host, Michael Albinus, 2021/05/22
- Re: tramp (2.3.5.26.3); Showing directory listing from wrong host, Jon Schewe, 2021/05/22
- Re: tramp (2.3.5.26.3); Showing directory listing from wrong host, Michael Albinus, 2021/05/23
- Re: tramp (2.3.5.26.3); Showing directory listing from wrong host, Jon Schewe, 2021/05/23