unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Philipp <p.stephani2@gmail.com>
Cc: 33782@debbugs.gnu.org
Subject: bug#33782: 27.0.50; Emacsclient ignores errors when its frame is deleted
Date: Wed, 10 Jul 2019 01:32:58 +0200	[thread overview]
Message-ID: <87ftnepyvp.fsf@mouse.gnus.org> (raw)
In-Reply-To: <wvr4lg4nom7z.fsf@gmail.com> (Philipp's message of "Mon, 17 Dec 2018 22:52:00 +0100")

Philipp <p.stephani2@gmail.com> writes:

> Assuming an Emacs server is running:
>
> $ emacsclient --create-frame --eval '(unwind-protect (error "foo") (delete-frame))' ; echo $?
> 0
>
> This means that if the frame created by Emacsclient is deleted, errors
> are ignored.  This seems like a bug; I wouldn't expect errors to be
> ignored in this case, because they should bubble up through the
> `unwind-protect' form.

Well...  like

(unwind-protect (error "foo") (message "zot"))

there's no error bubbling, and there's no error to be returned, so I
think this is correct behaviour?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2019-07-09 23:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-17 21:52 bug#33782: 27.0.50; Emacsclient ignores errors when its frame is deleted Philipp
2019-07-09 23:32 ` Lars Ingebrigtsen [this message]
2019-07-10  2:05   ` Noam Postavsky
2019-07-10 11:16     ` Lars Ingebrigtsen
2019-07-10 14:34       ` Noam Postavsky

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=87ftnepyvp.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=33782@debbugs.gnu.org \
    --cc=p.stephani2@gmail.com \
    /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).