From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: eval-when-load? Date: Thu, 06 Aug 2015 18:50:53 -0400 Message-ID: References: <86fv4ohxjv.fsf@stephe-leake.org> <86a8uvgkru.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438901485 15732 80.91.229.3 (6 Aug 2015 22:51:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2015 22:51:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 07 00:51:17 2015 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 1ZNU0K-0006p6-R3 for ged-emacs-devel@m.gmane.org; Fri, 07 Aug 2015 00:51:16 +0200 Original-Received: from localhost ([::1]:47044 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNU0K-0000lg-1F for ged-emacs-devel@m.gmane.org; Thu, 06 Aug 2015 18:51:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNU02-0000iW-Kd for emacs-devel@gnu.org; Thu, 06 Aug 2015 18:50:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNTzz-0005kW-EO for emacs-devel@gnu.org; Thu, 06 Aug 2015 18:50:58 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:13679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNTzz-0005j8-9m for emacs-devel@gnu.org; Thu, 06 Aug 2015 18:50:55 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AsEwA731xV//gFNJ1cgxCEAoVVuzcJh0sEAgKBPDkUAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNJIg3CM8jAQEBBwIBH4s6hQUHhC0FtQQjhBQigngBAQE X-IPAS-Result: A0AsEwA731xV//gFNJ1cgxCEAoVVuzcJh0sEAgKBPDkUAQEBAQEBAYEKQQWDXQEBAwFWIwULCzQSFBgNJIg3CM8jAQEBBwIBH4s6hQUHhC0FtQQjhBQigngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="159028760" Original-Received: from 157-52-5-248.cpe.teksavvy.com (HELO pastel.home) ([157.52.5.248]) by ironport2-out.teksavvy.com with ESMTP; 06 Aug 2015 18:50:54 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id B15F2604CF; Thu, 6 Aug 2015 18:50:53 -0400 (EDT) In-Reply-To: <86a8uvgkru.fsf@stephe-leake.org> (Stephen Leake's message of "Fri, 17 Jul 2015 05:07:17 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:188523 Archived-At: > This almost works; I still get errors, because jde-jdhelper is a macro, > and the variable itself is referenced, so I need this-file loaded at > compile-time. Sigh. I'm not surprised. It's usually easier&better to arrange for the initialization code that signals the error to only run when the code is really activated, rather than when the files are loaded. Stefan