From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Weiner Newsgroups: gmane.emacs.devel Subject: Re: Emacs 25.0.94: Is require failing to define macros and functions at compile time? Date: Wed, 29 Jun 2016 11:44:20 -0400 Message-ID: References: <5773E5D6.8040201@gmail.com> Reply-To: rswgnu@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1467215137 28000 80.91.229.3 (29 Jun 2016 15:45:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jun 2016 15:45:37 +0000 (UTC) Cc: emacs-devel To: =?UTF-8?B?Q2zDqW1lbnQgUGl0LS1DbGF1ZGVs?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 29 17:45:36 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bIHgD-0007yW-B3 for ged-emacs-devel@m.gmane.org; Wed, 29 Jun 2016 17:45:33 +0200 Original-Received: from localhost ([::1]:44535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIHgC-0004PL-FJ for ged-emacs-devel@m.gmane.org; Wed, 29 Jun 2016 11:45:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIHfd-0004PF-90 for emacs-devel@gnu.org; Wed, 29 Jun 2016 11:44:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIHfY-0002qe-T2 for emacs-devel@gnu.org; Wed, 29 Jun 2016 11:44:56 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIHfY-0002qP-Pl for emacs-devel@gnu.org; Wed, 29 Jun 2016 11:44:52 -0400 Original-Received: from mail-ob0-f178.google.com ([209.85.214.178]:32918) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bIHfX-0006Vz-58 for emacs-devel@gnu.org; Wed, 29 Jun 2016 11:44:51 -0400 Original-Received: by mail-ob0-f178.google.com with SMTP id xn17so31336469obc.0 for ; Wed, 29 Jun 2016 08:44:51 -0700 (PDT) X-Gm-Message-State: ALyK8tKkt1xU8LyuUJ84a4dcWcHCliMN/BCJd+URpzDVMZTsX0CU1J1PkuWbczoLofVGoXzb53N2F4oK9SILtQ== X-Received: by 10.157.10.4 with SMTP id 4mr5968975otg.13.1467215089840; Wed, 29 Jun 2016 08:44:49 -0700 (PDT) Original-Received: by 10.202.212.143 with HTTP; Wed, 29 Jun 2016 08:44:20 -0700 (PDT) In-Reply-To: <5773E5D6.8040201@gmail.com> X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:204934 Archived-At: On Wed, Jun 29, 2016 at 11:14 AM, Cl=C3=A9ment Pit--Claudel wrote: > My guess would be that the byte-compiler doesn't run your mapc. That sounds like it. Thanks, I will fix the usage. 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. Bob