From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: `eval-when-compile' and circular dependencies (was: Re: Source file '.../killer-source.el' newer than byte-compiled file) Date: Thu, 25 Apr 2019 09:37:17 +0300 Message-ID: <834l6m1tgi.fsf@gnu.org> References: <8636m8ipt5.fsf@zoho.eu> <8336m84no5.fsf@gnu.org> <86lg00h8s2.fsf@zoho.eu> <86ftq8h8gn.fsf@zoho.eu> <83zhog35nr.fsf@gnu.org> <86zhogfin1.fsf@zoho.eu> <83wojj3oqn.fsf@gnu.org> <86imv2epg7.fsf_-_@zoho.eu> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="174436"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 25 08:45:26 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hJY8J-000jAQ-2h for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Apr 2019 08:45:23 +0200 Original-Received: from localhost ([127.0.0.1]:52761 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJY8I-00061u-0D for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Apr 2019 02:45:22 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJY6K-0004kM-Ou for help-gnu-emacs@gnu.org; Thu, 25 Apr 2019 02:43:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45521) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJY0l-0006Cv-Ci for help-gnu-emacs@gnu.org; Thu, 25 Apr 2019 02:37:36 -0400 Original-Received: from [176.228.60.248] (port=2745 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hJY0k-00044I-Pe for help-gnu-emacs@gnu.org; Thu, 25 Apr 2019 02:37:35 -0400 In-reply-to: <86imv2epg7.fsf_-_@zoho.eu> (message from Emanuel Berg on Thu, 25 Apr 2019 05:25:28 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120051 Archived-At: > From: Emanuel Berg > Date: Thu, 25 Apr 2019 05:25:28 +0200 > > >>> but you will have trouble if you have > >>> circular dependencies. > >> > >> No, I don't have circular dependencies, and > >> I don't think I can have them, either. > >> Actually I'm gonna try that right now... > >> > >> No, I can't > > > > Not easily, no. > > Why would you want them? We don't, it just happens. > And how do you make it work, if so? You could look at Eshell as one example, if you really want to understand. The solution involves using eval-when-compile and its ilk, I think.