Subject: bug#26986: 26.0.50; Unsafe recovery should be off by default in batch mode

From: Philipp Stephani <[email-masked]>
Date: Thu, 18 May 2017 20:26:13 +0000

Eli Zaretskii <[email-masked]> schrieb am Do., 18. Mai 2017 um 21:50 Uhr:

> > From: Philipp <[email-masked]>
> > Date: Thu, 18 May 2017 21:44:22 +0200
> >
> > In batch mode there will usually be no long-lived buffers with
> > non-recoverable contents, therefore the reasoning for
> > `attempt-stack-overflow-recovery' and
> > `attempt-orderly-shutdown-on-fatal-signal' being t doesn't apply.  This
> > means that these variables should be nil by default in batch mode.
>
> I see your point, but what are the arguments for changing their values
> in batch mode?  IOW, what advantages will this give us?
>

When debugging Emacs internals or running unit tests, setting these
variables to nil will cause obvious and clear failures instead of silent
recovery attempts.