From breaddawson@gmail.com Fri Jul 31 01:05:46 2009 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-- From jasonrumney@gmail.com Sat Aug 1 02:18:40 2009 Received: (at control) by emacsbugs.donarmstrong.com; 1 Aug 2009 09:18:40 +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=-2.0 required=4.0 tests=AWL,VALID_BTS_CONTROL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mail-px0-f199.google.com (mail-px0-f199.google.com [209.85.216.199]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n719IaSJ030173 for ; Sat, 1 Aug 2009 02:18:37 -0700 Received: by pxi37 with SMTP id 37so1686219pxi.19 for ; Sat, 01 Aug 2009 02:18:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:message-id :date:from:user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=fEaUEI0AXSPs5wWc78pTNjdcE3hk+C7iyZkLDmizBGs=; b=PV22Yge0KpZbgCyj5eOP83MM+FqIz1kzKmBuFqOEHOfUUMarqvPa/lpPUihlpHdQgX FDt/uxLFupxel9AbUyGermgX413f8wstj7D59jNhifprk261ADqpso9QjLI8BjbBzG5t HW0fObcvd2Qvm5uNWd/lbR0ROl+qzMX14wA9g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=FvCCPSvd5Kqrx68krlCCX1KmEWJkTl+VrC1iygrcySURxqA9nnPehenkp2EMKd5SJO J/yPb3CY9uGuVGxvnx7jykJwwOzOy/aHq9G1pS3I2FSqliqKnkZvaIQZ4ErX5gK18T3D O3xBElfWfPrTDv0zHev3+7EhhpwEqvs5rfFCs= Received: by 10.114.169.10 with SMTP id r10mr5115435wae.140.1249118311173; Sat, 01 Aug 2009 02:18:31 -0700 (PDT) Received: from wanchan.jasonrumney.net ([118.101.136.103]) by mx.google.com with ESMTPS id j15sm6847383waf.16.2009.08.01.02.18.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 01 Aug 2009 02:18:30 -0700 (PDT) Sender: Jason Rumney Received: from wanchan.jasonrumney.net (localhost [127.0.0.1]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 6741F787 for ; Sat, 1 Aug 2009 17:18:27 +0800 (MYT) Message-ID: <4A740862.6050200@gnu.org> Date: Sat, 01 Aug 2009 17:18:26 +0800 From: Jason Rumney User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: Reassign platform specific bugs Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit reassign 3456 emacs,w32 reassign 3710 emacs,ns reassign 3843 emacs,w32 reassign 3859 emacs,w32 reassign 3963 emacs,ns reassign 3979 emacs,ns reassign 3988 emacs,ns reassign 3992 emacs,ns reassign 3994 emacs,ns reassign 4001 emacs,ns merge 3992 4001 From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 12 16:40:59 2010 Received: (at 3992) by debbugs.gnu.org; 12 Jul 2010 20:40:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYPoB-0003LO-AL for submit@debbugs.gnu.org; Mon, 12 Jul 2010 16:40:59 -0400 Received: from ns1.hamachi.us ([64.81.48.14] helo=mail.hamachi.us) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYPlc-0003KC-5q for 3992@debbugs.gnu.org; Mon, 12 Jul 2010 16:38:20 -0400 Received: from sihde-md.linkedin.biz (dagmar.corp.linkedin.com [69.28.149.29]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.hamachi.us (Postfix) with ESMTPSA id 5B9AF8850 for <3992@debbugs.gnu.org>; Mon, 12 Jul 2010 13:38:22 -0700 (PDT) Message-Id: <746F3247-3F89-4BF3-A513-9F52D5DBE1B2@hamachi.us> From: Steven Ihde To: 3992@debbugs.gnu.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: emacsclient and ssh on MacOS X Date: Mon, 12 Jul 2010 13:38:21 -0700 X-Mailer: Apple Mail (2.936) X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 3992 X-Mailman-Approved-At: Mon, 12 Jul 2010 16:40:58 -0400 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: -0.8 (/) I experienced this problem too. I found that in my case the problem was caused by the setting of $TMPDIR on OS X. When logging in at the desktop, $TMPDIR is set by launchd to some directory under /var/folders. This doesn't happen when logging in via ssh. Thus, emacsclient on an ssh session is unable to find a server started under a desktop session, because they communicate through a unix socket located under $TMPDIR. To fix this, add something like the following to your .profile or .bashrc so it is executed when logging in via ssh: if [ -z "$TMPDIR" ]; then export TMPDIR=`getconf DARWIN_USER_TEMP_DIR` fi This will set TMPDIR to the same per-user directory as when logging in on the desktop. This fixed the problem for me. 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 Fri Aug 15 16:19:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 29 Oct 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator