From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Revilak Newsgroups: gmane.emacs.help Subject: Re: Emacs Server via Emacs.app Date: Wed, 3 Feb 2010 22:22:14 -0500 Message-ID: <20100204032214.GM1292@srevilak.net> References: <20100203224113.D181C10AFE9@mxperim6.sea5.speakeasy.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9v2bTOXBzuB5Piju" X-Trace: ger.gmane.org 1265253775 9239 80.91.229.12 (4 Feb 2010 03:22:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2010 03:22:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 04 04:22:53 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NcsIr-0003W1-7E for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Feb 2010 04:22:49 +0100 Original-Received: from localhost ([127.0.0.1]:60250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcsIq-0000QQ-Ky for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Feb 2010 22:22:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NcsIS-0000P6-C5 for help-gnu-emacs@gnu.org; Wed, 03 Feb 2010 22:22:24 -0500 Original-Received: from [199.232.76.173] (port=54117 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcsIR-0000Oc-No for help-gnu-emacs@gnu.org; Wed, 03 Feb 2010 22:22:23 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcsIQ-00005J-81 for help-gnu-emacs@gnu.org; Wed, 03 Feb 2010 22:22:23 -0500 Original-Received: from mail8.sea5.speakeasy.net ([69.17.117.10]:45019) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NcsIP-00005D-QH for help-gnu-emacs@gnu.org; Wed, 03 Feb 2010 22:22:22 -0500 Original-Received: (qmail 30916 invoked from network); 4 Feb 2010 03:22:17 -0000 Original-Received: from pool-71-184-218-26.bstnma.fios.verizon.net (HELO srevilak.net) (srevilak@[71.184.218.26]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 4 Feb 2010 03:22:17 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71673 Archived-At: --9v2bTOXBzuB5Piju Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable >From: Tim Visher >I'd like to get emacs server running again just like we got ispell >working for me again. I'm not sure what I'm missing this time. I >started emacs from the command line via `open Emacs.app` and that >worked fine, loading my PATH etc. but now emacsclient can't find the >server. I typically start the server via `.emacs` and that works on >Windows but not here, apparently. Tim, Which emacsclient are you running? /Applications/Emacs.app/Contents/MacOS/bin/emacsclient=20 Should have no difficulty finding the server socket for Emacs.app. On the other hand, Apple's /usr/bin/emacsclient seems to have a different opinion of where the server socket should be. You could=20 alias emacsclient=3D/Applications/Emacs.app/Contents/MacOS/bin/emacsclie= nt You could also prepend /Applications/Emacs.app/Contents/MacOS/bin to PATH, to use Emacs.app's helper programs instead of their Apple-bundled counterparts. I personally favor prepending /Applications/Emacs.app/Contents/MacOS/bin to PATH. I also add a one-line shell script to that directory: $ cat /Applications/Emacs.app/Contents/MacOS/bin/emacs #!/bin/sh exec /Applications/Emacs.app/Contents/MacOS/Emacs -nw "$@" so that I can run Emacs in a terminal window by just typing `emacs'. This is my way of compensating for the fact that the NextStep port doesn't put the Emacs binary in `bin'. Steve --9v2bTOXBzuB5Piju Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (Darwin) iEYEARECAAYFAktqPWYACgkQX7YJI4BuyDQfpwCgoHXNei6y3GrU+LcAag7tRbOC HcQAoOCq+Nr/2Hl7AggaI1UX9jzV0goT =y9IH -----END PGP SIGNATURE----- --9v2bTOXBzuB5Piju--