Subject: bug#33782: 27.0.50; Emacsclient ignores errors when its frame is deleted

From: Noam Postavsky <[email-masked]>
Date: Wed, 10 Jul 2019 10:34:45 -0400

tags 33782 notabug
close 33782
quit

Lars Ingebrigtsen <[email-masked]> writes:

>>>> $ emacsclient --create-frame --eval '(unwind-protect (error "foo")
>>>> (delete-frame))' ; echo $?
>>>> 0

> Yes, but there is no...  bubbling...  in this context.  The code is the
> moral equivalent of saying
>
> emacs -Q -nw --eval '(unwind-protect (error "foo") (kill-emacs))'; echo $?
>
> in an emacsclient context, and this which also says "0".

Oh, I see, for emacsclient --create-frame, delete-frame is like
kill-emacs.  I guess that makes sense then.  Re-closing.