From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.help Subject: Re: c-g in emacs locked in other terminal? Date: Tue, 28 Jun 2022 21:17:03 +0800 Message-ID: <87czetc4hc.fsf@yahoo.com> References: <878rphdojx.fsf@tanaka.verona.se> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24920"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: joakim@verona.se Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 28 15:22:31 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o6BAk-0006Cw-Kx for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 28 Jun 2022 15:22:30 +0200 Original-Received: from localhost ([::1]:53832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6BAj-0005DB-DO for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 28 Jun 2022 09:22:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6B5m-0007tp-Au for help-gnu-emacs@gnu.org; Tue, 28 Jun 2022 09:17:23 -0400 Original-Received: from sonic317-32.consmr.mail.ne1.yahoo.com ([66.163.184.43]:46690) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6B5k-0000z2-0A for help-gnu-emacs@gnu.org; Tue, 28 Jun 2022 09:17:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1656422233; bh=T97USbouXFJZhNOb69wSpaWrT4sbm5nWLm34L7GTi/4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=fDZwm/2JwArHscxmdE1w9UoTbNvd76mo1SHzocm2sbTSLWL3NxslNyeGdX7e9ljiQ+12tzIb4u4GIeDcCCNDF66nHqrJdCFZvXmsyHnYIxzZFF1nAadXFdZhJ4dsJ724mdJ2kIksVqlrps+hcjjMexmNkEZvO15T19ZLg/BokYSN5ajchG/hIk3Bz2HlCHYkkk6EOlaZAEr2dfPoqeDfwroQUEd6iw3fjE2ZW7yMR8XLFjSy1BPwsuCgl0Fs+sQAaBNBTCf5C8QXYFQknHc+1a3lgVlGupEosnrU/RhrDp9vhBRwG93GZ4cqThGKg5fEde/oocwjJ/i9SNKolNoMiQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1656422233; bh=7YG/U4CF2EMk75ZPu+0AjgvBfPNOPswfCrR5JQdYyvc=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=BHMWO2CxHVgEQpS9iT14gXW9jgZRsccS93u94o7x88buW25IRQ4/l+Z7vncEinhrnqPCvS6nAfrrlOqxfYezACAZ9cEAC4hb4LwGZDr7hkf8cpq2VhGj5eZMAXIdfSvj70h+KWo8uT3Sk1vO8770FDF8IYhgLBkIhxtXCtt5x7y072KQFQRSN+rJ781/ERwhQRTQiGJZif0oKXp3rKBEZB0YKp8ryHjjrQiZxxPzazA5fpmh9nU4W7BmShuuiQ9R48d4EBEiHoF4Ek5lZMvWZVHwEpUAdcSZCU2Z1l1xu3MlwqL7CjJ6nJm/Q/KxGvOntjQd813Ch8/6Xy+2sZkV2A== X-YMail-OSG: wOCleXkVM1mWquykH8SoaBdGCNbvEcdbHTjvQUOW6h1rNhCaWJ3ZoBpQhWfS7.0 B2Gn9SLf_z2RwkcgwFrUNzrBkjDTzifw5EHw.tkYFGi0juwDjkQ2QQYe_MWYsiDrAI82IYhHrXzq xEE9nQsXSsIwkSN2CXkgiLKMVBHOAUe8seHXS3BzghfMKqf.d8t1cQ3tT41Rkd4GbKw0u_RONi9e 9yIchAvvOisnFDf_Cgbt6fKCv.oJ9OKkZ76Q9gOYMDeWjdXHvrsV3T_NKX6w3Frd3CalxG0Jm7Dj EkmtaHOK96eqZfBC9ZH78rAD67wud6lnMreciPGM4fNpDyoucBd5n.rY7sWw61xxbI5wQF06zrxq VnnHTdaClcG_FLi8FRla8b4B1wNviHrv8Mvbj8QZeWOPosFQ9SbnQqmW_wqaxAMDynHZam1LEewL ya3R6SLncYlveyOKtGFX_XZCRq3KBv6m1YLadLJ92CsWk.fZvRkljDJb507URQC.kcAnuywMwzxN xEwScpD7xsINlVH5qQ36Efig3Gr7iVV3RjV4UyPtwqmGl9IM0C0kbG5tb9vSS39B9oK.Y8OPvhE3 bMLV1KoYEb5yvuH353iPd_Gs32pLqSDHMWNTGYjaplzK2adhtRnOivhxsjRUP1EjFMY4zxhMKQCv FTI6W1I0biCZbtj93PSP6G7Cf0fMKAZpe.0CpuB2S8OHLf42pAeWohbonhKpSaF64Dt96o8xr6.I 5ouEqBYj6U_UIy5OqftL17FZFbS44A3R7j2KQepd.sQ3Ng7KhUuzWEZnhfq1gi1NXtAX05T04yWc _yZayGyRz2iSi0SObrZ6cSUMcGlSvPdDP0gIPP5THJ X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Tue, 28 Jun 2022 13:17:13 +0000 Original-Received: by hermes--canary-production-sg3-559fcd5995-zgdgz (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 498be664ce6023ab6311521c3c167ab1; Tue, 28 Jun 2022 13:17:10 +0000 (UTC) In-Reply-To: <878rphdojx.fsf@tanaka.verona.se> (joakim@verona.se's message of "Tue, 28 Jun 2022 13:18:10 +0200") X-Mailer: WebService/1.1.20280 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.184.43; envelope-from=luangruo@yahoo.com; helo=sonic317-32.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:138162 Archived-At: 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.