From: Michael Albinus <michael.albinus@gmx.de>
To: David Reitter <david.reitter@gmail.com>
Cc: 18512@debbugs.gnu.org
Subject: bug#18512: 24.3.93; tramp persistency file: incompatible with old versions? Tramp won't start!
Date: Sat, 20 Sep 2014 09:24:15 +0200 [thread overview]
Message-ID: <87zjduyctc.fsf@gmx.de> (raw)
In-Reply-To: <645389CC-2AA2-47CA-BE1F-72607DF8935A@gmail.com> (David Reitter's message of "Fri, 19 Sep 2014 23:26:48 -0400")
David Reitter <david.reitter@gmail.com> writes:
> After upgrading to [Aquamacs based on] a pre-release of 24.4, a user
> complained about Tramp not working.
>
> Some investigation showed that the error was reproducible with a
>
> (load “tramp” nil)
>
> and it occurred when it tried to load the file specified in
> `tramp-persistency-file-name’. The error message was:
>
> eval-buffer: Invalid function: (["scpc" "dr” “xxx.yyy.org" nil]
> ("uname" "Darwin 9.8.0") ("test" "test") ("remote-path" ("/usr/bin"
> "/bin" "/usr/sbin" "/sbin" "/usr/local/bin")) ("remote-shell"
> "/bin/sh") ("~" "/Users/dr") ("readlink" nil) ("perl-file-spec" t)
> ("perl-cwd-realpath" t) ("perl" "\\perl") …)
[...]
> This does not look like a file that can be loaded with `load’.
>
> It was probably produced with an older Emacs version, but judging from
> the file date, probably just the previous release 23.3.
>
> Deleting the file makes the error go away. Tramp works just fine then.
>
> I think Emacs should be smart enough to handle the version upgrade.
> Perhaps re-generating the file if reading it produces an exception
> should be a transparent and automatic measure.
It's not about version incompatibility.
Tramp's persistency file is not something which shall be loaded by (load
“tramp” nil). Its default location is (locate-user-emacs-file "tramp")
If the directory is in the load-path, and if it is before the directory
where Tramp *.el[c] files reside, it might be that (load “tramp” nil)
takes the wrong file. Maybe, we shall move it either into a subdirectory
of "~/.emacs.d/", or we shall give it another name.
Hmm, I won't do it just now, because I'll be almost offline for the next
3 weeks (just email connection). I'll check it when I return; maybe
somebody has a better proposal.
Best regards, Michael.
next prev parent reply other threads:[~2014-09-20 7:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-20 3:26 bug#18512: 24.3.93; tramp persistency file: incompatible with old versions? Tramp won't start! David Reitter
2014-09-20 7:24 ` Michael Albinus [this message]
2014-09-20 8:09 ` Glenn Morris
2014-09-20 8:14 ` Glenn Morris
2014-09-20 9:51 ` Michael Albinus
2014-09-20 20:45 ` Stefan Monnier
2014-09-21 2:38 ` David Reitter
2014-09-21 13:52 ` Glenn Morris
2014-09-21 18:25 ` David Reitter
2014-09-21 21:36 ` Glenn Morris
2014-09-21 22:54 ` David Reitter
2014-10-04 18:58 ` Glenn Morris
2014-10-04 22:34 ` Stefan Monnier
2014-10-05 2:09 ` Glenn Morris
2014-10-06 1:11 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zjduyctc.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=18512@debbugs.gnu.org \
--cc=david.reitter@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).