From unknown Sun Aug 17 00:59:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login Resent-From: Bob Nnamtrop Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Sep 2010 17:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 7135@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.128577998924608 (code B ref -1); Wed, 29 Sep 2010 17:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Sep 2010 17:06:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P106v-0006Or-69 for submit@debbugs.gnu.org; Wed, 29 Sep 2010 13:06:29 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P106t-0006Ol-4I for submit@debbugs.gnu.org; Wed, 29 Sep 2010 13:06:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P109f-0005yi-Ej for submit@debbugs.gnu.org; Wed, 29 Sep 2010 13:09:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:59835) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P104n-0004zR-L8 for submit@debbugs.gnu.org; Wed, 29 Sep 2010 13:09:19 -0400 Received: from [140.186.70.92] (port=46989 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P101W-0000pH-JG for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2010 13:04:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P1015-0004Pn-2V for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2010 13:00:28 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:46560) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1014-0004Pa-OS for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2010 13:00:27 -0400 Received: by ewy19 with SMTP id 19so426835ewy.0 for ; Wed, 29 Sep 2010 10:00:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=bP44+7UQKuOJeKSycmUdLOQjY38JSXxOxD2iQYRDabk=; b=bEHlYoTnEeV12YeIeyeYTk0R94HKf2or9cPqHjblLjl2E28d+kDGF/Yuj2ssgFrp95 qMn3LKYKKV3NVY+qeESBNQhHcEHvfy4Ntcr7F3q93PbAnqvwG0vN0hAtAhIZZebJfTvZ 9RQmjenbmn3JfG77wYyuIITCAVL8pcK+xaSRU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ZUUYLEAemOJx4CGhKKNnTN1WjNfTaFJsW9yxArb8S+fvEqmfa8k0XfEIOt20SlI72Z mUYUDS15oLOcCA8YN0z1/ytYsZ6leloqCmm1x3fncvxPHYJs6MyzSZ22pdDLF2Pt07xE Cwiygg0QyedIH3PnkJ45DbfWVXcegUmTSpopo= MIME-Version: 1.0 Received: by 10.216.70.200 with SMTP id p50mr1689306wed.54.1285779625475; Wed, 29 Sep 2010 10:00:25 -0700 (PDT) Received: by 10.216.198.194 with HTTP; Wed, 29 Sep 2010 10:00:25 -0700 (PDT) Date: Wed, 29 Sep 2010 11:00:25 -0600 Message-ID: From: Bob Nnamtrop Content-Type: multipart/alternative; boundary=001636e0a79cd5fd85049168e532 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --001636e0a79cd5fd85049168e532 Content-Type: text/plain; charset=ISO-8859-1 When using daemon mode locally on my computer it works correctly. However, if I login (using ssh -Y) to a computer with an emacs daemon running (started with emacs -Q --daemon) and use emacsclient to connect to it emacsclient does not find the server. I get the error: emacsclient -n -c emacsclient: can't find socket; have you started the server? To start the server in Emacs, type "M-x server-start". emacsclient: No socket or alternate editor. Please use: --socket-name --server-file (or environment variable EMACS_SERVER_FILE) --alternate-editor (or environment variable ALTERNATE_EDITOR) I can get emacsclient to work if I use --server-file option after I have located the server-file. I have the following bash function which does this automatically: emc () { emacsclient -n -c --socket-name="$( (find /var/ -name server | grep emacs8060) 2> /dev/null )"} but emacclient should be able to find the socket on its own. Note that this was present in 23.1 and 23.2 as well. Bob In GNU Emacs 24.0.50.2 (i386-apple-darwin9.8.0, GTK+ Version 2.20.1) of 2010-09-29 on *** Windowing system distributor `The X.Org Foundation', version 11.0.10802000 configured using `configure '--prefix=/Users/name/local-emacs-bzr'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t --001636e0a79cd5fd85049168e532 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable When using daemon mode locally on my computer it works correctly.=A0 Howeve= r, if I login (using ssh -Y) to a computer with an emacs daemon running (st= arted with emacs -Q --daemon) and use emacsclient to connect to it emacscli= ent does not find the server.=A0 I get the error:

emacsclient -n -c
emacsclient: can't find socket; have you start= ed the server?
To start the server in Emacs, type "M-x server-start= ".
emacsclient: No socket or alternate editor.=A0 Please use:

=A0=A0=A0=A0=A0=A0=A0 --socket-name
=A0=A0=A0=A0=A0=A0=A0 --server-f= ile=A0=A0=A0=A0=A0 (or environment variable EMACS_SERVER_FILE)
=A0=A0=A0= =A0=A0=A0=A0 --alternate-editor (or environment variable ALTERNATE_EDITOR)<= br>
I can get emacsclient to work if I use --server-file option after I = have located the server-file.=A0 I have the following bash function which d= oes this automatically:

emc () { emacsclient -n -c --socket-name=3D"$( (find /var/ -name s= erver | grep emacs8060) 2> /dev/null )"}

but emacclient shou= ld be able to find the socket on its own.=A0 Note that this was present in = 23.1 and 23.2 as well.

Bob

In GNU Emacs 24.0.50.2 (i386-apple-darwin9.8.0, GTK+ Version= 2.20.1)
=A0of 2010-09-29 on ***
Windowing system distributor `The X.= Org Foundation', version 11.0.10802000
configured using `configure= =A0 '--prefix=3D/Users/name/local-emacs-bzr''

Important settings:
=A0 value of $LC_ALL: nil
=A0 value of $LC_CO= LLATE: nil
=A0 value of $LC_CTYPE: nil
=A0 value of $LC_MESSAGES: nil=
=A0 value of $LC_MONETARY: nil
=A0 value of $LC_NUMERIC: nil
=A0 = value of $LC_TIME: nil
=A0 value of $LANG: nil
=A0 value of $XMODIFIERS: nil
=A0 locale-codi= ng-system: nil
=A0 default enable-multibyte-characters: t

Major m= ode: Lisp Interaction

Minor modes in effect:
=A0 tooltip-mode: t<= br>=A0 mouse-wheel-mode: t
=A0 tool-bar-mode: t
=A0 menu-bar-mode: t
=A0 file-name-shadow-mode: = t
=A0 global-font-lock-mode: t
=A0 font-lock-mode: t
=A0 auto-comp= osition-mode: t
=A0 auto-encryption-mode: t
=A0 auto-compression-mode= : t
=A0 line-number-mode: t
=A0 transient-mark-mode: t
--001636e0a79cd5fd85049168e532-- From unknown Sun Aug 17 00:59:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login References: In-Reply-To: Resent-From: Bob Nnamtrop Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Sep 2010 19:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 7135@debbugs.gnu.org Received: via spool by 7135-submit@debbugs.gnu.org id=B7135.128578935631505 (code B ref 7135); Wed, 29 Sep 2010 19:43:01 +0000 Received: (at 7135) by debbugs.gnu.org; 29 Sep 2010 19:42:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P12Xz-0008C5-RJ for submit@debbugs.gnu.org; Wed, 29 Sep 2010 15:42:36 -0400 Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P12Xy-0008Bw-37 for 7135@debbugs.gnu.org; Wed, 29 Sep 2010 15:42:34 -0400 Received: by wwb31 with SMTP id 31so610921wwb.15 for <7135@debbugs.gnu.org>; Wed, 29 Sep 2010 12:45:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=5Ub0DgU7CX60cQ5VtyOzzf+NgLlU5qrJD3Uokr6mTFk=; b=VQjm7PgANjpjHPoblxxP8obNebH3q97r4BV4LDL9+nErldtUc4BwzKbTwQ9Vlglxko 6qI//I1Yg7PWa4RNITSGJmgQsP06E9vv77qaw6neNMNWIclQrQBZVhnGM595zmXUSY0t Md0T3WLiBugxz0CyMXmFVfoFPpidMuWevNMik= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=O9WYDjcYUNCDX8zHMrmobdQOhgi7XLFtKn2opDKiuk5s+zl6En2LSB92q86OOy3dcF sQb+zNI7MxZFCZTZCnkBSGT1+qQEfDjUKvmgSeHmT+3sFBLjYFv4nZ3MJND8xnmNIEXs zhgfJQ1Aw/szl7TeFZJu78DqCpyvmfphGRbiY= MIME-Version: 1.0 Received: by 10.216.15.10 with SMTP id e10mr2993967wee.21.1285789527352; Wed, 29 Sep 2010 12:45:27 -0700 (PDT) Received: by 10.216.198.194 with HTTP; Wed, 29 Sep 2010 12:45:27 -0700 (PDT) Date: Wed, 29 Sep 2010 13:45:27 -0600 Message-ID: From: Bob Nnamtrop Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -4.3 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) After sending this bug report I noticed bug # 3992 that mentions that the system variable TMPDIR is not set when logging in remotely and suggests setting in .bashrc it with: if [ -z "$TMPDIR" ]; then export TMPDIR=`getconf DARWIN_USER_TEMP_DIR` fi I can confirm that this fixes the problem and I have sumbitted a bug report to Apple to set TMPDIR when logging in remotely. However, I wonder if emacsclient could check if TMPDIR is set and if not set it with the above command so this problem is fixed within emacs. Bob From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 29 16:13:54 2010 Received: (at control) by debbugs.gnu.org; 29 Sep 2010 20:13:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P132I-0008S8-JW for submit@debbugs.gnu.org; Wed, 29 Sep 2010 16:13:54 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P132G-0008S3-Ra for control@debbugs.gnu.org; Wed, 29 Sep 2010 16:13:53 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P1354-0005i2-Ec; Wed, 29 Sep 2010 16:16:46 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19619.40622.366841.556127@fencepost.gnu.org> Date: Wed, 29 Sep 2010 16:16:46 -0400 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: red X-Ran: .bnRN%N!'v!'Fu=B)l45f]iQP&;OB}M,EO8<}5VW0Xh,LiJQmHe%]K~ List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.2 (-----) merge 3992 7135 From unknown Sun Aug 17 00:59:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login In-Reply-To: Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Sep 2010 00:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Bob Nnamtrop Cc: 7135@debbugs.gnu.org Received: via spool by 7135-submit@debbugs.gnu.org id=B7135.12858067049376 (code B ref 7135); Thu, 30 Sep 2010 00:32:01 +0000 Received: (at 7135) by debbugs.gnu.org; 30 Sep 2010 00:31:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P173n-0002RB-Sf for submit@debbugs.gnu.org; Wed, 29 Sep 2010 20:31:44 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P173l-0002R6-Rt for 7135@debbugs.gnu.org; Wed, 29 Sep 2010 20:31:42 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P176a-0008Vl-6h; Wed, 29 Sep 2010 20:34:36 -0400 References: From: Glenn Morris X-Spook: MDA Ft. Meade USCOI Firewalls propaganda Steve Case bomb X-Ran: dm+6V$S@mA4mu-(GrIcO)plj3^/`tB$i~tq{vV!?MXKa(=l":N;'9u~K3*?}oPCIIiCuMt X-Hue: black X-Attribution: GM Date: Wed, 29 Sep 2010 20:34:36 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) 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", From unknown Sun Aug 17 00:59:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Sep 2010 01:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Bob Nnamtrop Cc: 7135@debbugs.gnu.org Received: via spool by 7135-submit@debbugs.gnu.org id=B7135.128581069811059 (code B ref 7135); Thu, 30 Sep 2010 01:39:02 +0000 Received: (at 7135) by debbugs.gnu.org; 30 Sep 2010 01:38:18 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P186D-0002sK-84 for submit@debbugs.gnu.org; Wed, 29 Sep 2010 21:38:17 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P186B-0002sE-G2 for 7135@debbugs.gnu.org; Wed, 29 Sep 2010 21:38:15 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P188z-0002fD-IQ; Wed, 29 Sep 2010 21:41:09 -0400 References: From: Glenn Morris X-Spook: bank Kosovo rail gun Consul warfare investigation Ft. X-Ran: nTL"d4Fq,rB\*0=vPT~Fhl52}*YGE9,n[Xx>Wri,*)zH&$ok7'BsPej#(XYEan<}~cJ<>4 X-Hue: yellow X-Attribution: GM Date: Wed, 29 Sep 2010 21:41:09 -0400 In-Reply-To: (Glenn Morris's message of "Wed\, 29 Sep 2010 20\:34\:36 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) > + tmpdir = egetenv ("DARWIN_USER_TEMP_DIR"); /* bug#3992 */ Oh, is this D_U_T_D thing actually an environment variable, though? From unknown Sun Aug 17 00:59:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Sep 2010 05:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Glenn Morris Cc: Bob Nnamtrop , 7135@debbugs.gnu.org Received: via spool by 7135-submit@debbugs.gnu.org id=B7135.128582444219277 (code B ref 7135); Thu, 30 Sep 2010 05:28:01 +0000 Received: (at 7135) by debbugs.gnu.org; 30 Sep 2010 05:27:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1Bft-00050r-O2 for submit@debbugs.gnu.org; Thu, 30 Sep 2010 01:27:22 -0400 Received: from smtprelay-h32.telenor.se ([213.150.131.5]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1Bfr-00050j-QN for 7135@debbugs.gnu.org; Thu, 30 Sep 2010 01:27:20 -0400 Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h32.telenor.se (Postfix) with ESMTP id 1D715E87FE for <7135@debbugs.gnu.org>; Thu, 30 Sep 2010 07:30:13 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiU7AHO9o0xV4S0jPGdsb2JhbACHcZo0DAEBAQE1LcV6gwwBgjcEjTo X-IronPort-AV: E=Sophos;i="4.57,258,1283724000"; d="scan'208";a="135579067" Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb2.telenor.se with ESMTP; 30 Sep 2010 07:30:13 +0200 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 1949C7FA05A; Thu, 30 Sep 2010 07:30:13 +0200 (CEST) Message-ID: <4CA42064.5060904@swipnet.se> Date: Thu, 30 Sep 2010 07:30:12 +0200 From: Jan =?UTF-8?Q?Dj=C3=A4rv?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.4 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.4 (--) Glenn Morris skrev 2010-09-30 03.41: > >> + tmpdir = egetenv ("DARWIN_USER_TEMP_DIR"); /* bug#3992 */ > > Oh, is this D_U_T_D thing actually an environment variable, though? > > No. It is a getconf variable. Jan D. From unknown Sun Aug 17 00:59:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Sep 2010 06:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Cc: Bob Nnamtrop , 7135@debbugs.gnu.org Received: via spool by 7135-submit@debbugs.gnu.org id=B7135.128582898921178 (code B ref 7135); Thu, 30 Sep 2010 06:44:02 +0000 Received: (at 7135) by debbugs.gnu.org; 30 Sep 2010 06:43:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1CrE-0005VX-Eo for submit@debbugs.gnu.org; Thu, 30 Sep 2010 02:43:08 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1CrC-0005VC-3z for 7135@debbugs.gnu.org; Thu, 30 Sep 2010 02:43:06 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P1Ctz-0003de-SI; Thu, 30 Sep 2010 02:45:59 -0400 References: <4CA42064.5060904@swipnet.se> From: Glenn Morris X-Spook: Saddam Hussein S Box Kennedy digicash military Adriatic X-Ran: 0n|@]H10K,Ub=l:04EVe`?,p"0OlRn<7|`AhTrW8`19zWXhCK;Jn-_F=?7KD|vkM=%lfU\ X-Hue: white X-Attribution: GM Date: Thu, 30 Sep 2010 02:45:59 -0400 In-Reply-To: <4CA42064.5060904@swipnet.se> ("Jan =?UTF-8?Q?Dj=C3=A4rv?="'s message of "Thu\, 30 Sep 2010 07\:30\:12 +0200") Message-ID: <9ityl7loew.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -6.2 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Jan Dj=E4rv wrote: > No. It is a getconf variable. Something more like this then? *** lib-src/emacsclient.c 2010-01-13 15:38:28 +0000 --- lib-src/emacsclient.c 2010-09-30 06:40:27 +0000 *************** *** 1249,1255 **** --- 1249,1266 ---- { tmpdir =3D egetenv ("TMPDIR"); if (!tmpdir) + { + #ifdef DARWIN_OS + size_t n =3D confstr (_CS_DARWIN_USER_TEMP_DIR, NULL, (size_t= ) 0); + if (n > 0) + { + tmpdir =3D alloca (n); + confstr (_CS_DARWIN_USER_TEMP_DIR, tmpdir, n); + } + else + #endif tmpdir =3D "/tmp"; + } socket_name =3D alloca (strlen (tmpdir) + strlen (server_name) + EXTRA_SPACE); sprintf (socket_name, "%s/emacs%d/%s", From unknown Sun Aug 17 00:59:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Sep 2010 09:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Glenn Morris Cc: bobnnamtrop@gmail.com, jan.h.d@swipnet.se, 7135@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 7135-submit@debbugs.gnu.org id=B7135.128583812425221 (code B ref 7135); Thu, 30 Sep 2010 09:16:01 +0000 Received: (at 7135) by debbugs.gnu.org; 30 Sep 2010 09:15:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1FEZ-0006Yk-3Y for submit@debbugs.gnu.org; Thu, 30 Sep 2010 05:15:23 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1FEW-0006Yb-B7 for 7135@debbugs.gnu.org; Thu, 30 Sep 2010 05:15:21 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0L9J00A00Z4M7E00@a-mtaout20.012.net.il> for 7135@debbugs.gnu.org; Thu, 30 Sep 2010 11:17:53 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.127.160]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L9J009R5Z5RJGG0@a-mtaout20.012.net.il>; Thu, 30 Sep 2010 11:17:53 +0200 (IST) Date: Thu, 30 Sep 2010 11:17:54 +0200 From: Eli Zaretskii In-reply-to: <9ityl7loew.fsf@fencepost.gnu.org> Message-id: <83lj6jpp31.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <4CA42064.5060904@swipnet.se> <9ityl7loew.fsf@fencepost.gnu.org> X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.1 (--) > From: Glenn Morris > Date: Thu, 30 Sep 2010 02:45:59 -0400 > Cc: Bob Nnamtrop , 7135@debbugs.gnu.org >=20 > Jan Dj=E4rv wrote: >=20 > > No. It is a getconf variable. >=20 > Something more like this then? >=20 > *** lib-src/emacsclient.c=092010-01-13 15:38:28 +0000 > --- lib-src/emacsclient.c=092010-09-30 06:40:27 +0000 > *************** > *** 1249,1255 **** > --- 1249,1266 ---- > { > =09tmpdir =3D egetenv ("TMPDIR"); > =09if (!tmpdir) > + { > + #ifdef DARWIN_OS > + size_t n =3D confstr (_CS_DARWIN_USER_TEMP_DIR, NULL,= (size_t) 0); > + if (n > 0) > + { > + tmpdir =3D alloca (n); > + confstr (_CS_DARWIN_USER_TEMP_DIR, tmpdir, n); > + } > + else > + #endif > tmpdir =3D "/tmp"; > + } If this works, shouldn't it rather be part of egetenv? Or at least a new get_tmpdir function that would call egetenv on all platforms except Darwin, and use the above on Darwin? From unknown Sun Aug 17 00:59:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Sep 2010 10:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Glenn Morris Cc: Bob Nnamtrop , 7135@debbugs.gnu.org Received: via spool by 7135-submit@debbugs.gnu.org id=B7135.128584149026736 (code B ref 7135); Thu, 30 Sep 2010 10:12:01 +0000 Received: (at 7135) by debbugs.gnu.org; 30 Sep 2010 10:11:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1G6s-0006xB-CI for submit@debbugs.gnu.org; Thu, 30 Sep 2010 06:11:30 -0400 Received: from smtprelay-b12.telenor.se ([62.127.194.21]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1G6q-0006x6-Jb for 7135@debbugs.gnu.org; Thu, 30 Sep 2010 06:11:29 -0400 Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-b12.telenor.se (Postfix) with ESMTP id B7D29E8CFE for <7135@debbugs.gnu.org>; Thu, 30 Sep 2010 12:14:23 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au9AAMb/o0xV4S0jPGdsb2JhbACHcZo5DAEBAQE1LcQ5gwwBgjcEjTw X-IronPort-AV: E=Sophos;i="4.57,259,1283724000"; d="scan'208";a="1677122304" Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb4.telenor.se with ESMTP; 30 Sep 2010 12:14:19 +0200 Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 281297FA05A; Thu, 30 Sep 2010 12:14:18 +0200 (CEST) Message-ID: <4CA462F8.8020209@swipnet.se> Date: Thu, 30 Sep 2010 12:14:16 +0200 From: Jan =?UTF-8?Q?Dj=C3=A4rv?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 References: <4CA42064.5060904@swipnet.se> <9ityl7loew.fsf@fencepost.gnu.org> In-Reply-To: <9ityl7loew.fsf@fencepost.gnu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) Glenn Morris skrev 2010-09-30 08.45: > + { > + #ifdef DARWIN_OS > + size_t n = confstr (_CS_DARWIN_USER_TEMP_DIR, NULL, (size_t) 0); > + if (n> 0) > + { > + tmpdir = alloca (n); > + confstr (_CS_DARWIN_USER_TEMP_DIR, tmpdir, n); > + } > + else > + #endif > tmpdir = "/tmp"; > + } That works. Jan D. From unknown Sun Aug 17 00:59:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login Resent-From: Bob Nnamtrop Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Sep 2010 18:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Cc: Glenn Morris , 7135@debbugs.gnu.org Received: via spool by 7135-submit@debbugs.gnu.org id=B7135.128587001310052 (code B ref 7135); Thu, 30 Sep 2010 18:07:02 +0000 Received: (at 7135) by debbugs.gnu.org; 30 Sep 2010 18:06:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1NWu-0002c5-Pa for submit@debbugs.gnu.org; Thu, 30 Sep 2010 14:06:52 -0400 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1NWs-0002c0-C0 for 7135@debbugs.gnu.org; Thu, 30 Sep 2010 14:06:50 -0400 Received: by wyi11 with SMTP id 11so1996245wyi.3 for <7135@debbugs.gnu.org>; Thu, 30 Sep 2010 11:09:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=eC5N2PpIu0213fJEdR3EX4QxkEFe3gLIOLkJZ4oYLK4=; b=hsUWtd/BBQ5wmvxo1v5l3q9j5R8iB5feawLp3ipI69mC3EJrfqZjFcxgYbswJ4ZqZY FfrW/d6wscMs2p1ZiQumN693Ln6f+9eIrL4VKskNe13rnq7CXEp+betSmfDzDbm3iEed 5EdNdwpuM968SnTfcgEoEx71p7JTjRa44iigs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=JIhVWCt8bS+hvuaYxY0OlJzfEGLc58UjFfvSkn32sAJ+g8O2s3atPWuxVpqfbK7fmq rpLDg2/KstuQy+x4MFPuJStVebWKu1axZlIRubiDA0Rebe5+3g+xU9S6jzQRo9ntu8IJ FzrhxULTmFA8nv6SZx6fmOcx01TVZWTSmrjH8= MIME-Version: 1.0 Received: by 10.216.49.212 with SMTP id x62mr3384964web.55.1285870186132; Thu, 30 Sep 2010 11:09:46 -0700 (PDT) Received: by 10.216.198.194 with HTTP; Thu, 30 Sep 2010 11:09:46 -0700 (PDT) In-Reply-To: <4CA462F8.8020209@swipnet.se> References: <4CA42064.5060904@swipnet.se> <9ityl7loew.fsf@fencepost.gnu.org> <4CA462F8.8020209@swipnet.se> Date: Thu, 30 Sep 2010 12:09:46 -0600 Message-ID: From: Bob Nnamtrop Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) On Thu, Sep 30, 2010 at 4:14 AM, Jan Dj=E4rv wrote: > > > Glenn Morris skrev 2010-09-30 08.45: >> >> + =A0 =A0 =A0 =A0 =A0 { >> + #ifdef DARWIN_OS >> + =A0 =A0 =A0 =A0 =A0 =A0 size_t n =3D confstr (_CS_DARWIN_USER_TEMP_DIR= , NULL, (size_t) >> 0); >> + =A0 =A0 =A0 =A0 =A0 =A0 if (n> =A00) >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 { >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 tmpdir =3D alloca (n); >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 confstr (_CS_DARWIN_USER_TEMP_DIR, tmp= dir, n); >> + =A0 =A0 =A0 =A0 =A0 =A0 =A0 } >> + =A0 =A0 =A0 =A0 =A0 =A0 else >> + #endif >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 tmpdir =3D "/tmp"; >> + =A0 =A0 =A0 =A0 =A0 } > > That works. > > =A0 =A0 =A0 =A0Jan D. > Yes, this works for me also. Thanks, Bob From unknown Sun Aug 17 00:59:46 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Bob Nnamtrop Subject: bug#7135: closed (Re: bug#7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login) Message-ID: References: <4niq1ma883.fsf@fencepost.gnu.org> X-Gnu-PR-Message: they-closed 7135 X-Gnu-PR-Package: emacs Reply-To: 7135@debbugs.gnu.org Date: Fri, 01 Oct 2010 03:41:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1285904462-8719-1" This is a multi-part message in MIME format... ------------=_1285904462-8719-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote lo= gin which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 7135@debbugs.gnu.org. --=20 7135: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7135 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1285904462-8719-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7135-done) by debbugs.gnu.org; 1 Oct 2010 03:40:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1WU1-0002GR-Q9 for submit@debbugs.gnu.org; Thu, 30 Sep 2010 23:40:29 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1WTz-0002GM-F0 for 7135-done@debbugs.gnu.org; Thu, 30 Sep 2010 23:40:28 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P1WWq-0008OQ-Qr; Thu, 30 Sep 2010 23:43:24 -0400 To: 7135-done@debbugs.gnu.org Subject: Re: bug#7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login References: <4CA42064.5060904@swipnet.se> <9ityl7loew.fsf@fencepost.gnu.org> From: Glenn Morris X-Spook: beanpole cracking assassination USCOI PLO MD2 X-Ran: &!f8;V:9(xgVSY=xSe6)z)G\f_m1kBvJ6d.{L>GCP[:`V/>xh!L!"m9V5(~Uj%>]\}Z#=% X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 30 Sep 2010 23:43:24 -0400 In-Reply-To: <9ityl7loew.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu\, 30 Sep 2010 02\:45\:59 -0400") Message-ID: <4niq1ma883.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 7135-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Version: 23.3 2010-10-01 Glenn Morris * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back DARWIN_USER_TEMP_DIR. (Bug#3992) ------------=_1285904462-8719-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Sep 2010 17:06:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P106v-0006Or-69 for submit@debbugs.gnu.org; Wed, 29 Sep 2010 13:06:29 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P106t-0006Ol-4I for submit@debbugs.gnu.org; Wed, 29 Sep 2010 13:06:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P109f-0005yi-Ej for submit@debbugs.gnu.org; Wed, 29 Sep 2010 13:09:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:59835) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P104n-0004zR-L8 for submit@debbugs.gnu.org; Wed, 29 Sep 2010 13:09:19 -0400 Received: from [140.186.70.92] (port=46989 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P101W-0000pH-JG for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2010 13:04:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P1015-0004Pn-2V for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2010 13:00:28 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:46560) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1014-0004Pa-OS for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2010 13:00:27 -0400 Received: by ewy19 with SMTP id 19so426835ewy.0 for ; Wed, 29 Sep 2010 10:00:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=bP44+7UQKuOJeKSycmUdLOQjY38JSXxOxD2iQYRDabk=; b=bEHlYoTnEeV12YeIeyeYTk0R94HKf2or9cPqHjblLjl2E28d+kDGF/Yuj2ssgFrp95 qMn3LKYKKV3NVY+qeESBNQhHcEHvfy4Ntcr7F3q93PbAnqvwG0vN0hAtAhIZZebJfTvZ 9RQmjenbmn3JfG77wYyuIITCAVL8pcK+xaSRU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ZUUYLEAemOJx4CGhKKNnTN1WjNfTaFJsW9yxArb8S+fvEqmfa8k0XfEIOt20SlI72Z mUYUDS15oLOcCA8YN0z1/ytYsZ6leloqCmm1x3fncvxPHYJs6MyzSZ22pdDLF2Pt07xE Cwiygg0QyedIH3PnkJ45DbfWVXcegUmTSpopo= MIME-Version: 1.0 Received: by 10.216.70.200 with SMTP id p50mr1689306wed.54.1285779625475; Wed, 29 Sep 2010 10:00:25 -0700 (PDT) Received: by 10.216.198.194 with HTTP; Wed, 29 Sep 2010 10:00:25 -0700 (PDT) Date: Wed, 29 Sep 2010 11:00:25 -0600 Message-ID: Subject: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login From: Bob Nnamtrop To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=001636e0a79cd5fd85049168e532 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --001636e0a79cd5fd85049168e532 Content-Type: text/plain; charset=ISO-8859-1 When using daemon mode locally on my computer it works correctly. However, if I login (using ssh -Y) to a computer with an emacs daemon running (started with emacs -Q --daemon) and use emacsclient to connect to it emacsclient does not find the server. I get the error: emacsclient -n -c emacsclient: can't find socket; have you started the server? To start the server in Emacs, type "M-x server-start". emacsclient: No socket or alternate editor. Please use: --socket-name --server-file (or environment variable EMACS_SERVER_FILE) --alternate-editor (or environment variable ALTERNATE_EDITOR) I can get emacsclient to work if I use --server-file option after I have located the server-file. I have the following bash function which does this automatically: emc () { emacsclient -n -c --socket-name="$( (find /var/ -name server | grep emacs8060) 2> /dev/null )"} but emacclient should be able to find the socket on its own. Note that this was present in 23.1 and 23.2 as well. Bob In GNU Emacs 24.0.50.2 (i386-apple-darwin9.8.0, GTK+ Version 2.20.1) of 2010-09-29 on *** Windowing system distributor `The X.Org Foundation', version 11.0.10802000 configured using `configure '--prefix=/Users/name/local-emacs-bzr'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t --001636e0a79cd5fd85049168e532 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable When using daemon mode locally on my computer it works correctly.=A0 Howeve= r, if I login (using ssh -Y) to a computer with an emacs daemon running (st= arted with emacs -Q --daemon) and use emacsclient to connect to it emacscli= ent does not find the server.=A0 I get the error:

emacsclient -n -c
emacsclient: can't find socket; have you start= ed the server?
To start the server in Emacs, type "M-x server-start= ".
emacsclient: No socket or alternate editor.=A0 Please use:

=A0=A0=A0=A0=A0=A0=A0 --socket-name
=A0=A0=A0=A0=A0=A0=A0 --server-f= ile=A0=A0=A0=A0=A0 (or environment variable EMACS_SERVER_FILE)
=A0=A0=A0= =A0=A0=A0=A0 --alternate-editor (or environment variable ALTERNATE_EDITOR)<= br>
I can get emacsclient to work if I use --server-file option after I = have located the server-file.=A0 I have the following bash function which d= oes this automatically:

emc () { emacsclient -n -c --socket-name=3D"$( (find /var/ -name s= erver | grep emacs8060) 2> /dev/null )"}

but emacclient shou= ld be able to find the socket on its own.=A0 Note that this was present in = 23.1 and 23.2 as well.

Bob

In GNU Emacs 24.0.50.2 (i386-apple-darwin9.8.0, GTK+ Version= 2.20.1)
=A0of 2010-09-29 on ***
Windowing system distributor `The X.= Org Foundation', version 11.0.10802000
configured using `configure= =A0 '--prefix=3D/Users/name/local-emacs-bzr''

Important settings:
=A0 value of $LC_ALL: nil
=A0 value of $LC_CO= LLATE: nil
=A0 value of $LC_CTYPE: nil
=A0 value of $LC_MESSAGES: nil=
=A0 value of $LC_MONETARY: nil
=A0 value of $LC_NUMERIC: nil
=A0 = value of $LC_TIME: nil
=A0 value of $LANG: nil
=A0 value of $XMODIFIERS: nil
=A0 locale-codi= ng-system: nil
=A0 default enable-multibyte-characters: t

Major m= ode: Lisp Interaction

Minor modes in effect:
=A0 tooltip-mode: t<= br>=A0 mouse-wheel-mode: t
=A0 tool-bar-mode: t
=A0 menu-bar-mode: t
=A0 file-name-shadow-mode: = t
=A0 global-font-lock-mode: t
=A0 font-lock-mode: t
=A0 auto-comp= osition-mode: t
=A0 auto-encryption-mode: t
=A0 auto-compression-mode= : t
=A0 line-number-mode: t
=A0 transient-mark-mode: t
--001636e0a79cd5fd85049168e532-- ------------=_1285904462-8719-1-- From unknown Sun Aug 17 00:59:46 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: bread Subject: bug#3992: closed (Re: bug#7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login) Message-ID: References: <4niq1ma883.fsf@fencepost.gnu.org> <700e2ca10907310105l36c6397bxbca15cad3ddd3477@mail.gmail.com> X-Gnu-PR-Message: they-closed 3992 X-Gnu-PR-Package: emacs Reply-To: 3992@debbugs.gnu.org Date: Fri, 01 Oct 2010 03:41:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1285904462-8719-3" This is a multi-part message in MIME format... ------------=_1285904462-8719-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7135: 23.1.50; [Cocoa Emacs] emacsclient can't find server via ssh which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 3992@debbugs.gnu.org. --=20 7135: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7135 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1285904462-8719-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7135-done) by debbugs.gnu.org; 1 Oct 2010 03:40:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1WU1-0002GR-Q9 for submit@debbugs.gnu.org; Thu, 30 Sep 2010 23:40:29 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1WTz-0002GM-F0 for 7135-done@debbugs.gnu.org; Thu, 30 Sep 2010 23:40:28 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P1WWq-0008OQ-Qr; Thu, 30 Sep 2010 23:43:24 -0400 To: 7135-done@debbugs.gnu.org Subject: Re: bug#7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login References: <4CA42064.5060904@swipnet.se> <9ityl7loew.fsf@fencepost.gnu.org> From: Glenn Morris X-Spook: beanpole cracking assassination USCOI PLO MD2 X-Ran: &!f8;V:9(xgVSY=xSe6)z)G\f_m1kBvJ6d.{L>GCP[:`V/>xh!L!"m9V5(~Uj%>]\}Z#=% X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 30 Sep 2010 23:43:24 -0400 In-Reply-To: <9ityl7loew.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu\, 30 Sep 2010 02\:45\:59 -0400") Message-ID: <4niq1ma883.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 7135-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Version: 23.3 2010-10-01 Glenn Morris * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back DARWIN_USER_TEMP_DIR. (Bug#3992) ------------=_1285904462-8719-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 31 Jul 2009 08:05:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,MULTALT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6V85bkG006449 for ; Fri, 31 Jul 2009 01:05:38 -0700 Received: from mail.gnu.org ([199.232.76.166]:52683 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MWn7Q-0000IS-57 for emacs-pretest-bug@gnu.org; Fri, 31 Jul 2009 04:05:36 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MWn7K-000546-2w for emacs-pretest-bug@gnu.org; Fri, 31 Jul 2009 04:05:31 -0400 Received: from mx20.gnu.org ([199.232.41.8]:33132) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MWn7J-00053g-Jg for emacs-pretest-bug@gnu.org; Fri, 31 Jul 2009 04:05:29 -0400 Received: from mail-gx0-f219.google.com ([209.85.217.219]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MWn7I-0003VA-9z for emacs-pretest-bug@gnu.org; Fri, 31 Jul 2009 04:05:28 -0400 Received: by gxk19 with SMTP id 19so3546011gxk.18 for ; Fri, 31 Jul 2009 01:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=VOpos5Za+35oC038Dm+UnmdGp4pgQfuznZxcKuo8IV0=; b=j/NNA7+9kbJSIuHsCYB30dpq9MzOuH3aqw6mKf+ts362ojX0O8ulH5P3PlQeiQzlPA 1gDhnXRQIvTVumaqrIh665r63t7D0r89tXctzU106SkQ6O+4T/7kr8ep3fqGA1NCyJ1T R9904dp9PIWNI3YGloMq9HRMAoM5l9yxWdd5U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=m/HskzN4eHhthrisLOiTIls2JqIMLRagqCN81v3J4pbQveKxzRkEcsg9ZlUq9+vIPJ ZE8CW7AN0eArzsjYnpHIxWivU9rmr1g50fe2RcCv8M3xyz8uTsQsrwLu41cA5m+RIztY fPsvn6ZpB6UUjiMq+WS+n4AqCTbhPqA+L5Xvw= MIME-Version: 1.0 Received: by 10.231.38.140 with SMTP id b12mr600873ibe.29.1249027527080; Fri, 31 Jul 2009 01:05:27 -0700 (PDT) From: bread Date: Fri, 31 Jul 2009 16:05:07 +0800 Message-ID: <700e2ca10907310105l36c6397bxbca15cad3ddd3477@mail.gmail.com> Subject: 23.1.50; [Cocoa Emacs] emacsclient can't find server via ssh To: emacs-pretest-bug@gnu.org Content-Type: multipart/alternative; boundary=0003255746f210fd09046ffbe201 X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) --0003255746f210fd09046ffbe201 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable --text follows this line-- Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Hi, I've recently moved to MAC OS 10.5 and I compiled Emacs 23 just now, following instructions under nextstep. The bug i found is just like this: 1. Cocoa Emacs was opened on machine A with server-start. Using emacsclient directly under machine A is just fine. But, if I use another machine B to ssh login A, and then use emacsclient, it then told me no server can be found. It's wired because i've opend Emacs and its server. The same operations on Emacs under linux is just fine, so i thought maybe it's a bug related to Cocoa Emacs. 2. Since Step 1 failed, i tried server-file, too. I adjusted Emacs server to use tcp and with a server name "bread-emacs". After then, I use B to loginto A via ssh, and invoke ./emacsclient --server-file=3D/Users/bread/.emacs.d/server/bread-emac= s abc I'll get errors like below: ./emacsclient: connected to remote socket at 255.255.255.255 ./emacsclient: connect: Can't assign requested address ./emacsclient: error accessing server file "/Users/bread/.emacs.d/server/bread-emacs" And here's the contents in ~/.emacs.d/server/bread-emacs [0:0:0:0:0:0:0:1]:50461 27746 PbZI|X\h]&R~EdtG5n'2q=3Dt^O.:E@7_py;:wrvaQ{4PBxFi.6o@(.5e\C~#c7aT2 I'm not sure if this is a bug, so, if there's more information needed, plz let me know. Thanks. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/etc= /DEBUG for instructions. In GNU Emacs 23.1.50.1 (i386-apple-darwin9.7.1, NS apple-appkit-949.46) of 2009-07-31 on bread-mac.local Windowing system distributor `Apple', version 10.3.949 configured using `configure '--with-ns'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: gud-tooltip-mode: t company-mode: t senator-minor-mode: t which-function-mode: t semantic-mru-bookmark-mode: t semantic-idle-tag-highlight-mode: t semantic-idle-summary-mode: t semantic-idle-scheduler-mode: t diff-auto-refine-mode: t recentf-mode: t shell-dirtrack-mode: t display-battery-mode: t tabbar-mode: t auto-image-file-mode: t show-paren-mode: t server-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: t l m C-n C-n C-n C-n C-n M-x r e p o r Recent messages: Loading semantic-decorate-mode...done Loading gud...done Restarting server Loading /Users/bread/.emacs.d/custom.el (source)...done Loading /Users/bread/.emacs.d/site-lisp/themes/color-theme-blackboard.el (source)...done Loading /Users/bread/.emacs.d/site-lisp/themes/color-theme-bread.el (source)...done Loading /Users/bread/.emacs.d/site-lisp/themes/color-theme-example.el (source)...done Loading /Users/bread/.emacs.d/site-lisp/themes/color-theme-library.el (source)...done Loading semanticdb-file...done For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: ~/.emacs.d/site-lisp/cedet/speedbar/speedbar hides /Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/lis= p/speedbar ~/.emacs.d/site-lisp/cedet/speedbar/sb-image hides /Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/lis= p/sb-image /Users/bread/.emacs.d/site-lisp/cedet/common/ezimage hides /Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/lis= p/ezimage ~/.emacs.d/site-lisp/cedet/speedbar/dframe hides /Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/lis= p/dframe --=20 Zhiqiu Kong (=E5=AD=94=E7=9B=B4=E7=A7=8B) EDA Labs Dept. Computer Science & Technology Tsinghua University P.R China 100084 --0003255746f210fd09046ffbe201 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable --text follows this line--

Please write in English if possible, beca= use the Emacs maintainers
usually do not have translators to read other = languages for them.

Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing li= st.

Please describe exactly what actions triggered the bug
and the preci= se symptoms of the bug:

Hi,

I've recently moved to MAC OS= 10.5 and I compiled Emacs 23 just now, following instructions
under nex= tstep.

The bug i found is just like this:

1. Cocoa Emacs was opened on = machine A with server-start.

Using emacsclient directly under machin= e A is just fine.

But, if I use another machine B to ssh login A, a= nd then use emacsclient,
it then told me no server can be found. It's wired because i've ope= nd Emacs and its server.

The same operations on Emacs under linux is= just fine, so i thought maybe
it's a bug related to Cocoa Emacs.
2. Since Step 1 failed, i tried server-file, too.

I adjusted Ema= cs server to use tcp and with a server name "bread-emacs".
After then, I use B to loginto A via ssh, and invoke

=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 ./emacsclient --server-file=3D/Users/bread/.emacs.d/serv= er/bread-emacs abc

I'll get errors like below:

./emacsclient: connected to remo= te socket at 255.255.255.255
./emacsclient: connect: Can't assign re= quested address
./emacsclient: error accessing server file "/Users/= bread/.emacs.d/server/bread-emacs"

And here's the contents in ~/.emacs.d/server/bread-emacs

[0:= 0:0:0:0:0:0:1]:50461 27746
PbZI|X\h]&R~EdtG5n'2q=3Dt^O.:E@7_py;:= wrvaQ{4PBxFi.6o@(.5e\C~#c7aT2


I'm not sure if this is a bug,= so, if there's more information needed, plz let me know.

Thanks.

If Emacs crashed, and you have the Emacs process in the = gdb debugger,
please include the output from the following gdb commands:=
=C2=A0=C2=A0=C2=A0 `bt full' and `xbacktrace'.
If you would = like to further debug the crash, please read the file
/Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/etc= /DEBUG for instructions.


In GNU Emacs 23.1.50.1 (i386-apple-darw= in9.7.1, NS apple-appkit-949.46)
=C2=A0of 2009-07-31 on bread-mac.local<= br> Windowing system distributor `Apple', version 10.3.949
configured us= ing `configure=C2=A0 '--with-ns''

Important settings:=C2=A0 value of $LC_ALL: nil
=C2=A0 value of $LC_COLLATE: nil
=C2=A0= value of $LC_CTYPE: nil
=C2=A0 value of $LC_MESSAGES: nil
=C2=A0 value of $LC_MONETARY: nil
= =C2=A0 value of $LC_NUMERIC: nil
=C2=A0 value of $LC_TIME: nil
=C2=A0= value of $LANG: nil
=C2=A0 value of $XMODIFIERS: nil
=C2=A0 locale-c= oding-system: nil
=C2=A0 default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
=C2=A0 gud-tool= tip-mode: t
=C2=A0 company-mode: t
=C2=A0 senator-minor-mode: t
= =C2=A0 which-function-mode: t
=C2=A0 semantic-mru-bookmark-mode: t
= =C2=A0 semantic-idle-tag-highlight-mode: t
=C2=A0 semantic-idle-summary-mode: t
=C2=A0 semantic-idle-scheduler-mode= : t
=C2=A0 diff-auto-refine-mode: t
=C2=A0 recentf-mode: t
=C2=A0 = shell-dirtrack-mode: t
=C2=A0 display-battery-mode: t
=C2=A0 tabbar-m= ode: t
=C2=A0 auto-image-file-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 server-mode: t
=C2=A0 tooltip-mode: = t
=C2=A0 mouse-wheel-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-n= ame-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-m= ode: t
=C2=A0 global-auto-composition-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0= auto-compression-mode: t
=C2=A0 column-number-mode: t
=C2=A0 line-nu= mber-mode: t
=C2=A0 transient-mark-mode: t

