all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Davis Herring <herring@lanl.gov>
To: rswgnu@gmail.com
Cc: "Clément Pit--Claudel" <clement.pit@gmail.com>,
	emacs-devel <emacs-devel@gnu.org>
Subject: Re: Emacs 25.0.94: Is require failing to define macros and functions at compile time?
Date: Wed, 29 Jun 2016 13:06:53 -0600	[thread overview]
Message-ID: <57741C4D.6070103@lanl.gov> (raw)
In-Reply-To: <CA+OMD9hrOY1ges6mQznthWnc8VP6XwEZryKyRmJradqruveCkg@mail.gmail.com>

> So maybe the byte-compiler could be made smarter to handle a list of
> requires.  If a library has 10 requires, why should we have to write
> out require 10 times or add the eval-and-compile call?  Maybe there is
> a need for a require-list primitive for such circumstances so that it
> is always available at compilation time.

Any library complicated enough to have N `require's will by necessity 
have so many more lines of code than N that the longhand list of 
(require 'foo) will be negligible.  Doing it the simple(minded), obvious 
way has the advantage that it makes trivial things like grep easier.

Obviously it is a complexity that the meaning of `require' depends on 
whether you're compiling or not; the above is simply a statement about 
practicalities.

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or 
too sparse, it is because mass-energy conversion has occurred during 
shipping.



  reply	other threads:[~2016-06-29 19:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-29 14:55 Emacs 25.0.94: Is require failing to define macros and functions at compile time? Robert Weiner
2016-06-29 15:14 ` Clément Pit--Claudel
2016-06-29 15:44   ` Robert Weiner
2016-06-29 19:06     ` Davis Herring [this message]
2016-06-29 19:59       ` Drew Adams
2016-06-29 20:34         ` Robert Weiner
2016-06-29 20:59           ` Drew Adams
2016-06-29 21:04           ` John Mastro
2016-06-30  0:09           ` Herring, Davis
2016-06-30  5:56             ` Robert Weiner
2016-06-29 15:16 ` Drew Adams
2016-06-29 22:03   ` Michael Heerdegen
2016-06-29 22:09     ` Robert Weiner
2016-06-29 22:27       ` Michael Heerdegen
2016-06-29 22:42         ` Drew Adams
2016-06-29 23:14           ` Robert Weiner
2016-06-29 22:07 ` Michael Heerdegen

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57741C4D.6070103@lanl.gov \
    --to=herring@lanl.gov \
    --cc=clement.pit@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rswgnu@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.