* tramp requires cl at runtime
@ 2007-12-12 22:22 Glenn Morris
2007-12-17 20:17 ` Michael Albinus
0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2007-12-12 22:22 UTC (permalink / raw)
To: emacs-devel; +Cc: michael.albinus
emacs -Q -l tramp
M-: (featurep 'cl) -> t
Looks like the "eval-and-compile" in tramp-compat is to blame.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tramp requires cl at runtime
2007-12-12 22:22 tramp requires cl at runtime Glenn Morris
@ 2007-12-17 20:17 ` Michael Albinus
2007-12-18 0:51 ` Glenn Morris
0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2007-12-17 20:17 UTC (permalink / raw)
To: Glenn Morris; +Cc: emacs-devel
Glenn Morris <rgm@gnu.org> writes:
> emacs -Q -l tramp
> M-: (featurep 'cl) -> t
>
> Looks like the "eval-and-compile" in tramp-compat is to blame.
When I use `eval-when-compile' instead of, I get error messages compiling
with Emacs 21, that `block', `return' and `ignore-errors' are not known.
How can I avoid this?
Best regards, Michael.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tramp requires cl at runtime
2007-12-17 20:17 ` Michael Albinus
@ 2007-12-18 0:51 ` Glenn Morris
2007-12-18 7:58 ` Michael Albinus
0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2007-12-18 0:51 UTC (permalink / raw)
To: Michael Albinus; +Cc: emacs-devel
Michael Albinus wrote:
> When I use `eval-when-compile' instead of, I get error messages compiling
> with Emacs 21, that `block', `return' and `ignore-errors' are not known.
I checked out the latest tramp from tramp CVS, and changed the start
of tramp-compat to look like:
(eval-when-compile
;; Pacify byte-compiler.
(require 'cl))
(eval-and-compile
(require 'custom)
Then:
./configure --with-contrib --with-emacs=/usr/bin/emacs-21.4
make
make install
worked fine for me.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: tramp requires cl at runtime
2007-12-18 0:51 ` Glenn Morris
@ 2007-12-18 7:58 ` Michael Albinus
0 siblings, 0 replies; 4+ messages in thread
From: Michael Albinus @ 2007-12-18 7:58 UTC (permalink / raw)
To: Glenn Morris; +Cc: emacs-devel
Glenn Morris <rgm@gnu.org> writes:
> Then:
>
> ./configure --with-contrib --with-emacs=/usr/bin/emacs-21.4
> make
> make install
>
> worked fine for me.
That's the trick. I didn't call configure, but "make EMACS=emacs21"
only, which returned the compiler warnings.
I'll commit the patch tonight (or you could do it, if you are faster :-)
Thanks, and best regards, Michael.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-12-18 7:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-12 22:22 tramp requires cl at runtime Glenn Morris
2007-12-17 20:17 ` Michael Albinus
2007-12-18 0:51 ` Glenn Morris
2007-12-18 7:58 ` Michael Albinus
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).