[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Symbol's value as variable is void: cl-struct-tramp-file-name-tags
From: |
Katsumi Yamaoka |
Subject: |
Re: Symbol's value as variable is void: cl-struct-tramp-file-name-tags |
Date: |
Wed, 13 Jun 2007 16:21:01 +0900 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) |
>>>>> In <address@hidden>
>>>>> Chris Moore wrote:
> On 6/12/07, Chris Moore <address@hidden> wrote:
>> Running:
>> emacs -Q /address@hidden:/
>> to attempt to use tramp to FTP, I see an error message.
> I fixed the problem by running a "make clean && make bootstrap", so
> maybe my previous message should be ignored.
The cause is that you used Lisp programs having been byte-compiled
with Emacs 22.1 or earlier, that use at least one of the following
five Tramp functions:
tramp-file-name-multi-method
tramp-file-name-method
tramp-file-name-user
tramp-file-name-host
tramp-file-name-localname
In Emacs 22.1 or earlier, those functions are provided using cl's
`defstruct' macro and have the `cl-compiler-macro' property which
uses the `cl-struct-tramp-file-name-tags' variable (which is
defined in tramp.elc in Emacs 22.1 or earlier). But now Tramp
does not use such a cl resource.
What you did is the best if such Lisp programs are the parts of
Emacs. Otherwise, re-compiling your Lisp programs by the most
recent Emacs solves the problem.
(I was actually troubled with my Lisp program that uses those
Tramp functions. ;-)
Regards,