Recent input:
t l m= <tab> <return> C-n C-n C-n C-n C-n M-x r e p
o r <tab> <return>

Recent messages:
Loading semantic-= decorate-mode...done
Loading gud...done
Restarting server
Loading = /Users/bread/.emacs.d/custom.el (source)...done
Loading /Users/bread/.em= acs.d/site-lisp/themes/color-theme-blackboard.el (source)...done
Loading /Users/bread/.emacs.d/site-lisp/themes/color-theme-bread.el (source= )...done
Loading /Users/bread/.emacs.d/site-lisp/themes/color-theme-exam= ple.el (source)...done
Loading /Users/bread/.emacs.d/site-lisp/themes/co= lor-theme-library.el (source)...done
Loading semanticdb-file...done
For information about GNU Emacs and the G= NU system, type C-h C-a.

Load-path shadows:
~/.emacs.d/site-lisp/= cedet/speedbar/speedbar hides /Users/bread/codes/download/emacs/nextstep/Em= acs.app/Contents/Resources/lisp/speedbar
~/.emacs.d/site-lisp/cedet/speedbar/sb-image hides /Users/bread/codes/downl= oad/emacs/nextstep/Emacs.app/Contents/Resources/lisp/sb-image
/Users/bre= ad/.emacs.d/site-lisp/cedet/common/ezimage hides /Users/bread/codes/downloa= d/emacs/nextstep/Emacs.app/Contents/Resources/lisp/ezimage
~/.emacs.d/site-lisp/cedet/speedbar/dframe hides /Users/bread/codes/downloa= d/emacs/nextstep/Emacs.app/Contents/Resources/lisp/dframe


