From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Lisp files that load cl-lib in problematical ways Date: Thu, 19 Oct 2023 17:09:54 +0300 Message-ID: <83h6mmu2j1.fsf@gnu.org> References: <83fs3dgxv8.fsf@gnu.org> <835y38qvlg.fsf@gnu.org> <87bkcx6eci.fsf@dataswamp.org> <83ttqnm4ti.fsf@gnu.org> <83lebyu5yx.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39877"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rms@gnu.org, incal@dataswamp.org, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 19 16:11:07 2023 Return-path: Envelope-to: ged-emacs-devel@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 1qtTju-000AAy-Rx for ged-emacs-devel@m.gmane-mx.org; Thu, 19 Oct 2023 16:11:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtTj4-0001sx-9j; Thu, 19 Oct 2023 10:10:14 -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 1qtTj3-0001si-1D for emacs-devel@gnu.org; Thu, 19 Oct 2023 10:10:13 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qtTj1-0002u4-BY; Thu, 19 Oct 2023 10:10:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=bGL9FWMxNBvzIde8P/xy0M+nliLcMPpkWXhZp3/067Q=; b=mT2Pii1SWGUA yCDbocYUEvv1tLJv+X38AUYimr1Ib+U0atFvvEnuJ7T4YrioLuADAgQWo6ttqKBEM4gFaN3yIp9dS z1sCy4+VHpstDf5Efwfxw2KrX/yLE8OBtzhEcfthFETgdj6gzvzpMCOkG/mOZpkpig/vNe3aihy8Z 0XnWcCBEsNFzA75+iOsLtZmMQYKjp+cGcC53GoFLpaJVGAM/kJVsu0bcPljkkvzKQP6FhFRvQasS8 8B8vomiC7GnnJS8nQ+5B/muouzOex3AWH1R4XJN97ZAeIGsR8Lsw9+z0WUnFt0ft9goVGsYfGTKRu hGR/5Z7Ls9ltcfUkOPcZiw==; In-Reply-To: (message from Alan Mackenzie on Thu, 19 Oct 2023 13:28:28 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:311597 Archived-At: > Date: Thu, 19 Oct 2023 13:28:28 +0000 > Cc: rms@gnu.org, incal@dataswamp.org, emacs-devel@gnu.org > From: Alan Mackenzie > > > If the above is correct, then how do you explain that in "emacs -Q" I > > don't see the cl-lib feature present? > > Because the files that use cl- don't have a (require 'cl-lib) in them. > Quite a lot of the function calls are things like cl-assert, cl-incf, or > cl-defgeneric, which won't cause the loading of cl- until they are > actually run. Then there's no problem, from where I stand. > Maybe, but there are definitely run time uses of cl- in our dumped .el > files, such as a cl-incf in font-lock.el which creates the gradually > increasing row of dots which are displayed for large files (or, at least, > used to be). Again, not a problem.