From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs 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 Message-ID: <87zjduyctc.fsf@gmx.de> References: <645389CC-2AA2-47CA-BE1F-72607DF8935A@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1411198875 2592 80.91.229.3 (20 Sep 2014 07:41:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Sep 2014 07:41:15 +0000 (UTC) Cc: 18512@debbugs.gnu.org To: David Reitter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 20 09:41:09 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XVFI4-0005FO-1P for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Sep 2014 09:41:08 +0200 Original-Received: from localhost ([::1]:33682 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVFI3-0008J3-Ch for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Sep 2014 03:41:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVFHu-0008In-ES for bug-gnu-emacs@gnu.org; Sat, 20 Sep 2014 03:41:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVFHo-0003Gr-Kv for bug-gnu-emacs@gnu.org; Sat, 20 Sep 2014 03:40:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVFHo-0003Ge-IA for bug-gnu-emacs@gnu.org; Sat, 20 Sep 2014 03:40:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XVF2T-0008IL-OC for bug-gnu-emacs@gnu.org; Sat, 20 Sep 2014 03:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Sep 2014 07:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18512 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18512-submit@debbugs.gnu.org id=B18512.141119787231834 (code B ref 18512); Sat, 20 Sep 2014 07:25:01 +0000 Original-Received: (at 18512) by debbugs.gnu.org; 20 Sep 2014 07:24:32 +0000 Original-Received: from localhost ([127.0.0.1]:46257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVF1z-0008HN-8e for submit@debbugs.gnu.org; Sat, 20 Sep 2014 03:24:31 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:51443) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVF1w-0008H9-Oo for 18512@debbugs.gnu.org; Sat, 20 Sep 2014 03:24:29 -0400 Original-Received: from detlef.gmx.de ([93.202.50.203]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MWTSA-1XpdBo3HLu-00XZ1f; Sat, 20 Sep 2014 09:24:27 +0200 In-Reply-To: <645389CC-2AA2-47CA-BE1F-72607DF8935A@gmail.com> (David Reitter's message of "Fri, 19 Sep 2014 23:26:48 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-Provags-ID: V03:K0:fxhsGhgUg1Fdj33tCZs3b5M+o0Ij2uk5/tgEMotp0/aAhcsRJmQ m1TXiKah3jgljY0jRHqb+wcb3T7Ep2OsZj/I6AYpEWm+2O7kTbzE2PfJyPk6xZtrW4SQlFD yDqk5wyU6++71JCOf4YUmhbYwxtfQjyTZcN/0zzEow4Ws5Xz+P1bkyZy4PRNAbSMYxqPo1I AS91vuPEaggzIfn3mHWDg== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:93547 Archived-At: David Reitter 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=20 > > (load =E2=80=9Ctramp=E2=80=9D nil) > > and it occurred when it tried to load the file specified in > `tramp-persistency-file-name=E2=80=99. The error message was: > > eval-buffer: Invalid function: (["scpc" "dr=E2=80=9D =E2=80=9Cxxx.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") =E2=80=A6) [...] > This does not look like a file that can be loaded with `load=E2=80=99. > > 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 =E2=80=9Ctramp=E2=80=9D nil). Its default location is (locate-user-emacs-fi= le "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 =E2=80=9Ctramp=E2= =80=9D 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.