--
Zhiqiu Kong (=E5=AD=94=E7=9B=B4=E7=A7=8B)

EDA LabsDept. Computer Science & Technology
Tsinghua University
P.R China
100084
--0003255746f210fd09046ffbe201-- ------------=_1285904462-8719-3-- From unknown Sun Aug 17 00:59:46 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: bread Subject: bug#4001: closed (Re: bug#7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login) Message-ID: References: <4niq1ma883.fsf@fencepost.gnu.org> <700e2ca10907312246v505cde6o3d120a46443eddb7@mail.gmail.com> X-Gnu-PR-Message: they-closed 4001 X-Gnu-PR-Package: emacs Reply-To: 4001@debbugs.gnu.org Date: Fri, 01 Oct 2010 03:41:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1285904462-8719-5" This is a multi-part message in MIME format... ------------=_1285904462-8719-5 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7135: 23.1.50; [Cocoa Emacs] emacsclient can't find server via ssh which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 4001@debbugs.gnu.org. --=20 7135: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7135 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1285904462-8719-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7135-done) by debbugs.gnu.org; 1 Oct 2010 03:40:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1WU1-0002GR-Q9 for submit@debbugs.gnu.org; Thu, 30 Sep 2010 23:40:29 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1WTz-0002GM-F0 for 7135-done@debbugs.gnu.org; Thu, 30 Sep 2010 23:40:28 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P1WWq-0008OQ-Qr; Thu, 30 Sep 2010 23:43:24 -0400 To: 7135-done@debbugs.gnu.org Subject: Re: bug#7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login References: <4CA42064.5060904@swipnet.se> <9ityl7loew.fsf@fencepost.gnu.org> From: Glenn Morris X-Spook: beanpole cracking assassination USCOI PLO MD2 X-Ran: &!f8;V:9(xgVSY=xSe6)z)G\f_m1kBvJ6d.{L>GCP[:`V/>xh!L!"m9V5(~Uj%>]\}Z#=% X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 30 Sep 2010 23:43:24 -0400 In-Reply-To: <9ityl7loew.fsf@fencepost.gnu.org> (Glenn Morris's message of "Thu\, 30 Sep 2010 02\:45\:59 -0400") Message-ID: <4niq1ma883.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 7135-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Version: 23.3 2010-10-01 Glenn Morris * emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back DARWIN_USER_TEMP_DIR. (Bug#3992) ------------=_1285904462-8719-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 1 Aug 2009 05:47:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.6 required=4.0 tests=AWL,FOURLA,GMAIL,MULTALT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n715lBwH008531 for ; Fri, 31 Jul 2009 22:47:12 -0700 Received: from mail.gnu.org ([199.232.76.166]:32903 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MX7R0-0003k0-DB for emacs-pretest-bug@gnu.org; Sat, 01 Aug 2009 01:47:10 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MX7Qy-0000ca-BD for emacs-pretest-bug@gnu.org; Sat, 01 Aug 2009 01:47:10 -0400 Received: from mail-gx0-f219.google.com ([209.85.217.219]:63059) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MX7Qx-0000cM-T7 for emacs-pretest-bug@gnu.org; Sat, 01 Aug 2009 01:47:08 -0400 Received: by gxk19 with SMTP id 19so4425701gxk.18 for ; Fri, 31 Jul 2009 22:47:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=3qfyeJAJ7y/VpjG4E0GwcLc338apf073FY1GSW5Ydf8=; b=xOvOBUT0DCZpqXI1Y/9A2MdinHbpCAtVpU50NllJiVaaEERfz2pQRpwKn6SbD+35a9 9QoLKZqZuR3ZUiBhq8EUWWzJ9CO+EUZxCNBZwZLH3PBlvLm4Np3VAybrheP0nILcEmCh s56BI4gMnIqRieXKGJkjVJiKxdgkZ15yRewFs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=dMGK8DYiPYLkOcHjnxNgtt/IINcwhM7nYCoqx75WbZmpUK4tn6F4LC4CP1HQCmfn05 5+pcmU9jraZG0UlcNzlPhF8KX79UWP948VbkQGv1lCdYTXxeffPGReMqSgrXHFCa8eHj +cUNq/05VrhBmgbeyjK09LlqYL2EeVr8ODodI= MIME-Version: 1.0 Received: by 10.231.37.77 with SMTP id w13mr920246ibd.3.1249105627096; Fri, 31 Jul 2009 22:47:07 -0700 (PDT) In-Reply-To: <700e2ca10907310105l36c6397bxbca15cad3ddd3477@mail.gmail.com> References: <700e2ca10907310105l36c6397bxbca15cad3ddd3477@mail.gmail.com> From: bread Date: Sat, 1 Aug 2009 13:46:47 +0800 Message-ID: <700e2ca10907312246v505cde6o3d120a46443eddb7@mail.gmail.com> Subject: Re: 23.1.50; [Cocoa Emacs] emacsclient can't find server via ssh To: emacs-pretest-bug@gnu.org Content-Type: multipart/alternative; boundary=00221504915330a98b04700e1184 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) --00221504915330a98b04700e1184 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I tried again with the following steps: 1. machine A with leopard and Cocoa Emacs, ssh login machine B with Ubuntu 2. use machine B to ssh login back to A 3. trigger emacs I got emacs opening but also the following errors: 2009-08-01 13:43:37.012 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:42.013 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:47.098 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:52.100 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:57.101 Emacs[370:10b] ****** Returning nil _server ********** ^C2009-08-01 13:43:58.783 Emacs[370:10b] CGSReenableUpdate returned error 268451844 2009-08-01 13:43:58.785 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:58.785 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:58.786 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:58.786 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:58.787 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:58.787 Emacs[370:10b] ****** Returning nil _server ********** 2009-08-01 13:43:58.797 Emacs[370:10b] CGSReenableUpdate returned error 268451844 2009-08-01 13:43:58.797 Emacs[370:10b] ****** Returning nil _server ********** objc[370]: task_thread failed (result -301) and I can do nothing on Emacs but force quit. Hope this helps. On Fri, Jul 31, 2009 at 4:05 PM, bread wrote: > --text follows this line-- > > Please write in English if possible, because the Emacs maintainers > usually do not have translators to read other languages for them. > > Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing > list. > > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug: > > Hi, > > I've recently moved to MAC OS 10.5 and I compiled Emacs 23 just now, > following instructions > under nextstep. > > The bug i found is just like this: > > 1. Cocoa Emacs was opened on machine A with server-start. > > Using emacsclient directly under machine A is just fine. > > But, if I use another machine B to ssh login A, and then use emacsclient, > it then told me no server can be found. It's wired because i've opend Ema= cs > and its server. > > The same operations on Emacs under linux is just fine, so i thought maybe > it's a bug related to Cocoa Emacs. > > 2. Since Step 1 failed, i tried server-file, too. > > I adjusted Emacs server to use tcp and with a server name "bread-emacs". > > After then, I use B to loginto A via ssh, and invoke > > ./emacsclient --server-file=3D/Users/bread/.emacs.d/server/bread-em= acs > abc > > I'll get errors like below: > > ./emacsclient: connected to remote socket at 255.255.255.255 > ./emacsclient: connect: Can't assign requested address > ./emacsclient: error accessing server file > "/Users/bread/.emacs.d/server/bread-emacs" > > And here's the contents in ~/.emacs.d/server/bread-emacs > > [0:0:0:0:0:0:0:1]:50461 27746 > PbZI|X\h]&R~EdtG5n'2q=3Dt^O.:E@7_py;:wrvaQ{4PBxFi.6o@(.5e\C~#c7aT2 > > > I'm not sure if this is a bug, so, if there's more information needed, pl= z > let me know. > > Thanks. > > If Emacs crashed, and you have the Emacs process in the gdb debugger, > please include the output from the following gdb commands: > `bt full' and `xbacktrace'. > If you would like to further debug the crash, please read the file > /Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/e= tc/DEBUG > for instructions. > > > In GNU Emacs 23.1.50.1 (i386-apple-darwin9.7.1, NS apple-appkit-949.46) > of 2009-07-31 on bread-mac.local > Windowing system distributor `Apple', version 10.3.949 > configured using `configure '--with-ns'' > > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: nil > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: nil > value of $XMODIFIERS: nil > locale-coding-system: nil > default-enable-multibyte-characters: t > > Major mode: Emacs-Lisp > > Minor modes in effect: > gud-tooltip-mode: t > company-mode: t > senator-minor-mode: t > which-function-mode: t > semantic-mru-bookmark-mode: t > semantic-idle-tag-highlight-mode: t > semantic-idle-summary-mode: t > semantic-idle-scheduler-mode: t > diff-auto-refine-mode: t > recentf-mode: t > shell-dirtrack-mode: t > display-battery-mode: t > tabbar-mode: t > auto-image-file-mode: t > show-paren-mode: t > server-mode: t > tooltip-mode: t > mouse-wheel-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > global-auto-composition-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > column-number-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent input: > t l m C-n C-n C-n C-n C-n M-x r e p > o r > > Recent messages: > Loading semantic-decorate-mode...done > Loading gud...done > Restarting server > Loading /Users/bread/.emacs.d/custom.el (source)...done > Loading /Users/bread/.emacs.d/site-lisp/themes/color-theme-blackboard.el > (source)...done > Loading /Users/bread/.emacs.d/site-lisp/themes/color-theme-bread.el > (source)...done > Loading /Users/bread/.emacs.d/site-lisp/themes/color-theme-example.el > (source)...done > Loading /Users/bread/.emacs.d/site-lisp/themes/color-theme-library.el > (source)...done > Loading semanticdb-file...done > For information about GNU Emacs and the GNU system, type C-h C-a. > > Load-path shadows: > ~/.emacs.d/site-lisp/cedet/speedbar/speedbar hides > /Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/l= isp/speedbar > ~/.emacs.d/site-lisp/cedet/speedbar/sb-image hides > /Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/l= isp/sb-image > /Users/bread/.emacs.d/site-lisp/cedet/common/ezimage hides > /Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/l= isp/ezimage > ~/.emacs.d/site-lisp/cedet/speedbar/dframe hides > /Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/l= isp/dframe > > > -- > Zhiqiu Kong (=E5=AD=94=E7=9B=B4=E7=A7=8B) > --=20 Zhiqiu Kong (=E5=AD=94=E7=9B=B4=E7=A7=8B) EDA Labs Dept. Computer Science & Technology Tsinghua University P.R China 100084 --00221504915330a98b04700e1184 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I tried again with the following steps:

