* c-g in emacs locked in other terminal?
@ 2022-06-28 11:18 joakim
2022-06-28 13:17 ` Po Lu
2022-06-28 14:08 ` andrés ramírez
0 siblings, 2 replies; 5+ messages in thread
From: joakim @ 2022-06-28 11:18 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
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.
--
Joakim Verona
joakim@verona.se
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: c-g in emacs locked in other terminal?
2022-06-28 11:18 c-g in emacs locked in other terminal? joakim
@ 2022-06-28 13:17 ` Po Lu
2022-06-29 15:12 ` joakim
2022-06-28 14:08 ` andrés ramírez
1 sibling, 1 reply; 5+ messages in thread
From: Po Lu @ 2022-06-28 13:17 UTC (permalink / raw)
To: joakim; +Cc: help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: c-g in emacs locked in other terminal?
2022-06-28 13:17 ` Po Lu
@ 2022-06-29 15:12 ` joakim
0 siblings, 0 replies; 5+ messages in thread
From: joakim @ 2022-06-29 15:12 UTC (permalink / raw)
To: help-gnu-emacs
Po Lu <luangruo@yahoo.com> writes:
> 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.
Thanks!
>
>
--
Joakim Verona
joakim@verona.se
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: c-g in emacs locked in other terminal?
2022-06-28 11:18 c-g in emacs locked in other terminal? joakim
2022-06-28 13:17 ` Po Lu
@ 2022-06-28 14:08 ` andrés ramírez
2022-06-29 15:13 ` joakim
1 sibling, 1 reply; 5+ messages in thread
From: andrés ramírez @ 2022-06-28 14:08 UTC (permalink / raw)
To: joakim; +Cc: help-gnu-emacs
Hi. Joakim.
>>>>> "joakim" == joakim <joakim@verona.se> writes:
joakim> Hello, I use the emacs feature to attach to a running emacs server in multiple clients a
joakim> lot. Sometimes I do m-x in one of the terminals, forget about it, and then try to use
joakim> emacs from some of the other terminals, which are now unresponsive. If the original
joakim> terminal where i did an unfinished m-x is not readily available, its pretty hard to get
joakim> out of this state.
I have this line on my .bashrc that helps me on that situation:
--8<---------------cut here---------------start------------->8---
alias myfixem="emacsclient --eval \" (run-at-time \\\"1\\\" nil #'kill-buffer \\\"*Backtrace*\\\") \""
--8<---------------cut here---------------end--------------->8---
Best Regards
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: c-g in emacs locked in other terminal?
2022-06-28 14:08 ` andrés ramírez
@ 2022-06-29 15:13 ` joakim
0 siblings, 0 replies; 5+ messages in thread
From: joakim @ 2022-06-29 15:13 UTC (permalink / raw)
To: help-gnu-emacs
andrés ramírez <rrandresf@hotmail.com> writes:
> Hi. Joakim.
>
>>>>>> "joakim" == joakim <joakim@verona.se> writes:
>
> joakim> Hello, I use the emacs feature to attach to a running emacs server in multiple clients a
> joakim> lot. Sometimes I do m-x in one of the terminals, forget about it, and then try to use
> joakim> emacs from some of the other terminals, which are now unresponsive. If the original
> joakim> terminal where i did an unfinished m-x is not readily available, its pretty hard to get
> joakim> out of this state.
>
> I have this line on my .bashrc that helps me on that situation:
>
> alias myfixem="emacsclient --eval \" (run-at-time \\\"1\\\" nil #'kill-buffer \\\"*Backtrace*\\\") \""
>
> Best Regards
Thanks! I will test this
>
>
--
Joakim Verona
joakim@verona.se
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-06-29 15:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-28 11:18 c-g in emacs locked in other terminal? joakim
2022-06-28 13:17 ` Po Lu
2022-06-29 15:12 ` joakim
2022-06-28 14:08 ` andrés ramírez
2022-06-29 15:13 ` joakim
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.