From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 0FoLKY3gaV9PZgAA0tVLHw (envelope-from ) for ; Tue, 22 Sep 2020 11:31:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eEf4JI3gaV8nUwAA1q6Kng (envelope-from ) for ; Tue, 22 Sep 2020 11:31:25 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 51708940365 for ; Tue, 22 Sep 2020 11:31:25 +0000 (UTC) Received: from localhost ([::1]:49074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKgW3-0007ot-VV for larch@yhetil.org; Tue, 22 Sep 2020 07:31:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKgVq-0007od-4Y for guix-devel@gnu.org; Tue, 22 Sep 2020 07:31:10 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:38291) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKgVm-0000V5-6Y for guix-devel@gnu.org; Tue, 22 Sep 2020 07:31:09 -0400 Received: from mimimi (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 006AC100004; Tue, 22 Sep 2020 11:31:00 +0000 (UTC) From: Pierre Neidhardt To: zimoun , Guix Devel Subject: Re: Emacs closure at ~900MB? In-Reply-To: <86wo0mnjs3.fsf@gmail.com> References: <86wo0mnjs3.fsf@gmail.com> Date: Tue, 22 Sep 2020 13:31:02 +0200 Message-ID: <87d02e3v61.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.178.231; envelope-from=mail@ambrevar.xyz; helo=relay11.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/22 07:31:01 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.499, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_PDS_OTHER_BAD_TLD=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: 0.39 X-TUID: 2ZeKXf0lbM9B --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Indeed, if you build the Lucid version you get a much smaller Emacs. We had discussed this some time ago. Here is a recipe: =2D-8<---------------cut here---------------start------------->8--- (define-public emacs-lucid (package (inherit emacs) (name "emacs-lucid") (synopsis "The Emacs text editor with Lucid support") (build-system gnu-build-system) (arguments (substitute-keyword-arguments (package-arguments emacs) ((#:configure-flags flags ''()) `(cons "--with-x-toolkit=3Dlucid" ,flags)) ((#:phases phases) `(modify-phases ,phases (delete 'restore-emacs-pdmp) (delete 'strip-double-wrap))))) (inputs `(("libxaw" ,libxaw) ,@(alist-delete "gtk+" (package-inputs emacs)))))) =2D-8<---------------cut here---------------end--------------->8--- Ideally, we would reduce the LLVM and Mesa closure sizes as I started doing some weeks ago. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl9p4HYACgkQm9z0l6S7 zH8fmgf+KfwXlIQ3/OILpkeXWS2RNOMzFz13EnxP4S9ka6JJsrqyIAvuP9EZr5u6 3s9IiMfwGPFqLMCUXWsoUJIfgvB/l2ylJ0BukX9NnRPMuF1amxpUnqf4zkgft4pA NlnU2r3k8yawuP/ni+Za6W5VAEnqRaw56yLj1Su6g5eL1jLbBSj2XexbFozJdZrY 1/JogEA4uKWewpij0X7m0m/HdqLrD9NnL1qkS+iJc4qUgrAaFwLpjhmWzNLW0W8a y8u1r9dzDi/IGVqT2YV6fxX88gmmpkHvHmOW7uM3CCI0Pq8L6z9gTmHW1l3+C0bY PD0Vg73YABs/67aXwvpNiBvq8jtcTQ== =pR6A -----END PGP SIGNATURE----- --=-=-=--