From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrew Walrond Newsgroups: gmane.emacs.help Subject: Re: Emacsclient, multiple displays and hanging Date: Wed, 03 Oct 2007 20:45:05 +0100 Message-ID: <4703F141.3050507@walrond.org> References: <1191125384.791451.257590@57g2000hsv.googlegroups.com> <470158ff$0$90263$14726298@news.sunsite.dk> <1191433519.648378.222710@57g2000hsv.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1191440673 19406 80.91.229.12 (3 Oct 2007 19:44:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Oct 2007 19:44:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 03 21:44:30 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IdA8v-0001nL-NV for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Oct 2007 21:44:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IdA8r-0005Sa-DV for geh-help-gnu-emacs@m.gmane.org; Wed, 03 Oct 2007 15:44:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IdA6W-0002XM-8G for help-gnu-emacs@gnu.org; Wed, 03 Oct 2007 15:41:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IdA6V-0002Vi-Hl for help-gnu-emacs@gnu.org; Wed, 03 Oct 2007 15:41:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IdA6U-0002VD-Tt for help-gnu-emacs@gnu.org; Wed, 03 Oct 2007 15:41:55 -0400 Original-Received: from marvin.h-e-r-e-s-y.com ([87.106.62.5]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IdA6U-0002A3-Cs for help-gnu-emacs@gnu.org; Wed, 03 Oct 2007 15:41:54 -0400 Original-Received: from host86-151-174-133.range86-151.btcentralplus.com ([86.151.174.133] helo=[192.168.1.67]) by marvin.h-e-r-e-s-y.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.66) (envelope-from ) id 1IdADw-0001J1-1f for help-gnu-emacs@gnu.org; Wed, 03 Oct 2007 19:49:36 +0000 User-Agent: Icedove 1.5.0.12 (X11/20070731) In-Reply-To: <1191433519.648378.222710@57g2000hsv.googlegroups.com> X-Enigmail-Version: 0.94.2.0 X-Detected-Kernel: Linux 2.6 (newer, 1) 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:48094 Archived-At: >> Greg Detre wrote: >>> Dear all, >>> When I'm at work, I want to be able to use that same >>> emacs session on my desktop. So I sit at my desktop and ssh into my >>> laptop, using emacsclient and 'make-frame-on-display' to bring up a >>> new emacsclient session on my desktop, continuing where I left off. >>> The problem comes when I remove my laptop. If I forgot to close all >>> the running emacsclient windows on my desktop, then emacs on my laptop >>> hangs (since it's waiting for some kind of X input from the >>> emacsclient running on my desktop). Obviously the solution is to >>> always shut all the emacsclients on my desktop before unplugging my >>> laptop, but I forget about twice a week, and have to kill -9 my laptop >>> emacs :( I haven't tried the emacsclient stuff yet, but I always run gnu screen, then emacs within that. If you lose the connection, you'll just get 'detached' by gnu screen; no hung processes at all. And you can always reattach with 'screen -r' I wouldn't be without gnu screen now. And my .screenrc file is almost as important to me as .emacs ;) Andrew Walrond