[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: /srv/bzr/emacs/trunk r112822: * eshell/esh-ext.el (eshell-external-c
From: |
Tassilo Horn |
Subject: |
Re: /srv/bzr/emacs/trunk r112822: * eshell/esh-ext.el (eshell-external-command): Pass args to |
Date: |
Tue, 04 Jun 2013 08:33:38 +0200 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Glenn Morris <address@hidden> writes:
>> em-term.el requires esh-ext which already requires cl-lib.
>
> Only at compile time, not at runtime.
Oh, right. I confused the "equivalent to progn in interpreted code" in
the docstring of `eval-when-compile' with "at runtime", which is of
course wrong.
>> So neither do you get an error at runtime nor a warning when
>> compiling...
>
> Previously, the only thing in eshell that required cl-lib at run-time
> was em-ls. So if you remove eshell-ls from the list of eshell modules:
>
> emacs -Q --eval "(setq eshell-modules-list '(eshell-alias eshell-banner
> eshell-basic eshell-cmpl eshell-dirs eshell-glob eshell-hist eshell-pred
> eshell-prompt eshell-script eshell-term eshell-unix))" -f eshell
>
> there was indeed an error at runtime.
>
> I don't know why there is no warning during bootstrap, but there is
> a warning from a built emacs:
>
> emacs -Q -batch -f batch-byte-compile em-term.el
>
> In end of data:
> em-term.el:321:1:Warning: the function `cl-intersection' is not known to
> be defined.
>
> Hmm, looks like you get a warning only if esh-ext.el is already compiled
> when you compiled em-term.el. I think this might be a (recent) compiler
> bug, maybe my 2013-05-22 change?
>
> Pedantically yours,
Thanks for the explanation.
Bye,
Tassilo
- Re: /srv/bzr/emacs/trunk r112822: * eshell/esh-ext.el (eshell-external-command): Pass args to, Glenn Morris, 2013/06/02
- Re: /srv/bzr/emacs/trunk r112822: * eshell/esh-ext.el (eshell-external-command): Pass args to, Glenn Morris, 2013/06/02
- Re: /srv/bzr/emacs/trunk r112822: * eshell/esh-ext.el (eshell-external-command): Pass args to, Tassilo Horn, 2013/06/03
- Re: /srv/bzr/emacs/trunk r112822: * eshell/esh-ext.el (eshell-external-command): Pass args to, Glenn Morris, 2013/06/03
- Re: /srv/bzr/emacs/trunk r112822: * eshell/esh-ext.el (eshell-external-command): Pass args to, Tassilo Horn, 2013/06/03
- Re: /srv/bzr/emacs/trunk r112822: * eshell/esh-ext.el (eshell-external-command): Pass args to, Glenn Morris, 2013/06/03
- Re: /srv/bzr/emacs/trunk r112822: * eshell/esh-ext.el (eshell-external-command): Pass args to, Tassilo Horn, 2013/06/03
- Re: /srv/bzr/emacs/trunk r112822: * eshell/esh-ext.el (eshell-external-command): Pass args to, Glenn Morris, 2013/06/03
- Re: /srv/bzr/emacs/trunk r112822: * eshell/esh-ext.el (eshell-external-command): Pass args to, Glenn Morris, 2013/06/03
- Re: /srv/bzr/emacs/trunk r112822: * eshell/esh-ext.el (eshell-external-command): Pass args to,
Tassilo Horn <=