1. machine A with leopard an= d Cocoa Emacs, ssh login machine B with Ubuntu
2. use machine B to ssh l= ogin back to A
3. trigger emacs

I got emacs opening but also the = following errors:

2009-08-01 13:43:37.012 Emacs[370:10b] ****** Returning nil _server ***= *******
2009-08-01 13:43:42.013 Emacs[370:10b] ****** Returning nil _ser= ver **********
2009-08-01 13:43:47.098 Emacs[370:10b] ****** Returning n= il _server **********
2009-08-01 13:43:52.100 Emacs[370:10b] ****** Returning nil _server *******= ***
2009-08-01 13:43:57.101 Emacs[370:10b] ****** Returning nil _server = **********
^C2009-08-01 13:43:58.783 Emacs[370:10b] CGSReenableUpdate re= turned error 268451844
2009-08-01 13:43:58.785 Emacs[370:10b] ****** Returning nil _server *******= ***
2009-08-01 13:43:58.785 Emacs[370:10b] ****** Returning nil _server = **********
2009-08-01 13:43:58.786 Emacs[370:10b] ****** Returning nil _= server **********
2009-08-01 13:43:58.786 Emacs[370:10b] ****** Returning nil _server *******= ***
2009-08-01 13:43:58.787 Emacs[370:10b] ****** Returning nil _server = **********
2009-08-01 13:43:58.787 Emacs[370:10b] ****** Returning nil _= server **********
2009-08-01 13:43:58.797 Emacs[370:10b] CGSReenableUpdate returned error 268= 451844
2009-08-01 13:43:58.797 Emacs[370:10b] ****** Returning nil _serv= er **********
objc[370]: task_thread failed (result -301)

