From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: alistair_happencross@hotmail.com Newsgroups: gmane.emacs.help Subject: Re: Connecting to remote Emacs? Date: 16 Jun 2006 12:04:44 -0700 Organization: http://groups.google.com Message-ID: <1150484684.171780.167580@f6g2000cwb.googlegroups.com> References: <1150277991.614774.87970@y41g2000cwy.googlegroups.com> <87d5dbva7s.fsf@thalassa.informatimago.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1150486838 31050 80.91.229.2 (16 Jun 2006 19:40:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Jun 2006 19:40:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 16 21:40:37 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FrKBH-0006ia-4T for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Jun 2006 21:40:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FrKBG-0007ru-Kn for geh-help-gnu-emacs@m.gmane.org; Fri, 16 Jun 2006 15:40:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!f6g2000cwb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: 84.9.130.169 Original-X-Trace: posting.google.com 1150484688 10116 127.0.0.1 (16 Jun 2006 19:04:48 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 16 Jun 2006 19:04:48 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418 (KHTML, like Gecko) Safari/417.9.2,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: f6g2000cwb.googlegroups.com; posting-host=84.9.130.169; posting-account=WQWLFwoAAABT24nddag9mQqTgC4w7FEE Original-Xref: shelby.stanford.edu gnu.emacs.help:139883 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35507 Archived-At: Pascal Bourguignon wrote: > So I have this in my ~/.emacs: [snip] Thanks, Pascal. It's a really cool idea and works quite well for me -- I just had to change the setf's appropriately (are you using the CL package?) > or, if you want it thru ssh: > > ssh -X bash -c 'echo $DISPLAY | tee -a ~/frame-emacs \ > -a ~/frame-gnus \ > -a ~/frame-erc ' This doesn't seem to work for me (after adding the remote host to the command line). I think the ssh process disconnects before the frame-server has a chance to pick up the connection. So I do something like this from my local shell: $ ssh -X $remotehost $ echo $DISPLAY | tee -a ~/frame-emacs which is OK. However, after closing the frame with `C-x 5 0', I cannot exit the interactive ssh session cleanly with C-d -- it needs prodding with C-c. Maybe Emacs isn't closing the X connection properly?