unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: merlyn@stonehenge.com (Randal L. Schwartz)
Cc: 9889@debbugs.gnu.org
Subject: bug#9889: 24.0.90; emacsclient fails to start on OSX
Date: Fri, 28 Oct 2011 08:47:37 -0400	[thread overview]
Message-ID: <jwv62j9thiz.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <86bot1u9tr.fsf@red.stonehenge.com> (Randal L. Schwartz's message of "Thu, 27 Oct 2011 19:30:24 -0700")

>>> 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





  reply	other threads:[~2011-10-28 12:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-27 16:53 bug#9889: 24.0.90; emacsclient fails to start on OSX Randal L. Schwartz
2011-10-28  0:29 ` Stefan Monnier
2011-10-28  2:30   ` Randal L. Schwartz
2011-10-28 12:47     ` Stefan Monnier [this message]
2011-10-28 17:02       ` Randal L. Schwartz
2011-10-28 19:45         ` Randal L. Schwartz
2011-10-28 20:27           ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv62j9thiz.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=9889@debbugs.gnu.org \
    --cc=merlyn@stonehenge.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).