From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Fu Yuan Newsgroups: gmane.emacs.devel Subject: Re: Finding the dump Date: Mon, 28 Jan 2019 07:57:38 -0500 Message-ID: <9E23B729-4604-462F-AD28-DD612D095140@gmail.com> References: <83munr8jb1.fsf@gnu.org> <838szb8ey9.fsf@gnu.org> <83d0oj62bc.fsf@gnu.org> <87ef8z4g1m.fsf@igel.home> <838sz75u7p.fsf@gnu.org> <877eer4e4x.fsf@igel.home> <835zub5p3i.fsf@gnu.org> <8736pf408v.fsf@igel.home> <83womq3z5c.fsf@gnu.org> <871s4yxfvb.fsf@igel.home> <83o9823xcq.fsf@gnu.org> <87womqvyy4.fsf@igel.home> <4f30b2b598e71d2c6ad766a3da8e4a33.squirrel@dancol.org> <87o982vszn.fsf@igel.home> <87k1ipx3jq.fsf@igel.home> <87bm41wzmv.fsf@igel.home> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="258047"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 28 13:57:58 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 1go6U9-00151E-HA for ged-emacs-devel@m.gmane.org; Mon, 28 Jan 2019 13:57:57 +0100 Original-Received: from localhost ([127.0.0.1]:59417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1go6U8-0008PJ-GR for ged-emacs-devel@m.gmane.org; Mon, 28 Jan 2019 07:57:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1go6Tu-0008O8-9p for emacs-devel@gnu.org; Mon, 28 Jan 2019 07:57:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1go6Tt-0006z2-Gj for emacs-devel@gnu.org; Mon, 28 Jan 2019 07:57:42 -0500 Original-Received: from mail-qt1-x833.google.com ([2607:f8b0:4864:20::833]:41409) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1go6Tt-0006yY-CS for emacs-devel@gnu.org; Mon, 28 Jan 2019 07:57:41 -0500 Original-Received: by mail-qt1-x833.google.com with SMTP id l12so18031427qtf.8 for ; Mon, 28 Jan 2019 04:57:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4BG+QQF4kmHmdnXEUZGOVc1acowS2Qz/ij1xsjcbIqU=; b=JFywMWsiCJgndoWKoCo/NKtrWi6yNqx+ouBxqLzc2+Qenr9mtBzSI3pYy6Rc5Atoc3 vBl9mDfparWxgxuMLWDcPTTAbHazoR9/Mn/hgj2l9bh2jITzaXK8DE73TFfv6/Oc7WzO 3ZBWa9lTW18ckmp7Zrjfy+luNKJ/kIS+Ykdu7ersf+cigrrwEDTkCj150BKDR+7eUDvx ztNNRZTChX9iWerK8j77gfcJ7WD0B33v+WRr3zgcpXbKVAAT5awvtP1za7n+bw48fHPN 3j1ngfNplW3WOKzlQYgKlMvpSMkqSjS6zsPF/xRtOYoV1cyQO7w8YYS0IzCwrJC4dD9v vM0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4BG+QQF4kmHmdnXEUZGOVc1acowS2Qz/ij1xsjcbIqU=; b=l3D2h0yNoqvZ6CgBlnXQsVsKp+qfoLj2elMHy9scr1E08StAXDl8WSI9rkR+OLhgiL Vc7WDwbGbWdIyQPbMz77AbbGjWFTxUwvcyApJxBmVkP+zkzrtIFYHH3pu9rkt+L84sd+ SXv2i56hArQ0H5jlB+qz5xSOcsLR+Q5+Iq/haRIoyWZA/8xZ5z5LYczXal1Ov4A5sxVJ R6j/9cYpvh38LFou2w5tYv5zk05L5fcr2jeLPDhES/W9KnZQDoRtTCvae/DndTs9BLYt hX+hlfBXv/fQKIVmxrsR/topf5JlfkPeCO4KSP4Px7WGM9uUc4/I8fYeYkosCOWwg7y/ YUHQ== X-Gm-Message-State: AJcUukdj8fGqTqQRaeXP/el9RxcaNbYEyhK83gDiEejL4h+EjZYtWoS4 Ai3DaP4F8jKDJDmGl1k7ueg= X-Google-Smtp-Source: ALg8bN7TzO9nqPPWRGOzaVk/pIAm1EJqdmljx3tS4NYoWv/J7Mg8YFZT+9+tkMpqWvSZP6OaMhd4Og== X-Received: by 2002:a0c:ef03:: with SMTP id t3mr19958481qvr.148.1548680260228; Mon, 28 Jan 2019 04:57:40 -0800 (PST) Original-Received: from ?IPv6:2607:fb90:785:abb2:1444:a5dd:e05c:da7d? ([2607:fb90:785:abb2:1444:a5dd:e05c:da7d]) by smtp.gmail.com with ESMTPSA id d78sm61174225qke.94.2019.01.28.04.57.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Jan 2019 04:57:39 -0800 (PST) X-Mailer: iPhone Mail (16C101) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::833 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:232760 Archived-At: FYI shebang file can be easily packaged into a .app on Mac.=20 Just create a folder xxxx.app/Contents and rename the executable shebang to t= he same name as the app. Then put it under Contents . For example Dump.app/C= ontents/Dump. Now Dump.app is double-clickable. Yuan =E5=9C=A8 2019=E5=B9=B41=E6=9C=8828=E6=97=A5=EF=BC=8C=E4=B8=8A=E5=8D=883:53=EF= =BC=8CStefan Monnier =E5=86=99=E9=81=93=EF=BC=9A >> I plan to look into the possibility of putting the dump file inside >> the executable (portably, of course) so that Emacs startup needn't >> worry about finding the dump file. This would be significantly better >> for installers and users. >=20 > Allowing the dump file to be a shebang-executable is easy, doesn't > require a C compiler at dump-time, and works well under GNU/Linux. > It can't be "the only way" because it works less well under MacOS and > not at all under Windows (IIUC), but I see no reason not to support it. >=20 >=20 > Stefan >=20 >=20