From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Finding the dump Date: Sun, 27 Jan 2019 21:25:51 +0200 Message-ID: <83bm4152dc.fsf@gnu.org> References: <83munr8jb1.fsf@gnu.org> <838szb8ey9.fsf@gnu.org> <83d0oj62bc.fsf@gnu.org> <87ef8z4g1m.fsf@igel.home> <83sgxe3yk1.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="73415"; mail-complaints-to="usenet@blaine.gmane.org" Cc: schwab@linux-m68k.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 27 20:26:52 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gnq4y-000IzD-2Q for ged-emacs-devel@m.gmane.org; Sun, 27 Jan 2019 20:26:52 +0100 Original-Received: from localhost ([127.0.0.1]:49630 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnq4w-0007jV-Pv for ged-emacs-devel@m.gmane.org; Sun, 27 Jan 2019 14:26:50 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnq4M-0007jQ-Mn for emacs-devel@gnu.org; Sun, 27 Jan 2019 14:26:15 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnq4K-0002IL-Ee; Sun, 27 Jan 2019 14:26:12 -0500 Original-Received: from [176.228.60.248] (port=1644 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gnq4G-00047j-Eb; Sun, 27 Jan 2019 14:26:09 -0500 In-reply-to: (message from Stefan Monnier on Sun, 27 Jan 2019 13:52:03 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:232735 Archived-At: > From: Stefan Monnier > Cc: Andreas Schwab , emacs-devel@gnu.org > Date: Sun, 27 Jan 2019 13:52:03 -0500 > > > Indeed. In fact, Stefan's suggestion is just a slightly fancy (and > > less portable) way of having an executable script which does > > /foo/bar/emacs --dump-file=/wherever/something.pdmp > > This is something users with certain needs and workflows may wish > > doing, but I see no reason why we as a project would need to force > > everyone on using such a setup. > > If the format of the dump file were changed to allow the first page to > be skipped, it'd be for end-users to make it work without needing an > extra file. The Emacs installation comes with some 3000 files; why should we care about one more or less? The energy we will have spent on finding a way to do what you want, and do that in a way that won't get us back into the same kind of trouble as unexec, is better invested in other areas. > > I see no advantages in it that would justify it. > > The only reason I can see not to want to support such a use case is the > need to keep using the current setup (presumably because it's > hard/inconvenient to support the other setup everywhere, i.e. because > shebangs don't work in Windows and because they don't work quite right > in MacOS (IIUC they'd break string using "#!emacs --script")). > > Other than that, making the dump be the file that is put in $PATH is the > better option. It's just not economical, IMO. The disadvantages you enumerate are already enough to not like this.