From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#62762: circular dependencies in elisp files and make Date: Thu, 11 May 2023 11:20:14 -0400 Message-ID: References: <17b74a48-94e1-9106-cc79-d31972313910@gutov.dev> <87cz3k8i27.fsf@localhost> <87sfcfdldt.fsf@localhost> <87bkj1g10g.fsf@localhost> <1c5d0ff0-5bae-1123-d2f7-64d9013fbc0f@gmail.com> <6070e598-7dee-1b7a-7f97-26a90618cb7a@gmail.com> <64a61548-e343-992f-d193-d8ff4fe0623b@gmail.com> <831qjvjmw5.fsf@gnu.org> <48f15926-d002-877b-1d01-3a607fe42b76@gmail.com> <83v8h7hxlj.fsf@gnu.org> <38c89611-a929-1869-e70d-983bd7edad14@gmail.com> <83jzxnhv2o.fsf@gnu.org> <59ccf87f-effb-2168-2c17-34d950060b1b@gmail.com> <83354aixqy.fsf@gnu.org> <3ce7d18d-8190-a379-f503-5b0fef1dcb88@gmail.com> <831qjuisa4.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24991"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: yantar92@posteo.net, 62762@debbugs.gnu.org, bzg@gnu.org, dmitry@gutov.dev, acm@muc.de, Eli Zaretskii To: Max Nikulin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 11 17:21:27 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1px86g-0006Gr-Ss for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 May 2023 17:21:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1px86N-0001ua-Hl; Thu, 11 May 2023 11:21:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1px86J-0001u2-Be for bug-gnu-emacs@gnu.org; Thu, 11 May 2023 11:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1px86J-0005DD-36 for bug-gnu-emacs@gnu.org; Thu, 11 May 2023 11:21:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1px86I-00040x-HF for bug-gnu-emacs@gnu.org; Thu, 11 May 2023 11:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 May 2023 15:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62762 X-GNU-PR-Package: emacs Original-Received: via spool by 62762-submit@debbugs.gnu.org id=B62762.168381843315366 (code B ref 62762); Thu, 11 May 2023 15:21:02 +0000 Original-Received: (at 62762) by debbugs.gnu.org; 11 May 2023 15:20:33 +0000 Original-Received: from localhost ([127.0.0.1]:53152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px85o-0003zm-SY for submit@debbugs.gnu.org; Thu, 11 May 2023 11:20:33 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:56060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px85m-0003zX-LI for 62762@debbugs.gnu.org; Thu, 11 May 2023 11:20:31 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 5B8F380148; Thu, 11 May 2023 11:20:25 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id A886180677; Thu, 11 May 2023 11:20:23 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1683818423; bh=wOxbRr0uTvmvqGI1KRnylurzVr8nHABVpDn3ybE0k0Q=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=E+7B9aGwx5iFaGiE3PnA8K4+OzimfimiXt0AzmAcjMGw5eC5pTnWQwJ7k7zIGkT6R eZMIbD4sSvwqj+szJzyvKt6FjGA3uP0Z+Cp4LwjLb352iEuImobn/l2MNtqE6CfETv z3Hnb/Vrunfrlld4O2a4Jc9LXUE9TwPDRR1pJdxHT8q6VD9Sbi4ALEwc8xw5Cs1h5I kLVLu0JyKkp+dpa/LtPPB1PpbzR+K/IbibaOjFkkgSWwOWa9vB6a0kk1GiNQhHY5Sl TpFHBxYKATDsiiR/B2eZj/j1V9OxvzIhm3F9rfamLu/VS0DfVvYc67BC8IYFFMHXKv H5ScYuQfL9WxQ== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 81E46120197; Thu, 11 May 2023 11:20:23 -0400 (EDT) In-Reply-To: (Max Nikulin's message of "Thu, 11 May 2023 22:14:03 +0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:261577 Archived-At: > important. Do you mean the following > lisp/vc/ediff-util.el:(provide 'ediff-util) ;FIXME: Break cyclic > dependencies and move to the end! Sounds about right, yes. > and mutual `require' 'ediff-util from ediff-init.el and 'ediff-init from > ediff-util.el? My idea was to suppress loading of .elc files during > compilation of such files. When I looked at it, my approach was to break the cycle in an arbitrary way and say that if it occasionally leads to a miscompilation it's the package's fault. Stefan