all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: joakim@verona.se
Cc: help-gnu-emacs@gnu.org
Subject: Re: c-g in emacs locked in other terminal?
Date: Tue, 28 Jun 2022 21:17:03 +0800	[thread overview]
Message-ID: <87czetc4hc.fsf@yahoo.com> (raw)
In-Reply-To: <878rphdojx.fsf@tanaka.verona.se> (joakim@verona.se's message of "Tue, 28 Jun 2022 13:18:10 +0200")

joakim@verona.se writes:

> I use the emacs feature to attach to a running emacs server in multiple
> clients a lot. Sometimes I do m-x in one of the terminals, forget about
> it, and then try to use emacs from some of the other terminals, which are
> now unresponsive. If the original terminal where i did an unfinished m-x
> is not readily available, its pretty hard to get out of this state.
>
> I've been using this feature since it was called mtty-emacs, but I've
> never figured out the correct procedure to get out of it, except
> attaching to the original terminal, and doing c-g there.
>
> Any hints? The most convenient would be to configure c-g to just break
> all terminals, if possible.

Input is not handled from other terminals during a recursive edit (or
more precisely, inside single-keyboard mode, which is turned on then and
in some other similar situations.)

I don't understand why it has to work that way, but it's a known problem
with no fix.  See admin/notes/multi-tty.



  reply	other threads:[~2022-06-28 13:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-28 11:18 c-g in emacs locked in other terminal? joakim
2022-06-28 13:17 ` Po Lu [this message]
2022-06-29 15:12   ` joakim
2022-06-28 14:08 ` andrés ramírez
2022-06-29 15:13   ` joakim

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=87czetc4hc.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=joakim@verona.se \
    /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.