and I c= an do nothing on Emacs but force quit.
Hope this helps.

On Fri, Jul 31, 2009 at = 4:05 PM, bread <breaddawson@gmail.com> wrote:
--text follows this line--

Please write in English if possible, beca= use the Emacs maintainers
usually do not have translators to read other = languages for them.

Your bug report will be posted to the emacs-pretest-bug@gnu.= org mailing list.

Please describe exactly what actions triggered the bug
and the preci= se symptoms of the bug:

Hi,

I've recently moved to MAC OS= 10.5 and I compiled Emacs 23 just now, following instructions
under nex= tstep.

The bug i found is just like this:

1. Cocoa Emacs was opened on = machine A with server-start.

Using emacsclient directly under machin= e A is just fine.

But, if I use another machine B to ssh login A, a= nd then use emacsclient,
it then told me no server can be found. It's wired because i've ope= nd Emacs and its server.

The same operations on Emacs under linux is= just fine, so i thought maybe
it's a bug related to Cocoa Emacs.
2. Since Step 1 failed, i tried server-file, too.

I adjusted Ema= cs server to use tcp and with a server name "bread-emacs".
After then, I use B to loginto A via ssh, and invoke

=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 ./emacsclient --server-file=3D/Users/bread/.emacs.d/serv= er/bread-emacs abc

