GNU bug report logs -
#28542
Temporary failure in name resolution while quitting emacs
Previous Next
Reported by: Baylis Shanks <bshanks3 <at> hotmail.com>
Date: Thu, 21 Sep 2017 17:22:02 UTC
Severity: normal
Tags: fixed
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> 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.
> 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.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 4 years and 161 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.