GNU bug report logs -
#30529
26.0.91; minibuffer errors change standard-output
Previous Next
Reported by: f.j.wright <at> live.co.uk
Date: Mon, 19 Feb 2018 16:05:01 UTC
Severity: normal
Found in version 26.0.91
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 30529 <at> debbugs.gnu.org (full text, mbox):
On Aug 12 2021, Lars Ingebrigtsen wrote:
> "Basil L. Contovounesios" <contovob <at> tcd.ie> writes:
>
>>> This problem is still present in Emacs 28. I tried following the code
>>> logic for a couple of minutes to see just what it is that's (re)setting
>>> `standard-output' here, but was unable to locate the location.
>>>
>>> Anybody know?
>>
>> Just from a quick grep, could it be recursive_edit_1?
>
> Found the culprit! cmd_error sets standard_output to t!
>
> The following patch fixes the reported issue (and doesn't lead to any
> regressions in the test suite), but this code has been like this
> forever, so I'm a bit leery about applying it.
>
> And perhaps the
>
> old_level = Vprint_level;
> old_length = Vprint_length;
>
> stuff should also be changed to specbinding? Or do we want to avoid
> specbind here totally for some reason? The commit for those lines just
> says:
>
> (cmd_error): Bind Vprint_level and Vprint_length.
>
> I mean, we had specbind before 1995, I think?
>
> So... any comments/insights here?
I think the intention is to get out of any situation that may result in
repeated errors.
Andreas.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
This bug report was last modified 3 years and 344 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.