From: Eli Zaretskii <eliz@gnu.org>
To: Juri Linkov <juri@linkov.net>
Cc: 60096@debbugs.gnu.org, rudalics@gmx.at
Subject: bug#60096: 29.0.60; Crash in format_mode_line_unwind_data
Date: Sat, 17 Dec 2022 19:59:31 +0200 [thread overview]
Message-ID: <83a63lhpx8.fsf@gnu.org> (raw)
In-Reply-To: <86fsdeymeo.fsf@mail.linkov.net> (message from Juri Linkov on Sat, 17 Dec 2022 19:23:27 +0200)
> From: Juri Linkov <juri@linkov.net>
> Cc: martin rudalics <rudalics@gmx.at>, 60096@debbugs.gnu.org
> Date: Sat, 17 Dec 2022 19:23:27 +0200
>
> >> Note that the *scratch* buffer is re-created in this scenario without
> >> the blurb we put into it, and in Fundamental mode.
> >
> > I've fixed at least the last part, so the major mode of the re-created
> > *scratch* is now as expected.
>
> Now it doesn't crash, but outputs an error in the *Messages* buffer:
>
> Error during redisplay: (get-scratch-buffer-create)
> signaled (wrong-type-argument window-live-p #<window 7>)
Only once, right?
This is the error which (indirectly) caused the crash you reported
originally. The fix just falls back on a safer method of re-creating
*scratch* when this error happens.
It is a very unusual situation that *scratch* needs to be re-created
when we call set-window-configuration; it is caused by the fact that
your recipe kills one of the two only buffers Emacs has to play
around (the other one being *Messages*).
prev parent reply other threads:[~2022-12-17 17:59 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-15 17:04 bug#60096: 29.0.60; Crash in format_mode_line_unwind_data Juri Linkov
2022-12-15 21:42 ` Eli Zaretskii
2022-12-16 7:31 ` Juri Linkov
2022-12-16 11:46 ` Eli Zaretskii
2022-12-16 14:39 ` Eli Zaretskii
2022-12-16 15:03 ` Eli Zaretskii
2022-12-17 9:17 ` martin rudalics
2022-12-17 10:00 ` Eli Zaretskii
2022-12-17 10:53 ` Eli Zaretskii
2022-12-17 15:26 ` martin rudalics
2022-12-17 15:59 ` Eli Zaretskii
2022-12-17 17:05 ` martin rudalics
2022-12-17 17:52 ` Eli Zaretskii
2022-12-18 9:18 ` martin rudalics
2022-12-18 11:40 ` Eli Zaretskii
2022-12-17 17:23 ` Juri Linkov
2022-12-17 17:59 ` Eli Zaretskii [this message]
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=83a63lhpx8.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=60096@debbugs.gnu.org \
--cc=juri@linkov.net \
--cc=rudalics@gmx.at \
/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.