unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacsclient, multiple displays and hanging
@ 2007-09-30  4:09 Greg Detre
  2007-09-30 15:54 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Greg Detre @ 2007-09-30  4:09 UTC (permalink / raw)
  To: help-gnu-emacs

Dear all,

I try to keep the same Emacs session on my laptop running for days and
weeks at a time. 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.
This works phenomenally for me.

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've spent a fair while scouring emacsclient tips and documentation,
but nobody appears to have mentioned this issue. Does anybody have any
ideas for how to fix or work around this?

Yours,
   Greg

P.S. I wrote a tiny wrapper for Emacsclient to try and make it
friendlier for the use case I outlined above. Feel free to grab it
from here:

http://gregdetre.blogspot.com/2007/05/my-take-on-emacsclient.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-10-10 16:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-30  4:09 Emacsclient, multiple displays and hanging Greg Detre
2007-09-30 15:54 ` Eli Zaretskii
2007-10-01 20:30 ` Colin S. Miller
2007-10-03 17:45   ` Greg Detre
2007-10-03 19:45     ` Andrew Walrond
     [not found]     ` <mailman.1683.1191440517.18990.help-gnu-emacs@gnu.org>
2007-10-03 19:56       ` poppyer
2007-10-04  9:20         ` Andrew Walrond
2007-10-10 16:04   ` Stefan Monnier
     [not found] ` <mailman.1502.1191167704.18990.help-gnu-emacs@gnu.org>
2007-10-03 17:47   ` Greg Detre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).