GNU bug report logs - #9889
24.0.90; emacsclient fails to start on OSX

Previous Next

Packages: ns, emacs;

Reported by: merlyn <at> stonehenge.com (Randal L. Schwartz)

Date: Thu, 27 Oct 2011 17:03:02 UTC

Severity: normal

Tags: notabug

Found in version 24.0.90

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: merlyn <at> stonehenge.com (Randal L. Schwartz)
Cc: 9889 <at> debbugs.gnu.org
Subject: bug#9889: 24.0.90; emacsclient fails to start on OSX
Date: Fri, 28 Oct 2011 08:47:37 -0400
>>> Attempting to use "emacsclient" in a shell window.
Stefan> Did you start the Emacs server from the same shell?
Stefan> Do you by any change set the $TMPDIR in your shell initialization files?
> This is launched as Emacs.app
> The userinterface sets a TMPDIR yes.

Both the emacsclient and the Emacs server need to have the same TMPDIR
because they communicate via the $TMPDIR/emacs<UID>/server socket.
So if TMPDIR is not the same, you'll have to pass a -s arg to
emacsclient to specify explicitly which socket to use.

I.e. please check whether this is indeed the source of the problem.

> But this worked before, so something has changed.

Could be that the TMPDIR has changed.  But also emacsclient/server used
to ignore TMPDIR.  I can't remember when this was changed (I think it
was in Emacs-23).


        Stefan




This bug report was last modified 13 years and 267 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.