From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#39546: 28.0.50; Do not require subr-x at run time Date: Mon, 10 Feb 2020 20:30:19 +0100 (CET) Message-ID: References: <87k14uwnjl.fsf@gmail.com> <831rr2cvci.fsf@gnu.org> <83r1z2bau6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="17358"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Alpine 2.21 (DEB 202 2017-01-01) Cc: 39546@debbugs.gnu.org, larsi@gnus.org, Tino Calancha , michael.albinus@gmx.de, tsdh@gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 10 20:31:38 2020 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 1j1EmP-0004NV-Mq for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Feb 2020 20:31:37 +0100 Original-Received: from localhost ([::1]:37806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1EmM-0006R5-VB for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 10 Feb 2020 14:31:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48616) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1Elu-0006Qr-7i for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2020 14:31:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1Elt-0002wD-6i for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2020 14:31:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49455) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j1Elp-0002vH-UP for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2020 14:31:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j1Elp-0001fU-Qr for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2020 14:31:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Feb 2020 19:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39546 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 39546-submit@debbugs.gnu.org id=B39546.15813630306372 (code B ref 39546); Mon, 10 Feb 2020 19:31:01 +0000 Original-Received: (at 39546) by debbugs.gnu.org; 10 Feb 2020 19:30:30 +0000 Original-Received: from localhost ([127.0.0.1]:55428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1ElK-0001eh-Es for submit@debbugs.gnu.org; Mon, 10 Feb 2020 14:30:30 -0500 Original-Received: from mail-wr1-f51.google.com ([209.85.221.51]:34552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1ElH-0001eR-Q8 for 39546@debbugs.gnu.org; Mon, 10 Feb 2020 14:30:28 -0500 Original-Received: by mail-wr1-f51.google.com with SMTP id t2so9287486wrr.1 for <39546@debbugs.gnu.org>; Mon, 10 Feb 2020 11:30:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=XrHlV/aXL3sLwzbhPBCYBJwM/WAU2XKjZhu759AqncU=; b=Opm6wngoeWhNkBvALGpvpvs+Ct7Yzg06aNlYKDGXVXVmVOgW4f+8s92lfIBLhtxU3T cKlQRwZ0xDpV8Vv8BuW0FE+pHXjwNjJFIn+/BFu1cKKeD3KORJhk6T23d0oJrTr1bU/K Upv45R9xEPqeFMo8qJ+BGNQxbXAmFSBJYo4JitRKWvt0XZD/jYY0p7Q/G3X6PWDn+yPj spwFxSmX51npvjPsMgHdHSH0g5mq14zqIOEWVY/Wcuwspvv6BiG3daDY5co2KF/DlEpd BVLGnvbWSmhZw40YaHMZiwpJEvk4TOmsfuM2uCtzTm1igsP154TeLvQVPm0yPCW6EXF4 aavA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=XrHlV/aXL3sLwzbhPBCYBJwM/WAU2XKjZhu759AqncU=; b=NmwLxleTV3tp8gAGnrR+Gx78lCk03nIIRAdkbPSCVui/oPwvs85O8W5O++4WD+r6gF cSZHbR424MQuzTqsClW9xX9hsAUuD+QpxSYKrrJihEmWgiNhcQOHz/TnG3T8DRuGdcXy mLUkc1ZOC/fZC+lNHt4WfgPjsBB/fPLmcBs86E3Hr1POyXJe69gbKB8LOjxBtq6VBQV8 6UqxQt39zgTisecgCUq+LKDi2gKQvt/UACVLVE3S+4jaDXk8s2xxC0JK5D6/gLBksIVe aDgLO3YOLJVekAPaQxjgi3u0jn3R13GWyxI9Gn1EedNK7vUci6ipxYZb0S1XZkC3pjML wrWg== X-Gm-Message-State: APjAAAWIaWcMI2I6fWhtK9/LABSh6TurPFci8A+KHpLy3VyMnGFguJcE fT2YAuj87Y058KpUKTrIXGI= X-Google-Smtp-Source: APXvYqxuW8nXL08U3oUrTPXRq1MeGgnXKTXxz+Z+Xk9QyLuybGlD53Hnvf05+3bci28BfHxwnOo74Q== X-Received: by 2002:a05:6000:1012:: with SMTP id a18mr3433366wrx.113.1581363021936; Mon, 10 Feb 2020 11:30:21 -0800 (PST) Original-Received: from calancha-pc.dy.bbexcite.jp ([31.7.242.222]) by smtp.gmail.com with ESMTPSA id b18sm1877375wru.50.2020.02.10.11.30.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Feb 2020 11:30:21 -0800 (PST) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc.dy.bbexcite.jp In-Reply-To: <83r1z2bau6.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" Xref: news.gmane.io gmane.emacs.bugs:175894 Archived-At: On Mon, 10 Feb 2020, Eli Zaretskii wrote: >> From: Tino Calancha >> Date: Mon, 10 Feb 2020 18:26:13 +0100 (CET) >> cc: Tino Calancha , 39546@debbugs.gnu.org, >> larsi@gnus.org, michael.albinus@gmx.de, tsdh@gnu.org >> >> On Mon, 10 Feb 2020, Eli Zaretskii wrote: >> >>> subr.el is preloaded, so doing that will enlarge the Emacs memory >>> footprint. Is that function important enough to have it preloaded? >> According with its usage at Emacs source (only at json.el) I'd say >> the answer to your question is: not worth to be at subr.el. > > That's what I thought. So I suggest to find another file to host this > function, if we want subr-x.el to have only macros and defsubst's. replace.el is a good agreement between subr-x.el (it's a defun, so it doesn't fit well there) and subr.el. As subr.el, replace.el is also loaded at start time, but it's ~ half size, and more important than that, it's all about replacing in Emacs.