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.bugs Subject: bug#28542: Temporary failure in name resolution while quitting emacs Date: Thu, 03 Dec 2020 17:16:43 +0200 Message-ID: <83h7p2gbs4.fsf@gnu.org> References: <87lfejcdzv.fsf@gnus.org> <83o8jeke73.fsf@gnu.org> <875z5k5yks.fsf@gnus.org> <837dq0gsc7.fsf@gnu.org> <87o8jbxoml.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12095"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bshanks3@hotmail.com, 28542@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 03 16:18:20 2020 Return-path: Envelope-to: geb-bug-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 1kkqNA-000317-Br for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Dec 2020 16:18:20 +0100 Original-Received: from localhost ([::1]:32934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkqN9-00063S-E0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Dec 2020 10:18:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkqMs-00062a-4j for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2020 10:18:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58061) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kkqMr-000769-Tx for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2020 10:18:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kkqMr-0004M0-P7 for bug-gnu-emacs@gnu.org; Thu, 03 Dec 2020 10:18:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Dec 2020 15:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28542 X-GNU-PR-Package: emacs Original-Received: via spool by 28542-submit@debbugs.gnu.org id=B28542.160700863215669 (code B ref 28542); Thu, 03 Dec 2020 15:18:01 +0000 Original-Received: (at 28542) by debbugs.gnu.org; 3 Dec 2020 15:17:12 +0000 Original-Received: from localhost ([127.0.0.1]:41372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkqM4-00044O-1t for submit@debbugs.gnu.org; Thu, 03 Dec 2020 10:17:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkqM1-0003y4-AS for 28542@debbugs.gnu.org; Thu, 03 Dec 2020 10:17:10 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45223) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkqLv-0006oS-VM; Thu, 03 Dec 2020 10:17:03 -0500 Original-Received: from [176.228.60.248] (port=1865 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kkqLv-0007er-EA; Thu, 03 Dec 2020 10:17:03 -0500 In-Reply-To: <87o8jbxoml.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 03 Dec 2020 09:47:14 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:194907 Archived-At: > From: Lars Ingebrigtsen > Cc: bshanks3@hotmail.com, 28542@debbugs.gnu.org > Date: Thu, 03 Dec 2020 09:47:14 +0100 > > Eli Zaretskii writes: > > >> > The ELisp manual says ab out kill-emacs-hook: > >> > > >> > Because ‘kill-emacs’ can be called in situations where user > >> > interaction is impossible (e.g., when the terminal is > >> > disconnected), functions on this hook should not attempt to > >> > interact with the user. If you want to interact with the user when > >> > Emacs is shutting down, use ‘kill-emacs-query-functions’, described > >> > below. > >> > > >> > So I don't think we can safely ask whether to continue. > >> > >> I don't quite interpret it that way -- this only says that if your > >> intention is to communicate with the user, then use > >> `kill-emacs-query-functions'. > > > > But your suggestion was to ask the user whether to continue -- doesn't > > that qualify as "communicating with the user"? > > It does. But the manual talks about intent -- "if you want to interact" > -- but doesn't prohibit Emacs itself from interacting with the user. > Obviously an error doesn't happen by intent. I think the manual talks about situations where the communications are impossible. What do we do in that case? > > Then perhaps waiting for the response for some finite time would cover > > the cases where the user cannot answer the question? > > Do you mean in the noninteractive case? I don't propose to change > anything unless interactive. No, I was talking about the interactive case. Are you assuming that in the interactive case it is always possible to ask a question and get a response from the user?