unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: Emacs developers <emacs-devel@gnu.org>
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	[thread overview]
Message-ID: <87li6ql70d.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <r84ndfnfqe.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 03 Jun 2013 15:42:17 -0400")

Glenn Morris <rgm@gnu.org> 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



      parent reply	other threads:[~2013-06-04  6:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1Uj5Lc-0007VJ-NY@vcs.savannah.gnu.org>
2013-06-02 18:26 ` /srv/bzr/emacs/trunk r112822: * eshell/esh-ext.el (eshell-external-command): Pass args to Glenn Morris
2013-06-02 18:28   ` Glenn Morris
2013-06-03  6:38     ` Tassilo Horn
2013-06-03  6:37   ` Tassilo Horn
2013-06-03  7:31     ` Glenn Morris
2013-06-03  8:37       ` Tassilo Horn
2013-06-03 15:12         ` Glenn Morris
2013-06-03 18:22           ` Tassilo Horn
2013-06-03 19:42             ` Glenn Morris
2013-06-03 20:32               ` Glenn Morris
2013-06-04  6:33               ` Tassilo Horn [this message]

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=87li6ql70d.fsf@thinkpad.tsdh.de \
    --to=tsdh@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@gnu.org \
    /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).