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 #29 received at control <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Philipp <p.stephani2 <at> gmail.com>, 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 10:34:45 -0400
tags 33782 notabug
close 33782
quit

Lars Ingebrigtsen <larsi <at> gnus.org> 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.





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.