From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 10 15:07:01 2017 Received: (at submit) by debbugs.gnu.org; 10 Jul 2017 19:07:01 +0000 Received: from localhost ([127.0.0.1]:32985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUe1M-0001VX-TO for submit@debbugs.gnu.org; Mon, 10 Jul 2017 15:07:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUe1L-0001VH-Cj for submit@debbugs.gnu.org; Mon, 10 Jul 2017 15:06:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUe1E-0000O8-Vx for submit@debbugs.gnu.org; Mon, 10 Jul 2017 15:06:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55020) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dUe1E-0000O2-Sb for submit@debbugs.gnu.org; Mon, 10 Jul 2017 15:06:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUe1D-0003Wl-MF for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 15:06:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUe1A-0000N4-Hm for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 15:06:51 -0400 Received: from [195.159.176.226] (port=42824 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUe1A-0000MK-Aa for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 15:06:48 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dUe0u-0006sH-Cg for bug-gnu-emacs@gnu.org; Mon, 10 Jul 2017 21:06:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: "Charles A. Roelli" Subject: MacOS: run GUI Emacs without 'make install' Date: Mon, 10 Jul 2017 21:06:26 +0200 Lines: 50 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 X-Mozilla-News-Host: news://news.gmane.org:119 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Currently, when building Emacs for MacOS, you have to run 'make install' before you can run the GUI version, which needs to be running inside an Apple "bundle" (which includes a configuration file, "Info.plist"). If you try to run 'src/emacs -q' directly after 'make', you get an Emacs frame with no menu or dock icon, and the frame does not take any keyboard input. This is fixed by changing the "activation policy" of Emacs at runtime. The following snippet from /System/Library/Frameworks/AppKit.framework/Versions/C/Headers/NSRunningApplication.h: has more details: /* The following activation policies control whether and how an application may be activated. They are determined by the Info.plist. */ enum { /* The application is an ordinary app that appears in the Dock and may have a user interface. This is the default for bundled apps, unless overridden in the Info.plist. */ NSApplicationActivationPolicyRegular, /* The application does not appear in the Dock and does not have a menu bar, but it may be activated programmatically or by clicking on one of its windows. This corresponds to LSUIElement=1 in the Info.plist. */ NSApplicationActivationPolicyAccessory, /* The application does not appear in the Dock and may not create windows or be activated. This corresponds to LSBackgroundOnly=1 in the Info.plist. This is also the default for unbundled executables that do not have Info.plists. */ NSApplicationActivationPolicyProhibited }; typedef NSInteger NSApplicationActivationPolicy; So when we call 'src/emacs -q' directly, Emacs should change activation policy to NSApplicationActivationPolicyRegular. The patch in the next message implements this. Normally the Info.plist file inside the application's bundle takes care of setting this policy, but when we run Emacs outside of the bundle, that won't happen. This change also makes it easier to run Emacs inside GDB in MacOS, since there's no need to run 'make install' and give GDB the bundled executable's name -- it's now done as on GNU/Linux. Some things still to consider: - Is this necessary/feasible on GNUstep? - Does this work on the X11 port in macOS? (I don't have a build ATM.) From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 10 15:12:26 2017 Received: (at 27645) by debbugs.gnu.org; 10 Jul 2017 19:12:26 +0000 Received: from localhost ([127.0.0.1]:33002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUe6c-0001eH-Bi for submit@debbugs.gnu.org; Mon, 10 Jul 2017 15:12:26 -0400 Received: from sinyavsky.aurox.ch ([37.35.109.145]:34281) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUe6a-0001e2-Du for 27645@debbugs.gnu.org; Mon, 10 Jul 2017 15:12:25 -0400 Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id BF54A2249B for <27645@debbugs.gnu.org>; Mon, 10 Jul 2017 19:07:08 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= content-type:content-type:in-reply-to:mime-version:user-agent :date:date:message-id:from:from:references:to:subject:subject; s=dkim; t=1499713625; x=1500577626; bh=LAqKLZmxuF1G1w6gM7PzOIt1 8yi6DOMfDpa0xyv4J38=; b=h95OfRIQmxKWJ1zVlwcbPETLcg7/aaRQby86bSiX sjTLgwM2m60liOcaJfT++6ByoKIfIxpJrcV+9Ua+d1BdCxBJbejIAkNtJyKpHIxN mkL7GnIV778Jm+JHUtvW2lmNjEhzt9no0Ndw71U8hICB9bz4pNkzcRO5n5chH3ki yn0= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Q-nCy9gM7E3g for <27645@debbugs.gnu.org>; Mon, 10 Jul 2017 19:07:05 +0000 (UTC) Received: from [192.168.1.120] (125.85.192.178.dynamic.wline.res.cust.swisscom.ch [178.192.85.125]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 63B3022491 for <27645@debbugs.gnu.org>; Mon, 10 Jul 2017 19:07:05 +0000 (UTC) Subject: Re: bug#27645: MacOS: run GUI Emacs without 'make install' To: 27645@debbugs.gnu.org References: From: "Charles A. Roelli" Message-ID: <7c02464a-7569-40a8-5746-7a6883dc251e@aurox.ch> Date: Mon, 10 Jul 2017 21:12:14 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------40AC44732BD0C361FB8416C7" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27645 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is a multi-part message in MIME format. --------------40AC44732BD0C361FB8416C7 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit The patch is attached. Also, maybe there is a better way to find the file name of the icon to use (without hardcoding the name). --------------40AC44732BD0C361FB8416C7 Content-Type: text/x-patch; name="0001-Enable-GUI-Emacs-without-make-install-on-macOS-Bug-2.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Enable-GUI-Emacs-without-make-install-on-macOS-Bug-2.pa"; filename*1="tch" >From 3cc9491d301be0030b9a4c85bb2cfa0507f7e243 Mon Sep 17 00:00:00 2001 From: Charles A. Roelli Date: Mon, 10 Jul 2017 21:08:14 +0200 Subject: [PATCH] Enable GUI Emacs without 'make install' on macOS (Bug #27645) * nextstep/INSTALL: Correct it, and mention that Emacs can be run from 'src/emacs'. * src/nsterm.m (applicationDidFinishLaunching:): When Emacs is launched outside of a macOS application bundle, change its activation policy from the default 'prohibited' to 'regular'. ; * etc/NEWS: Mention the change on macOS. --- etc/NEWS | 3 +++ nextstep/INSTALL | 11 ++++++----- src/nsterm.m | 11 +++++++++++ 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index a00760c..e1e6e15 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1516,6 +1516,9 @@ debugger has been attached to it. ** 'set-mouse-position' and 'set-mouse-absolute-pixel-position' work on macOS. +** Emacs can now be run as a GUI application from the command line on +macOS. + ---------------------------------------------------------------------- This file is part of GNU Emacs. diff --git a/nextstep/INSTALL b/nextstep/INSTALL index 799cd4d..9579987 100644 --- a/nextstep/INSTALL +++ b/nextstep/INSTALL @@ -17,14 +17,15 @@ Compilation In the top-level directory, use: - ./configure --with-ns + make -(On macOS, --with-ns is enabled by default.) +This will compile all the files. -This will compile all the files, but emacs will not be able to be run except -in -nw (terminal) mode. +In order to run Emacs, you must run: -In order to run Emacs.app, you must run: + src/emacs + +In order to install Emacs, you must run: make install diff --git a/src/nsterm.m b/src/nsterm.m index bf83550..c965e25 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -5479,6 +5479,17 @@ - (void)applicationDidFinishLaunching: (NSNotification *)notification object:nil]; #endif + if ([NSApp activationPolicy] == NSApplicationActivationPolicyProhibited) { + /* Set the app's activation policy to regular when we run outside + of a bundle. This is already done for us by Info.plist when we + run inside a bundle. */ + [NSApp setActivationPolicy:NSApplicationActivationPolicyRegular]; + [NSApp setApplicationIconImage: + [EmacsImage + allocInitFromFile: + build_string("icons/hicolor/128x128/apps/emacs.png")]]; + } + ns_send_appdefined (-2); } -- 1.7.4.4 --------------40AC44732BD0C361FB8416C7-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 12 14:52:46 2017 Received: (at 27645) by debbugs.gnu.org; 12 Jul 2017 18:52:46 +0000 Received: from localhost ([127.0.0.1]:35761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVMkf-0003WO-Bq for submit@debbugs.gnu.org; Wed, 12 Jul 2017 14:52:45 -0400 Received: from mail-wr0-f172.google.com ([209.85.128.172]:35087) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVMke-0003WA-7E for 27645@debbugs.gnu.org; Wed, 12 Jul 2017 14:52:44 -0400 Received: by mail-wr0-f172.google.com with SMTP id k67so42319430wrc.2 for <27645@debbugs.gnu.org>; Wed, 12 Jul 2017 11:52:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=MPHWT9wF2kDz04/0hnwAHEpnmXktScR2fFkD17PZULw=; b=dGmkQf9bDF3z3nMTJc8Jpjj/pnL4IWGegS0TOv4PS+LaviYmxHkD1vFeRSr0SsIJjG s6neb/I9rjW9fwNso7J2qVsF2opaRMuzzxrP12O+RMTcjaeDTqH3x0D9+Ee0cvOg2p4p GUK4uhALu68muEyvRKyqDgmkgyJRnoFRBXFsqwmwjIibSi4yKRO9s9kk1GXaciArrKac 8cVjo+z8soQtEpMb+m+8vnwVGlcH72ZPy5B99XhSp1NptGPbRC+uLIxgYUVVr1AXuRNa rxQCjKqm5Oq6hRodpETagH46WzBtljvMhsEotxxuNrPmAUJE+FkiTcd+d7mIZu4oyALx nQeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=MPHWT9wF2kDz04/0hnwAHEpnmXktScR2fFkD17PZULw=; b=aQm3JkIIGyYc/bxbWpM0eLO77/Vr4Bhzs2ALa7y8Fe4P6R6l2KrnhlIMaY7wmsnK+X +0Mxqd9b+VASpKegeEe9qDRpYGQDuMOGr539fbWzf9vJ2NY2rerpNjiCP3Ic543wi5Wr bzrlpKRl711TiJ+HSzlaZWsthNaUO9PI+C0L5KyWm4yErHuzfNt+9Mip2DcGW01sQc+L yviK6HDFzs7D9BDOHNSRl843Fyvm7l2VcJyMBKqULBaqcXfm/mlqFkVhRGZfGmC13wIC xdgkaaiHTTIjWm2QB8kZubUC1V6cPgT7C0cb5jLUpgafrpSirTCzL8xS/W1XDU5X6WT9 JbrQ== X-Gm-Message-State: AIVw113QRRCBdDcX3ABb9jrO+Q+Qt70W35PPn9bfJVpYFOrkjLpphpyu n4uHyxkPv1Y+gHYGMtA= X-Received: by 10.223.182.172 with SMTP id j44mr8906wre.122.1499885558296; Wed, 12 Jul 2017 11:52:38 -0700 (PDT) Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-e9a1-3503-5c3f-d7d9.holly.idiocy.org. [2001:8b0:3f8:8129:e9a1:3503:5c3f:d7d9]) by smtp.gmail.com with ESMTPSA id l1sm4059448wmb.18.2017.07.12.11.52.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jul 2017 11:52:37 -0700 (PDT) Date: Wed, 12 Jul 2017 19:52:35 +0100 From: Alan Third To: "Charles A. Roelli" Subject: Re: bug#27645: MacOS: run GUI Emacs without 'make install' Message-ID: <20170712185235.GB23391@breton.holly.idiocy.org> References: <7c02464a-7569-40a8-5746-7a6883dc251e@aurox.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7c02464a-7569-40a8-5746-7a6883dc251e@aurox.ch> User-Agent: Mutt/1.7.2 (2016-11-26) X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 27645 Cc: 27645@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) On Mon, Jul 10, 2017 at 09:12:14PM +0200, Charles A. Roelli wrote: > The patch is attached. I haven’t had a chance to test this, but it looks good, thanks for working on it. > In the top-level directory, use: > > - ./configure --with-ns > + make > > -(On macOS, --with-ns is enabled by default.) > +This will compile all the files. I understand that running make also runs configure, but I think it’s worth leaving configure and the stuff about --with-ns in there. If you try to build the NS port on anything other than macOS then you really need to know about --with-ns. > -This will compile all the files, but emacs will not be able to be run except > -in -nw (terminal) mode. > +In order to run Emacs, you must run: > > -In order to run Emacs.app, you must run: > + src/emacs > + > +In order to install Emacs, you must run: > > make install I read this as it’s going to install Emacs somewhere on my PC, it should probably be something like: ‘To build Emacs.app ...’. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 12 18:24:31 2017 Received: (at 27645) by debbugs.gnu.org; 12 Jul 2017 22:24:31 +0000 Received: from localhost ([127.0.0.1]:35910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVQ3a-0000FS-RL for submit@debbugs.gnu.org; Wed, 12 Jul 2017 18:24:30 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:36713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVQ3Z-0000FG-Kj for 27645@debbugs.gnu.org; Wed, 12 Jul 2017 18:24:30 -0400 Received: by mail-pf0-f194.google.com with SMTP id z6so4752973pfk.3 for <27645@debbugs.gnu.org>; Wed, 12 Jul 2017 15:24:29 -0700 (PDT) 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=zJDATkPMATTPBr7fQCJDNybSzEJ2okA+rv2HZqjwrrg=; b=lxPjxI59bo/mdZQ+wAJfDFLvqO1BsUKCBiJpE8TJy4Igxys7XR4IEGGo2xEpcP0MdF 6JzdaoXz6/Q8IipV/XLC5vxNKW0KfsRgbG2SNzYP7M9B0WqYuGHhH4z02ZQKHInV164R NKjGDhKq7pX02aVextMQAgn1pe47XChDVYAm1Iyua8yGHeFnAyEiQcxOsZCdnfd9yqcB gnylRR5f7O8+syOxOfckhbtrtO8nWuKRMf+jscPTJ+mE98S56N7kRDwGAYDLCL9V+nYA j91mqYSqn3fuz5lu6nYSRcf12Ssa3G27xiCRMyz6nfO2kQen0a1dGFnQDOLjWDNCz9as vW2w== 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=zJDATkPMATTPBr7fQCJDNybSzEJ2okA+rv2HZqjwrrg=; b=nbNiUN4FVQ3MwTQK6b0C2jXlkEpJOQ02I3MZ9yU52keNlsv5mrEWU+JIHaiVRYArX1 Go7ndvJHC2uu1TH8XtefWUeWFXG2zo4YPusssBVncSwRmuM87qhnzKgP2gAfAD9BWtkA NnuK3Ei6M5dfoXiypwkkI66SGZnMAOSGfZMNdE1k0NzOetBkgSdi+pPFo2i0pGqqQ8iX taPoQRy0a/wdDU+pQyWzppowdI3KniLL491i/VF8jDVF2VcMd5kflue5P//F5LRODWwk /wIlIFwSge/15T7kKqESYau7a4VFzr7HUnGXe0juzQ5+26gONBqrIdWCvoXEf1FLm8F9 3Ouw== X-Gm-Message-State: AIVw110IH8LrFuUq0EQbKvNaB1DalRzhCCeXlkTXtqLGny8haPCIH2G1 /aPFRkqJSyQ67Q== X-Received: by 10.98.153.196 with SMTP id t65mr59121718pfk.160.1499898263686; Wed, 12 Jul 2017 15:24:23 -0700 (PDT) Received: from [192.168.24.55] (pl2587.ag0304.nttpc.ne.jp. [128.53.196.27]) by smtp.gmail.com with ESMTPSA id u9sm7155694pfd.56.2017.07.12.15.24.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jul 2017 15:24:22 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: bug#27645: MacOS: run GUI Emacs without 'make install' From: Jean-Christophe Helary In-Reply-To: <20170712185235.GB23391@breton.holly.idiocy.org> Date: Thu, 13 Jul 2017 07:24:20 +0900 Content-Transfer-Encoding: quoted-printable Message-Id: <2AD3D8CD-C118-40FD-8D49-BD0102022193@gmail.com> References: <7c02464a-7569-40a8-5746-7a6883dc251e@aurox.ch> <20170712185235.GB23391@breton.holly.idiocy.org> To: Alan Third X-Mailer: Apple Mail (2.3273) X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27645 Cc: 27645@debbugs.gnu.org, "Charles A. Roelli" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > On Jul 13, 2017, at 3:52, Alan Third wrote: >=20 >> +In order to install Emacs, you must run: >>=20 >> make install >=20 > I read this as it=E2=80=99s going to install Emacs somewhere on my PC, = it > should probably be something like: =E2=80=98To build Emacs.app ...=E2=80= =99. Indeed, since it only puts Emacs.app in the default location which is = not standard for a macOS installation. Jean-Christophe=20= From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 15 10:58:52 2017 Received: (at 27645) by debbugs.gnu.org; 15 Jul 2017 14:58:52 +0000 Received: from localhost ([127.0.0.1]:40500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWOWy-0008Av-57 for submit@debbugs.gnu.org; Sat, 15 Jul 2017 10:58:52 -0400 Received: from sinyavsky.aurox.ch ([37.35.109.145]:38243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWOWw-0008Ai-7s for 27645@debbugs.gnu.org; Sat, 15 Jul 2017 10:58:50 -0400 Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id D0385224B4 for <27645@debbugs.gnu.org>; Sat, 15 Jul 2017 14:53:27 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= content-type:content-type:in-reply-to:mime-version:user-agent :date:date:message-id:from:from:references:to:subject:subject; s=dkim; t=1500130405; x=1500994406; bh=0ZBOljMVDDWP56GmF/XusmSb OCrDlExLzt8JFO9k7N8=; b=EQ9S1H329jPYPUqZxnbKBIdZHZCifqApHSJTQEJv 2uA+W8lx269qisz5YUOv/krY0WhzPZx+jT3NMrrNVv2E2hmbdbHqoTQSNOAMrsJK StQ1hCwzHZcatdgggFyQoB7qEWRYNzdmaaPACI1NFapK4AkGHI3WzgoJsRlt6G5f OPg= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vzqnui-zGl00 for <27645@debbugs.gnu.org>; Sat, 15 Jul 2017 14:53:25 +0000 (UTC) Received: from [192.168.1.120] (125.85.192.178.dynamic.wline.res.cust.swisscom.ch [178.192.85.125]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 3845A22491; Sat, 15 Jul 2017 14:53:25 +0000 (UTC) Subject: Re: bug#27645: MacOS: run GUI Emacs without 'make install' To: Alan Third References: <7c02464a-7569-40a8-5746-7a6883dc251e@aurox.ch> <20170712185235.GB23391@breton.holly.idiocy.org> From: "Charles A. Roelli" Message-ID: Date: Sat, 15 Jul 2017 16:58:38 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170712185235.GB23391@breton.holly.idiocy.org> Content-Type: multipart/mixed; boundary="------------D97992D13029739DD45B1BFB" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27645 Cc: 27645@debbugs.gnu.org, jean.christophe.helary@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is a multi-part message in MIME format. --------------D97992D13029739DD45B1BFB Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 12/07/2017 20:52, Alan Third wrote: > On Mon, Jul 10, 2017 at 09:12:14PM +0200, Charles A. Roelli wrote: >> The patch is attached. > I haven’t had a chance to test this, but it looks good, thanks for > working on it. > >> In the top-level directory, use: >> >> - ./configure --with-ns >> + make >> >> -(On macOS, --with-ns is enabled by default.) >> +This will compile all the files. > I understand that running make also runs configure, but I think it’s > worth leaving configure and the stuff about --with-ns in there. If you > try to build the NS port on anything other than macOS then you really > need to know about --with-ns. Thanks, I've put it back. > >> -This will compile all the files, but emacs will not be able to be run except >> -in -nw (terminal) mode. >> +In order to run Emacs, you must run: >> >> -In order to run Emacs.app, you must run: >> + src/emacs >> + >> +In order to install Emacs, you must run: >> >> make install > I read this as it’s going to install Emacs somewhere on my PC, it > should probably be something like: ‘To build Emacs.app ...’. > It may install it (with --disable-ns-self-contained). I've clarified this (hopefully). I've also placed the nsterm.m change inside #ifdef NS_IMPL_COCOA, since the activationPolicy doesn't seem to exist on GNUstep. See the updated patch again. --------------D97992D13029739DD45B1BFB Content-Type: text/x-patch; name="0001-Enable-GUI-Emacs-without-make-install-on-macOS-Bug-2.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Enable-GUI-Emacs-without-make-install-on-macOS-Bug-2.pa"; filename*1="tch" >From 37abf2a8e9a30377a2e064f111d546ec083c3363 Mon Sep 17 00:00:00 2001 From: Charles A. Roelli Date: Mon, 10 Jul 2017 21:08:14 +0200 Subject: [PATCH v2] Enable GUI Emacs without 'make install' on macOS (Bug #27645) * nextstep/INSTALL: Correct it, and mention that Emacs can be run from 'src/emacs'. * src/nsterm.m (applicationDidFinishLaunching:): When Emacs is launched outside of a macOS application bundle, change its activation policy from the default 'prohibited' to 'regular'. ; * etc/NEWS: Mention the change on macOS. --- etc/NEWS | 3 +++ nextstep/INSTALL | 16 ++++++++++++---- src/nsterm.m | 13 +++++++++++++ 3 files changed, 28 insertions(+), 4 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index edb7111..36cb80b 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1544,16 +1544,19 @@ execution and return control to the debugger. If no debugger is attached to the receiving process, the call is typically ignored. This is in contrast to the default action on POSIX Systems, where it causes the receiving process to terminate with a core dump if no debugger has been attached to it. ** 'set-mouse-position' and 'set-mouse-absolute-pixel-position' work on macOS. +** Emacs can now be run as a GUI application from the command line on +macOS. + ---------------------------------------------------------------------- This file is part of GNU Emacs. GNU Emacs is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. diff --git a/nextstep/INSTALL b/nextstep/INSTALL index 799cd4d..b7e84e0 100644 --- a/nextstep/INSTALL +++ b/nextstep/INSTALL @@ -16,25 +16,33 @@ Compilation ----------- In the top-level directory, use: ./configure --with-ns (On macOS, --with-ns is enabled by default.) -This will compile all the files, but emacs will not be able to be run except -in -nw (terminal) mode. +Then run: -In order to run Emacs.app, you must run: + make + +This will compile all the files. + +In order to run Emacs, you must run: + + src/emacs + +In order to install Emacs, you must run: make install This will assemble the app in nextstep/Emacs.app (i.e., the --prefix -argument has no effect in this case). +argument has no effect in this case). You can then move the Emacs.app +bundle to a location of your choice. If you pass the --disable-ns-self-contained option to configure, the lisp files will be installed under whatever 'prefix' is set to (defaults to /usr/local). The bundle will be smaller, but depend on these resources (may require 'sudo' for "make install"). Installation diff --git a/src/nsterm.m b/src/nsterm.m index bf83550..7834bac 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -5474,16 +5474,29 @@ - (void)applicationDidFinishLaunching: (NSNotification *)notification #ifdef NS_IMPL_COCOA [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(antialiasThresholdDidChange:) name:NSAntialiasThresholdChangedNotification object:nil]; #endif +#ifdef NS_IMPL_COCOA + if ([NSApp activationPolicy] == NSApplicationActivationPolicyProhibited) { + /* Set the app's activation policy to regular when we run outside + of a bundle. This is already done for us by Info.plist when we + run inside a bundle. */ + [NSApp setActivationPolicy:NSApplicationActivationPolicyRegular]; + [NSApp setApplicationIconImage: + [EmacsImage + allocInitFromFile: + build_string("icons/hicolor/128x128/apps/emacs.png")]]; + } +#endif + ns_send_appdefined (-2); } - (void)antialiasThresholdDidChange:(NSNotification *)notification { #ifdef NS_IMPL_COCOA macfont_update_antialias_threshold (); #endif -- 1.7.4.4 --------------D97992D13029739DD45B1BFB-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 20 14:58:16 2017 Received: (at 27645) by debbugs.gnu.org; 20 Jul 2017 18:58:16 +0000 Received: from localhost ([127.0.0.1]:49986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYGeO-00054A-D9 for submit@debbugs.gnu.org; Thu, 20 Jul 2017 14:58:16 -0400 Received: from sinyavsky.aurox.ch ([37.35.109.145]:41202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYGeM-00053w-Bb for 27645@debbugs.gnu.org; Thu, 20 Jul 2017 14:58:14 -0400 Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 9BE2F224C2 for <27645@debbugs.gnu.org>; Thu, 20 Jul 2017 18:52:49 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:to:subject:subject; s=dkim; t=1500576768; x= 1501440769; bh=ahtLfCOatTrXURtgUT7Ol9CmN8XhiV6KExZ3hf7AWfg=; b=C 55bask6X7nnJCPpRr+1VkXwqZbJX/6ZkjqwmY7E/v4bT75p+sOumABgg9Uk2Ymop jsKT/tg8YnIoAIe2HtsXrkC/cH734jN4lbHSlL5scsBGpy9gi4jwThJXx8b9/8NN +cFJ7RvnvLuYt/t3GCYiLo4PPnwHl+TyXiDGIzQz28= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 9FrYe2iUx0dw for <27645@debbugs.gnu.org>; Thu, 20 Jul 2017 18:52:48 +0000 (UTC) Received: from [192.168.1.120] (125.85.192.178.dynamic.wline.res.cust.swisscom.ch [178.192.85.125]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 1E7BC224A1; Thu, 20 Jul 2017 18:52:48 +0000 (UTC) Subject: Re: bug#27645: MacOS: run GUI Emacs without 'make install' To: Alan Third References: <7c02464a-7569-40a8-5746-7a6883dc251e@aurox.ch> <20170712185235.GB23391@breton.holly.idiocy.org> From: "Charles A. Roelli" Message-ID: <91265521-adda-3240-df40-3fe3e4234b32@aurox.ch> Date: Thu, 20 Jul 2017 20:58:06 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27645 Cc: 27645@debbugs.gnu.org, jean.christophe.helary@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I'll push this in a few days if there's no further changes to make. On 15/07/2017 16:58, Charles A. Roelli wrote: > On 12/07/2017 20:52, Alan Third wrote: > >> On Mon, Jul 10, 2017 at 09:12:14PM +0200, Charles A. Roelli wrote: >>> The patch is attached. >> I haven’t had a chance to test this, but it looks good, thanks for >> working on it. >> >>> In the top-level directory, use: >>> - ./configure --with-ns >>> + make >>> -(On macOS, --with-ns is enabled by default.) >>> +This will compile all the files. >> I understand that running make also runs configure, but I think it’s >> worth leaving configure and the stuff about --with-ns in there. If you >> try to build the NS port on anything other than macOS then you really >> need to know about --with-ns. > > Thanks, I've put it back. > >> >>> -This will compile all the files, but emacs will not be able to be >>> run except >>> -in -nw (terminal) mode. >>> +In order to run Emacs, you must run: >>> -In order to run Emacs.app, you must run: >>> + src/emacs >>> + >>> +In order to install Emacs, you must run: >>> make install >> I read this as it’s going to install Emacs somewhere on my PC, it >> should probably be something like: ‘To build Emacs.app ...’. >> > > It may install it (with --disable-ns-self-contained). I've clarified > this (hopefully). > > I've also placed the nsterm.m change inside #ifdef NS_IMPL_COCOA, > since the > activationPolicy doesn't seem to exist on GNUstep. > > See the updated patch again. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 20 16:34:27 2017 Received: (at 27645) by debbugs.gnu.org; 20 Jul 2017 20:34:28 +0000 Received: from localhost ([127.0.0.1]:50079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYI9T-0007Pw-PH for submit@debbugs.gnu.org; Thu, 20 Jul 2017 16:34:27 -0400 Received: from mail-wr0-f181.google.com ([209.85.128.181]:33026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dYI9S-0007Ph-4Q for 27645@debbugs.gnu.org; Thu, 20 Jul 2017 16:34:26 -0400 Received: by mail-wr0-f181.google.com with SMTP id v105so44956985wrb.0 for <27645@debbugs.gnu.org>; Thu, 20 Jul 2017 13:34:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=lAZEn44EwcAPuoT2Kp13EJxZnKJ1nP8/EiZrzqMS14I=; b=fb2ymqs1hGq267ChsUv6KSJjEuNf8zdsDBzhsgm7gG7jKONfHLfpyi+iDqX52UyWm7 M0ix9oV2NY9sJijW5ESoq3JoSG8J+neAVSppRueNYzjHuj0rm0DWRutvdD4Gi+CuejGU ++zXEJX5eEd+p0MnLiLlRJ9Ym7jCyVEO1VfGUgRe3hvKZglgkHQUJKlzg0O20pH6R87T HGHQHK9icPnAaveCpXZNJzU2EbjKvJFJs3UaqYuzj2y9k+WzhUUuEqbpQ3i6sm+nBl7y xy4igh0h0iPxm2x9+bZhANiMuifBsvA1mPXcjzprZSIrT7POH7Qf//eovDMhrPgUDTLo VF+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=lAZEn44EwcAPuoT2Kp13EJxZnKJ1nP8/EiZrzqMS14I=; b=ftPirH9/ZlYYyA4NFodCSmG7bltGT6bkEUcA9Iw1al2DZZtMtFbQoHXmY3KNrMDDDj AWDjr5xW6B58JSimXd6pP0aHkcI7R6yLbgfPRjw8Ykq6Qi2iunxTLEbFgnXcn0K/c0mB oi+3+uNLyLpwUMVY7ig3lwfv9YJ2g3DyTXl9ApRSfZtsplZQyroWA/QWdxBgpxqPs5sI IJzZ+K8poQvv18rzQpplWzzgdLeUyzB+Qb4Y69j6dAtszH8QMHTWcVe37IUPcrdUV1Pf J8DTUs7WuXohT0zQOFmtGMEP6u1lAJ/n27kGFuoazL7MSFrxMXiHPxp1FY00gTK4YBwd otrQ== X-Gm-Message-State: AIVw110kLeuJjB0nh2CdBBmFCUFO4ynIZJKnqhDdnkgBZgWXUy8fD+sn h1HIvXBBf8hJ+A== X-Received: by 10.223.143.68 with SMTP id p62mr8617566wrb.20.1500582860251; Thu, 20 Jul 2017 13:34:20 -0700 (PDT) Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-38a3-b7bd-bb2f-3561.holly.idiocy.org. [2001:8b0:3f8:8129:38a3:b7bd:bb2f:3561]) by smtp.gmail.com with ESMTPSA id v203sm3295988wmd.2.2017.07.20.13.34.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Jul 2017 13:34:19 -0700 (PDT) Date: Thu, 20 Jul 2017 21:34:17 +0100 From: Alan Third To: "Charles A. Roelli" Subject: Re: bug#27645: MacOS: run GUI Emacs without 'make install' Message-ID: <20170720203417.GA57660@breton.holly.idiocy.org> References: <7c02464a-7569-40a8-5746-7a6883dc251e@aurox.ch> <20170712185235.GB23391@breton.holly.idiocy.org> <91265521-adda-3240-df40-3fe3e4234b32@aurox.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <91265521-adda-3240-df40-3fe3e4234b32@aurox.ch> User-Agent: Mutt/1.7.2 (2016-11-26) X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 27645 Cc: 27645@debbugs.gnu.org, jean.christophe.helary@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) On Thu, Jul 20, 2017 at 08:58:06PM +0200, Charles A. Roelli wrote: > I'll push this in a few days if there's no further changes to make. Looks good to me. Thanks. -- Alan Third From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 23 11:03:09 2017 Received: (at 27645-done) by debbugs.gnu.org; 23 Jul 2017 15:03:09 +0000 Received: from localhost ([127.0.0.1]:53572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZIPU-0005sz-Ls for submit@debbugs.gnu.org; Sun, 23 Jul 2017 11:03:08 -0400 Received: from sinyavsky.aurox.ch ([37.35.109.145]:43066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZIPS-0005sU-30 for 27645-done@debbugs.gnu.org; Sun, 23 Jul 2017 11:03:06 -0400 Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id CCD27224BC for <27645-done@debbugs.gnu.org>; Sun, 23 Jul 2017 14:57:36 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:to:subject:subject; s=dkim; t=1500821854; x= 1501685855; bh=oLltQq/FGpPkA0tbZE/vKun7Cs44C6/99Pk4oWT1juw=; b=T qBJVHAojq5iGyN39sszktjhL1HfqcLmjB4gZ4qPLoiW496pMS6ORFYPilA8Yb7GR hYjHIlTh6BdS/hxGAlffnbW0SHFS9no6B2zrrkzVBO+fzmJ+7F/Jx9T8t0j6bMzA 640/sLySW1O570TzTZG1U4dLMUv9OXi232TkhkX5fI= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id OzsdovNlj_1a for <27645-done@debbugs.gnu.org>; Sun, 23 Jul 2017 14:57:34 +0000 (UTC) Received: from [192.168.1.120] (125.85.192.178.dynamic.wline.res.cust.swisscom.ch [178.192.85.125]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 7C1DE224A1; Sun, 23 Jul 2017 14:57:33 +0000 (UTC) Subject: Re: bug#27645: MacOS: run GUI Emacs without 'make install' To: Alan Third References: <7c02464a-7569-40a8-5746-7a6883dc251e@aurox.ch> <20170712185235.GB23391@breton.holly.idiocy.org> <91265521-adda-3240-df40-3fe3e4234b32@aurox.ch> <20170720203417.GA57660@breton.holly.idiocy.org> From: "Charles A. Roelli" Message-ID: <2ac0fa5b-617a-e4ea-ab96-48953e987588@aurox.ch> Date: Sun, 23 Jul 2017 17:02:54 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170720203417.GA57660@breton.holly.idiocy.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27645-done Cc: jean.christophe.helary@gmail.com, 27645-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Great! Pushed as: http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=2c87aab57946b95d67b664259f30e64468d08544 On 20/07/2017 22:34, Alan Third wrote: > On Thu, Jul 20, 2017 at 08:58:06PM +0200, Charles A. Roelli wrote: >> I'll push this in a few days if there's no further changes to make. > Looks good to me. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 24 14:24:24 2017 Received: (at 27645) by debbugs.gnu.org; 24 Jul 2017 18:24:24 +0000 Received: from localhost ([127.0.0.1]:54625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZi1o-000682-5X for submit@debbugs.gnu.org; Mon, 24 Jul 2017 14:24:24 -0400 Received: from sinyavsky.aurox.ch ([37.35.109.145]:44001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dZi1m-00067o-02 for 27645@debbugs.gnu.org; Mon, 24 Jul 2017 14:24:22 -0400 Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id F16FA224CB for <27645@debbugs.gnu.org>; Mon, 24 Jul 2017 18:18:52 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:to:subject:subject; s=dkim; t=1500920329; x= 1501784330; bh=0WxsN+000Fk6cDJsE4H4AAdNK9yyllpBWoSlLCkB+DU=; b=x NUgkGcc3RPzRpb1k2uISzPJA1Ghz+uQwbzffhJaYxjTk8rCjJezkGfaLMN6w2h4W 8udYfVoQyfx4RkLmFOhRGrtlhQfn/CeUCDk3Zc7p12sGtaDVjT0QP9gUX3aZTZmK BdUUzRR7A0EPS1JvB1/SOS/OzU38IbTBJ4x9xTmso4= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id lis4jsoOC9dp for <27645@debbugs.gnu.org>; Mon, 24 Jul 2017 18:18:49 +0000 (UTC) Received: from [192.168.1.120] (125.85.192.178.dynamic.wline.res.cust.swisscom.ch [178.192.85.125]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 80151224A1; Mon, 24 Jul 2017 18:18:48 +0000 (UTC) Subject: Re: bug#27645: MacOS: run GUI Emacs without 'make install' To: Alan Third References: <7c02464a-7569-40a8-5746-7a6883dc251e@aurox.ch> <20170712185235.GB23391@breton.holly.idiocy.org> <91265521-adda-3240-df40-3fe3e4234b32@aurox.ch> <20170720203417.GA57660@breton.holly.idiocy.org> <2ac0fa5b-617a-e4ea-ab96-48953e987588@aurox.ch> From: "Charles A. Roelli" Message-ID: Date: Mon, 24 Jul 2017 20:24:17 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <2ac0fa5b-617a-e4ea-ab96-48953e987588@aurox.ch> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 27645 Cc: 27645@debbugs.gnu.org, jean.christophe.helary@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) I've just realized that after 'make' on OS X you get this message: You must run "make install" in order to test the built application. The installed application will go to nextstep/Emacs.app and can be run or moved from there. The application will be fully self-contained. I suggest to replace it with this: Run "make" to build Emacs, then run "src/emacs" to test it. To build a self-contained application bundle, run "make install". The installed application will go to nextstep/Emacs.app and can be run or moved from there. Any thoughts? On 23/07/2017 17:02, Charles A. Roelli wrote: > Great! Pushed as: > > http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=2c87aab57946b95d67b664259f30e64468d08544 > > > > On 20/07/2017 22:34, Alan Third wrote: >> On Thu, Jul 20, 2017 at 08:58:06PM +0200, Charles A. Roelli wrote: >>> I'll push this in a few days if there's no further changes to make. >> Looks good to me. Thanks. > From unknown Sat Aug 16 12:44:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 22 Aug 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator