[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Backtrace printing in batch mode ignores all customizations
From: |
Stefan Monnier |
Subject: |
Re: Backtrace printing in batch mode ignores all customizations |
Date: |
Sat, 04 Jan 2020 17:44:36 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> + ;; We're in the initial-frame (where `message' just outputs to stdout) so
> + ;; there's no tty or GUI frame to display the backtrace and interact with
> + ;; it: just dump a backtrace to stdout.
> + ;; This happens for example while handling an error in code from
> + ;; early-init.el with --debug-init.
> + (message "Error: %S" args)
> [...]
>
> The condition seems to always be true when `noninteractive' is t.
The `noninteractive` case is indeed not the one for which this code
was added. I guess we can conditionalize it on `noninteractive`, but it
would be worthwhile looking at the code which causes the
`noninteractive` case (without the above "failsafe") to dump
a stacktrace on stderr, to see if the two could be unified?
Stefan
- Re: Backtrace printing in batch mode ignores all customizations,
Stefan Monnier <=
- Re: Backtrace printing in batch mode ignores all customizations, Paul Pogonyshev, 2020/01/04
- Re: Backtrace printing in batch mode ignores all customizations, Stefan Monnier, 2020/01/04
- Re: Backtrace printing in batch mode ignores all customizations, Paul Pogonyshev, 2020/01/12
- Re: Backtrace printing in batch mode ignores all customizations, Stefan Monnier, 2020/01/13
- Re: Backtrace printing in batch mode ignores all customizations, Eli Zaretskii, 2020/01/14
- Re: Backtrace printing in batch mode ignores all customizations, Paul Pogonyshev, 2020/01/14
- Re: Backtrace printing in batch mode ignores all customizations, Eli Zaretskii, 2020/01/14
- Re: Backtrace printing in batch mode ignores all customizations, Stefan Monnier, 2020/01/14
- Re: Backtrace printing in batch mode ignores all customizations, Eli Zaretskii, 2020/01/15
- Re: Backtrace printing in batch mode ignores all customizations, Stefan Monnier, 2020/01/15