GNU bug report logs - #33782
27.0.50; Emacsclient ignores errors when its frame is deleted

Previous Next

Package: emacs;

Reported by: Philipp <p.stephani2 <at> gmail.com>

Date: Mon, 17 Dec 2018 21:53:01 UTC

Severity: normal

Tags: notabug

Found in version 27.0.50

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Philipp <p.stephani2 <at> gmail.com>
Cc: 33782 <at> debbugs.gnu.org
Subject: Re: bug#33782: 27.0.50;
 Emacsclient ignores errors when its frame is deleted
Date: Wed, 10 Jul 2019 01:32:58 +0200
Philipp <p.stephani2 <at> 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




This bug report was last modified 5 years and 319 days ago.

Previous Next


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