unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Baylis Shanks <bshanks3@hotmail.com>
To: 28542@debbugs.gnu.org
Subject: bug#28542: Temporary failure in name resolution while quitting emacs
Date: Thu, 21 Sep 2017 17:13:59 +0000	[thread overview]
Message-ID: <BN6PR10MB17006C4999F9A9170DE674F992660@BN6PR10MB1700.namprd10.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1063 bytes --]

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.


[-- Attachment #2: Type: text/html, Size: 1601 bytes --]

             reply	other threads:[~2017-09-21 17:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-21 17:13 Baylis Shanks [this message]
2020-11-30 10:53 ` bug#28542: Temporary failure in name resolution while quitting emacs Lars Ingebrigtsen
2020-11-30 16:21   ` Eli Zaretskii
2020-12-02  9:47     ` Lars Ingebrigtsen
2020-12-02 15:06       ` Eli Zaretskii
2020-12-03  8:47         ` Lars Ingebrigtsen
2020-12-03 15:16           ` Eli Zaretskii
2020-12-04  9:34             ` Lars Ingebrigtsen
2020-12-04  9:50               ` Robert Pluim
2020-12-04 18:41                 ` Glenn Morris
2020-12-06 12:53                   ` Lars Ingebrigtsen
2020-12-04 11:42               ` Eli Zaretskii
2020-12-06 12:50                 ` Lars Ingebrigtsen
2020-12-06 19:17                   ` Eli Zaretskii
2020-12-07 14:43                     ` Lars Ingebrigtsen
2020-12-07 16:01                       ` Eli Zaretskii
2020-12-07 16:16                         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BN6PR10MB17006C4999F9A9170DE674F992660@BN6PR10MB1700.namprd10.prod.outlook.com \
    --to=bshanks3@hotmail.com \
    --cc=28542@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).