all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: 38264@debbugs.gnu.org
Subject: bug#38264: 27.0.50; Emacs terminates unexpectedly when noninteractive is t
Date: Tue, 19 Nov 2019 18:02:10 +0200	[thread overview]
Message-ID: <835zjf3ldp.fsf@gnu.org> (raw)
In-Reply-To: <87mucsshms.fsf@yantar92-laptop.i-did-not-set--mail-host-address--so-tickle-me> (message from Ihor Radchenko on Tue, 19 Nov 2019 10:51:39 +0800)

tags 38264 notabug
thanks

> From: Ihor Radchenko <yantar92@gmail.com>
> Date: Tue, 19 Nov 2019 10:51:39 +0800
> 
> When I try to run the following code, graphical emacs window terminates
> losing all the unsaved data.
> 
> (setq debug-on-error t)
> (let ((noninteractive t))
>   (/ 1 0))
> 
> The problem is reproducible with emacs -Q.
> Running the code without debug-on-error set to t does not trigger
> termination. 

This is a feature: in non-interactive mode entering a debugger
displays the backtrace and then kills Emacs.

Why are you binding noninteractive to t while debug-on-error is
enabled?





  reply	other threads:[~2019-11-19 16:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-19  2:51 bug#38264: 27.0.50; Emacs terminates unexpectedly when noninteractive is t Ihor Radchenko
2019-11-19 16:02 ` Eli Zaretskii [this message]
2019-11-19 16:57   ` Ihor Radchenko
2019-11-20 15:59     ` Eli Zaretskii
2019-11-20 16:35       ` Ihor Radchenko
2019-11-20 17:37         ` Eli Zaretskii
2019-11-20 23:22           ` Artur Malabarba
2019-11-21  3:37             ` Eli Zaretskii
2019-11-21 11:15               ` Artur Malabarba
2019-11-21 14:22                 ` Eli Zaretskii
2019-11-22 14:38                   ` Eli Zaretskii

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=835zjf3ldp.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=38264@debbugs.gnu.org \
    --cc=yantar92@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.