I'll get errors like below:

./emacsclient: connected to remo= te socket at 255.255.255.255
./emacsclient: connect: Can't assign re= quested address
./emacsclient: error accessing server file "/Users/= bread/.emacs.d/server/bread-emacs"

And here's the contents in ~/.emacs.d/server/bread-emacs

[0:= 0:0:0:0:0:0:1]:50461 27746
PbZI|X\h]&R~EdtG5n'2q=3Dt^O.:E@7_py;:= wrvaQ{4PBxFi.6o@(.5e\C~#c7aT2


I'm not sure if this is a bug,= so, if there's more information needed, plz let me know.

Thanks.

If Emacs crashed, and you have the Emacs process in the = gdb debugger,
please include the output from the following gdb commands:=
=C2=A0=C2=A0=C2=A0 `bt full' and `xbacktrace'.
If you would = like to further debug the crash, please read the file
/Users/bread/codes/download/emacs/nextstep/Emacs.app/Contents/Resources/etc= /DEBUG for instructions.


In GNU Emacs 23.1.50.1 (i386-apple-darw= in9.7.1, NS apple-appkit-949.46)
=C2=A0of 2009-07-31 on bread-mac.local<= br> Windowing system distributor `Apple', version 10.3.949
configured us= ing `configure=C2=A0 '--with-ns''

