bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Lars Ingebrigtsen
Subject: bug#33782: 27.0.50; Emacsclient ignores errors when its frame is deleted
Date: Wed, 10 Jul 2019 01:32:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Philipp <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]