GNU bug report logs - #28542
Temporary failure in name resolution while quitting emacs

Previous Next

Package: emacs;

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


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Baylis Shanks <bshanks3 <at> hotmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: Temporary failure in name resolution while quitting emacs
Date: Thu, 21 Sep 2017 17:13:59 +0000
[Message part 1 (text/plain, inline)]
I had an http address open in a buffer (i think i closed that buffer), and then i disconnected from the internet and then attempted to quit emacs. Emacs would not quit; when i attempted to quit it, a message involving 'open-network-stream' and 'temporary failure in name resolution' would be displayed in *messages* and then nothing would happen.


Manually opening an elisp buffer and using setq to remove save-place-kill-emacs-hook from kill-emacs-hook solved the problem.


I think there are really two bugs here;


1) whatever save-place-kill-emacs-hook is doing should be robust to 'temporary failure in name resolution' errors


2) more importantly, if there is an error in something called from kill-emacs-hook, emacs should not just return to normal functioning (without quitting), but rather should give the user a choice of whether to continue to quit or not (if continue to quit is chosen, the remaining items in kill-emacs-hook should be called). It's really frustrating to a user when the user cannot figure out how to quit a program.

[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 160 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.