From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.devel Subject: Re: Emacs 25.0.94: Is require failing to define macros and functions at compile time? Date: Thu, 30 Jun 2016 00:07:38 +0200 Message-ID: <877fd7ps2d.fsf@web.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1467238230 24740 80.91.229.3 (29 Jun 2016 22:10:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jun 2016 22:10:30 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 30 00:10:21 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 1bINga-00063O-Cq for ged-emacs-devel@m.gmane.org; Thu, 30 Jun 2016 00:10:20 +0200 Original-Received: from localhost ([::1]:45984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bINgZ-0001Tp-8U for ged-emacs-devel@m.gmane.org; Wed, 29 Jun 2016 18:10:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bINgS-0001Rr-AT for emacs-devel@gnu.org; Wed, 29 Jun 2016 18:10:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bINgM-0003CE-8b for emacs-devel@gnu.org; Wed, 29 Jun 2016 18:10:11 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:33308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bINgM-0003Bw-1m for emacs-devel@gnu.org; Wed, 29 Jun 2016 18:10:06 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bINgK-0005rr-3D for emacs-devel@gnu.org; Thu, 30 Jun 2016 00:10:04 +0200 Original-Received: from p4fd85358.dip0.t-ipconnect.de ([79.216.83.88]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Jun 2016 00:10:04 +0200 Original-Received: from michael_heerdegen by p4fd85358.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Jun 2016 00:10:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p4fd85358.dip0.t-ipconnect.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) Cancel-Lock: sha1:HfT0nt+yrCorOVA3GDBpVBuTv0U= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:204960 Archived-At: Robert Weiner writes: > Most of the time the problem is with a macro definition not be defined > and therefore a macro expansion fails, but sometimes I get undefined > functions when I can see the function is defined within the required > file and I know that the path of the file is in load-path at compile > time. If the thing is a macro, loading the defining file after byte compiling is too late, the interpreter then only looks for function definitions, so you'll get the error of an undefined function as you saw it. Michael.