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: Has eval-and-compile changed in emacs 27? Date: Fri, 26 Feb 2021 09:54:28 +0200 Message-ID: <83eeh3qn63.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29677"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, sdl.web@gmail.com To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 26 08:55:24 2021 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 1lFXy8-0007cx-8P for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Feb 2021 08:55:24 +0100 Original-Received: from localhost ([::1]:51520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFXy7-00075P-8A for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Feb 2021 02:55:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFXxZ-0006g2-HP for emacs-devel@gnu.org; Fri, 26 Feb 2021 02:54:49 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43433) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFXxY-000673-Or; Fri, 26 Feb 2021 02:54:48 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4966 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lFXxR-0000i1-ER; Fri, 26 Feb 2021 02:54:41 -0500 In-Reply-To: (message from Richard Stallman on Fri, 26 Feb 2021 01:36:52 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:265665 Archived-At: > From: Richard Stallman > Date: Fri, 26 Feb 2021 01:36:52 -0500 > Cc: sdl.web@gmail.com, emacs-devel@gnu.org > > It's not a good thing for a package to load more other packages > unnecessarily. If it happens just once, it is not a big deal. > But if many libraries do it, it could lead to a cascade of bloat. > > Does url-parse need json all the time, or only in rare special cases? I don't see json loaded by any file in the lisp/url directory, so it must be some indirect load. The easiest way of finding out who loads it would be to run Emacs under GDB with a breakpoint on Fload.