From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: /usr/local/bin/emacs: writing to child signal FD: Bad file descriptor Date: Sat, 04 Dec 2021 22:44:01 +0200 Message-ID: <837dck5cdq.fsf@gnu.org> References: <87k0glw14b.fsf@zoho.eu> <87r1aslgmf.fsf@logand.com> <4AAA998C-9EBE-48F2-9758-DF7D64B4E78F@gnu.org> <87h7bokswq.fsf@logand.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5182"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 04 21:44:42 2021 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 1mtbth-0001CM-PK for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 04 Dec 2021 21:44:41 +0100 Original-Received: from localhost ([::1]:34958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtbtg-00043g-9Z for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 04 Dec 2021 15:44:40 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtbtB-00043X-2D for help-gnu-emacs@gnu.org; Sat, 04 Dec 2021 15:44:09 -0500 Original-Received: from [2001:470:142:3::e] (port=45116 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtbtA-0000lT-Qj for help-gnu-emacs@gnu.org; Sat, 04 Dec 2021 15:44:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=W2/Jxw/IBjNgay5G0A5+fTQMX62MFY5caP1SfJmAzXo=; b=kxIG41dk3dfW 04yh2KtOl0wkwBiqe02T9NnZqPQ4SGD5/GibjBp2zluTey6ufaJXfBxrMYUB4zhf36QSr0qUSWlKq ziLRm8axKWxsFY+t/dg6zucFE3Oj/EXmLxMpDRm6XX+TCb2k99jleqIOVaVo06lEsFIKGn2l2lN9V Jz0qHi6Xnx+aC7IAEzDTKIbsh6FzP1WMaRdYbRENZZ8eu1hTRUQWW/v59itJjjDEu6YLuJa8kicG+ 9PvG+69thuAxd15Fq1Xc+iYwenOWkwVay0MLvTtjo86AIkCQ9WcLU3yNgbH+FbAmBUcmLvKG3anUM X32XqtV6Nx95Z50YgLKjtQ==; Original-Received: from [87.69.77.57] (port=3975 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtbtA-0004Xl-Cb for help-gnu-emacs@gnu.org; Sat, 04 Dec 2021 15:44:08 -0500 In-Reply-To: <87h7bokswq.fsf@logand.com> (message from Tomas Hlavaty on Sat, 04 Dec 2021 21:37:57 +0100) 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:134845 Archived-At: > From: Tomas Hlavaty > Date: Sat, 04 Dec 2021 21:37:57 +0100 > > > What version of Emacs is that, and on what OS? > > GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, > cairo version 1.16.0) You may wish trying the pretest of Emacs 28. Some problems in this area were fixed after 27.2 was released, I think. > > In general, typing C-g twice invokes "emergency exit", but that is > > supposed to ask you a question before it ends the session. > > Mostly it does ask two questions iirc, save stuff? and then abort? > But sometimes it crashes without questions. The two questions it asks are the intended behavior. And if you tell it to abort, then it does, and you may think it's a crash. But it shouldn't crash without asking first. > Is there some non-emergency way of interrupting blocking behaviour like > network connections? You can deliver a SIGUSR1 signal. But it doesn't necessarily help in all situations.