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: Docstring hack Date: Sun, 31 Jul 2022 16:05:58 +0300 Message-ID: <83h72x4ekp.fsf@gnu.org> References: <83bkt6687a.fsf@gnu.org> <871qu2lo29.fsf@yahoo.com> <837d3u63ez.fsf@gnu.org> <834jyy61w6.fsf@gnu.org> <831qu25z5x.fsf@gnu.org> <87mtcqhvot.fsf@yahoo.com> <83sfmh4x0o.fsf@gnu.org> <878ro9iw2q.fsf@yahoo.com> <83o7x54swu.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30416"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, emacs-devel@gnu.org To: Lynn Winebarger Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 31 15:07:02 2022 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 1oI8es-0007iz-2x for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Jul 2022 15:07:02 +0200 Original-Received: from localhost ([::1]:39724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oI8er-0007ct-0W for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Jul 2022 09:07:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oI8e3-0006wU-PA for emacs-devel@gnu.org; Sun, 31 Jul 2022 09:06:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54868) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oI8e3-0004xm-Fd; Sun, 31 Jul 2022 09:06: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=H4ClD3tjBZ2pVQ+QehN8kbnDxilOnvm9rILTGMGUCxk=; b=meBewm8J1BhH 4l2uFCI0ooQITQfPHjml0NbjO1PRT67ly2lSTF81lfCCwsVJbwTI+dU0Jgrr+bDPINxemCZ0aSF20 pQrUTVQiebP8pAMsh7GQIuYHut5fBGh7Ku2zvf+UoAq2d26JVxQMWHFYlepB5Xa1eaiBChowVa6av eknAqyEyiIXX1GYajyjjHqUIV9Oan0mh5816X1mZ2yY+k3gI5g50Hi+t71cwmZSuRom0kGc1nRIaD I4fW0j3N8LbAiinxbTrumJAE7McBCHMOsatkM+q/Qm1b/HEIMDwmxUkE50mx7AbsQlNTJHCpDVIk5 hMBdIrXow0mxsvpzn9h/pg==; Original-Received: from [87.69.77.57] (port=1032 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oI8e2-0001mo-VC; Sun, 31 Jul 2022 09:06:11 -0400 In-Reply-To: (message from Lynn Winebarger on Sun, 31 Jul 2022 08:53:57 -0400) 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" Xref: news.gmane.io gmane.emacs.devel:292918 Archived-At: > From: Lynn Winebarger > Date: Sun, 31 Jul 2022 08:53:57 -0400 > Cc: Po Lu , emacs-devel > > Does this mean that just resetting purify-flag is enough to avoid the > problem? If so, I think purify-flag is only meant for preloaded > packages, and dumping Emacs with additional packages isn't supposed to > set that flag. Or maybe loadup.el should load an additional file > (beyond site-load and site-init), after it resets purify-flag? > > I'm not sure why you'd not want to use the purify flag, since there are a lot of explicit calls to purecopy that > appear intended to take advantage of hash consing. I don't know why that benefit should not apply to > libraries being preloaded by site-load and site-init. We will remove pure space at some not-too-distant future, which is a clear sign that it is not very important in the pdumper builds. So investing time in something that works when purify-flag is off doesn't sound like a good investment to me.