all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Greg Detre <gdetre@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Emacsclient, multiple displays and hanging
Date: Sun, 30 Sep 2007 04:09:44 -0000	[thread overview]
Message-ID: <1191125384.791451.257590@57g2000hsv.googlegroups.com> (raw)

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

             reply	other threads:[~2007-09-30  4:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-30  4:09 Greg Detre [this message]
2007-09-30 15:54 ` Emacsclient, multiple displays and hanging 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1191125384.791451.257590@57g2000hsv.googlegroups.com \
    --to=gdetre@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.