From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: Re: mac os x: how do you run emacs in-place? Date: Wed, 26 Nov 2014 16:36:22 -0500 Message-ID: References: <49674948-99E1-4A5B-AC53-EC1F092EB2E5@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1417037814 1893 80.91.229.3 (26 Nov 2014 21:36:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Nov 2014 21:36:54 +0000 (UTC) Cc: "emacs-devel@gnu.org developers" To: sds@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 26 22:36:46 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XtkGT-0007HY-6H for ged-emacs-devel@m.gmane.org; Wed, 26 Nov 2014 22:36:45 +0100 Original-Received: from localhost ([::1]:36142 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtkGS-0004hV-PJ for ged-emacs-devel@m.gmane.org; Wed, 26 Nov 2014 16:36:44 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtkGK-0004hP-QJ for emacs-devel@gnu.org; Wed, 26 Nov 2014 16:36:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtkGF-0006lm-79 for emacs-devel@gnu.org; Wed, 26 Nov 2014 16:36:36 -0500 Original-Received: from mail-qg0-x22c.google.com ([2607:f8b0:400d:c04::22c]:60029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtkG9-0006l4-9I; Wed, 26 Nov 2014 16:36:25 -0500 Original-Received: by mail-qg0-f44.google.com with SMTP id z60so2722239qgd.31 for ; Wed, 26 Nov 2014 13:36:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=wufT9wTq/niRBNh/v+/M9LVFX77TbE2gPZrYFFKUqww=; b=bstJ5l2jWjIJ5YfmiO3jCVFUXo+wDxtYrILY0JZ1EviG5qh6xFfqM8GTujjX69hGaP bDJNaUupzGhFtC9Joe0ie7wG2uYf1pPxlaZwfbr3UF9fidCrSlGo51xKFDN3G337HPV7 4TW7rQBz3eGxY8KXu8L/7H4Mi1aHfMALghomCwZzRsYqjiiM6seNnDfAVMR2fH3rWzqS Byuf7t7lN9ZFOuru9pqBPdTh7fgGnmxnVxq5Z9Tl7Vu1itotV7UlCTw+Sw6uubttR/4f 0C0uQo9oSbKO/zAuiDEqAR+H3HI7SbrGuLy3LPl3HCLn0y6cjCJ8ixRwPpgIO5mOY6Az +Vbw== X-Received: by 10.229.16.197 with SMTP id p5mr48342325qca.3.1417037784805; Wed, 26 Nov 2014 13:36:24 -0800 (PST) Original-Received: from [172.22.0.10] (camb-L3-guest.basistech.com. [208.178.90.140]) by mx.google.com with ESMTPSA id k6sm4939042qaz.41.2014.11.26.13.36.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Nov 2014 13:36:24 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1993) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c04::22c X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:178330 Archived-At: On Nov 26, 2014, at 4:25 PM, Sam Steingold wrote: > and I don't want to use that, mostly because clicking on file names in > *Help* buffer finds the installed "el.gz" files instead of the files > under version control. Understood. I don=E2=80=99t think what you want exists as an option so = far. =20 >> only the first =E2=80=9Cmake install=E2=80=9D is necessary >=20 > this is not true because the executable is copied, not symlinked. I think I am right because a simple =E2=80=9Cmake=E2=80=9D will copy it = again. See nextstep/Makefile, line 29 (target ${ns_appbindir}/Emacs, which is = required by =E2=80=9Call=E2=80=9D). And this makefile is called via the =E2=80=9Cns-app=E2=80=9D target in = src/Makefile, which is put in $OTHER_FILES, required by =E2=80=9Call=E2=80= =9D there (and not just =E2=80=9Cinstall=E2=80=9D). > However, you gave me an idea: > I will go through nextstep/Emacs.app and replace files and directories > with symlinks back into the tree. If this works well, you could get the ns-app target to make symlinks in = nextstep (put code as a new target in nextstep/Makefile perhaps). Then, = =E2=80=9Cmake install=E2=80=9D will do what it does now, but if one = wants to run the executable directly, this could be conveniently done = after a =E2=80=9Cmake=E2=80=9D. =20