unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs Server via Emacs.app
@ 2010-02-03 18:12 ` Tim Visher
  2010-02-04  3:22   ` Steve Revilak
  0 siblings, 1 reply; 4+ messages in thread
From: Tim Visher @ 2010-02-03 18:12 UTC (permalink / raw)
  To: emacs

Hello Everyone,

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.

Thoughts?

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Emacs Server via Emacs.app
       [not found] <mailman.656.1265220792.14305.help-gnu-emacs@gnu.org>
@ 2010-02-04  0:37 ` Sean Bryant
  0 siblings, 0 replies; 4+ messages in thread
From: Sean Bryant @ 2010-02-04  0:37 UTC (permalink / raw)
  To: help-gnu-emacs

On 2010-02-03 13:12:47 -0500, Tim Visher said:

> Hello Everyone,
> 
> 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.
> 
> Thoughts?

Actually look inside the Emacs.app folders and find the emacsclient 
bundled inside.

For example the emacs that I build on OS X has the emacsclient buried 
in Emacs.app/Contents/MacOS/bin/

That's the one you want to use not the one in path since OS X comes 
with emacs as part of the OS.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Emacs Server via Emacs.app
  2010-02-03 18:12 ` Tim Visher
@ 2010-02-04  3:22   ` Steve Revilak
  2010-02-05  2:42     ` Tim Visher
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Revilak @ 2010-02-04  3:22 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1452 bytes --]

>From: Tim Visher <tim.visher@gmail.com>

>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 

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 

   alias emacsclient=/Applications/Emacs.app/Contents/MacOS/bin/emacsclient

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

[-- Attachment #2: Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Emacs Server via Emacs.app
  2010-02-04  3:22   ` Steve Revilak
@ 2010-02-05  2:42     ` Tim Visher
  0 siblings, 0 replies; 4+ messages in thread
From: Tim Visher @ 2010-02-05  2:42 UTC (permalink / raw)
  To: Steve Revilak; +Cc: help-gnu-emacs

On Wed, Feb 3, 2010 at 10:22 PM, Steve Revilak <steve@srevilak.net> wrote:
>> From: Tim Visher <tim.visher@gmail.com>
>
>> 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.
>
> 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.

Thanks so much Steve.  This is exactly what I was looking for.  I
never noticed the bin directory in MacOS.

-- 

In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-05  2:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.656.1265220792.14305.help-gnu-emacs@gnu.org>
2010-02-04  0:37 ` Emacs Server via Emacs.app Sean Bryant
     [not found] <20100203224113.D181C10AFE9@mxperim6.sea5.speakeasy.net>
2010-02-03 18:12 ` Tim Visher
2010-02-04  3:22   ` Steve Revilak
2010-02-05  2:42     ` Tim Visher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).