GNU bug report logs - #7135
24.0.50; Mac OS X X11: emacsclient cannot find server from remote login

Previous Next

Package: emacs;

Reported by: Bob Nnamtrop <bobnnamtrop <at> gmail.com>

Date: Wed, 29 Sep 2010 17:07:02 UTC

Severity: normal

Merged with 3992, 4001

Found in version 24.0.50

Fixed in version 23.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 7135 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Bob Nnamtrop <bobnnamtrop <at> gmail.com>
Cc: 7135 <at> debbugs.gnu.org
Subject: Re: bug#7135: 24.0.50;
	Mac OS X X11: emacsclient cannot find server from remote login
Date: Wed, 29 Sep 2010 20:34:36 -0400
Please try this patch (against the emacs-23 emacsclient.c):

*** lib-src/emacsclient.c	2010-01-13 15:38:28 +0000
--- lib-src/emacsclient.c	2010-09-29 20:48:44 +0000
***************
*** 1249,1255 ****
--- 1249,1261 ----
        {
  	tmpdir = egetenv ("TMPDIR");
  	if (!tmpdir)
+           {
+ #ifdef DARWIN_OS
+             tmpdir = egetenv ("DARWIN_USER_TEMP_DIR"); /* bug#3992 */
+             if (!tmpdir)
+ #endif
                tmpdir = "/tmp";
+           }
  	socket_name = alloca (strlen (tmpdir) + strlen (server_name)
  			      + EXTRA_SPACE);
  	sprintf (socket_name, "%s/emacs%d/%s",





This bug report was last modified 14 years and 295 days ago.

Previous Next


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