Important settings:=C2=A0 value of $LC_ALL: nil
=C2=A0 value of $LC_COLLATE: nil
=C2=A0= value of $LC_CTYPE: nil
=C2=A0 value of $LC_MESSAGES: nil
=C2=A0 value of $LC_MONETARY: nil
= =C2=A0 value of $LC_NUMERIC: nil
=C2=A0 value of $LC_TIME: nil
=C2=A0= value of $LANG: nil
=C2=A0 value of $XMODIFIERS: nil
=C2=A0 locale-c= oding-system: nil
=C2=A0 default-enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor modes in effect:
=C2=A0 gud-tool= tip-mode: t
=C2=A0 company-mode: t
=C2=A0 senator-minor-mode: t
= =C2=A0 which-function-mode: t
=C2=A0 semantic-mru-bookmark-mode: t
= =C2=A0 semantic-idle-tag-highlight-mode: t
=C2=A0 semantic-idle-summary-mode: t
=C2=A0 semantic-idle-scheduler-mode= : t
=C2=A0 diff-auto-refine-mode: t
=C2=A0 recentf-mode: t
=C2=A0 = shell-dirtrack-mode: t
=C2=A0 display-battery-mode: t
=C2=A0 tabbar-m= ode: t
=C2=A0 auto-image-file-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 server-mode: t
=C2=A0 tooltip-mode: = t
=C2=A0 mouse-wheel-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-n= ame-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-m= ode: t
=C2=A0 global-auto-composition-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0= auto-compression-mode: t
=C2=A0 column-number-mode: t
=C2=A0 line-nu= mber-mode: t
=C2=A0 transient-mark-mode: t

Recent input:
t l m= <tab> <return> C-n C-n C-n C-n C-n M-x r e p
o r <tab> <return>

Recent messages:
Loading semantic-= decorate-mode...done
Loading gud...done
Restarting server
Loading = /Users/bread/.emacs.d/custom.el (source)...done
Loading /Users/bread/.em= acs.d/site-lisp/themes/color-theme-blackboard.el (source)...done
Loading /Users/bread/.emacs.d/site-lisp/themes/color-theme-bread.el (source= )...done
Loading /Users/bread/.emacs.d/site-lisp/themes/color-theme-exam= ple.el (source)...done
Loading /Users/bread/.emacs.d/site-lisp/themes/co= lor-theme-library.el (source)...done
Loading semanticdb-file...done
For information about GNU Emacs and the G= NU system, type C-h C-a.

Load-path shadows:
~/.emacs.d/site-lisp/= cedet/speedbar/speedbar hides /Users/bread/codes/download/emacs/nextstep/Em= acs.app/Contents/Resources/lisp/speedbar
~/.emacs.d/site-lisp/cedet/speedbar/sb-image hides /Users/bread/codes/downl= oad/emacs/nextstep/Emacs.app/Contents/Resources/lisp/sb-image
/Users/bre= ad/.emacs.d/site-lisp/cedet/common/ezimage hides /Users/bread/codes/downloa= d/emacs/nextstep/Emacs.app/Contents/Resources/lisp/ezimage
~/.emacs.d/site-lisp/cedet/speedbar/dframe hides /Users/bread/codes/downloa= d/emacs/nextstep/Emacs.app/Contents/Resources/lisp/dframe


--
Zhiqiu Kong (=E5=AD=94=E7=9B=B4=E7= =A7=8B)


--
Zhiqiu Kong (=E5=AD=94=E7=9B=B4=E7=A7=8B)
=
EDA Labs
Dept. Computer Science & Technology
Tsinghua Univers= ity
P.R China
100084
--00221504915330a98b04700e1184-- ------------=_1285904462-8719-5-- From unknown Sun Aug 17 00:59:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login In-Reply-To: Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Oct 2010 03:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7135 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 7135@debbugs.gnu.org Received: via spool by 7135-submit@debbugs.gnu.org id=B7135.12859052759045 (code B ref 7135); Fri, 01 Oct 2010 03:55:01 +0000 Received: (at 7135) by debbugs.gnu.org; 1 Oct 2010 03:54:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1Whf-0002Lq-0n for submit@debbugs.gnu.org; Thu, 30 Sep 2010 23:54:35 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1Whd-0002Ll-Qi for 7135@debbugs.gnu.org; Thu, 30 Sep 2010 23:54:34 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1P1WkU-0000Gq-S7; Thu, 30 Sep 2010 23:57:30 -0400 References: <4CA42064.5060904@swipnet.se> <9ityl7loew.fsf@fencepost.gnu.org> <83lj6jpp31.fsf@gnu.org> From: Glenn Morris X-Spook: chameleon man threat Agfa ICE arrangements USDOJ CIA X-Ran: [$Gra{bC0D?A3oI>X5AZ?,NPyQ}.x(^Ig7e-G'fSKyv['4*z;z$&@AcgyYiawVQrdlu5!> X-Hue: cyan X-Attribution: GM Date: Thu, 30 Sep 2010 23:57:30 -0400 Message-ID: <7vbp7ea7kl.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Eli Zaretskii wrote: > If this works, shouldn't it rather be part of egetenv? Or at least a > new get_tmpdir function that would call egetenv on all platforms > except Darwin, and use the above on Darwin? I'm not sure if this matters anywhere outside of the current context. I added a kludge to the init of temporary-file-directory in the trunk. Maybe as you say there should be a Ftemporary_file_directory that is used there and elsewhere.