From: "Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Yuan Fu <casouri@gmail.com>
Cc: 63107@debbugs.gnu.org, alan@idiocy.org
Subject: bug#63107: 30.0.50; display-buffer-in-childframe sometimes crashes Emacs on Mac
Date: Thu, 27 Apr 2023 18:58:40 +0200 [thread overview]
Message-ID: <m1ttx1jm7z.fsf@yahoo.es> (raw)
In-Reply-To: <C435D226-350F-421C-80D0-2E40005D4A9F@gmail.com> (Yuan Fu's message of "Thu, 27 Apr 2023 00:38:33 -0700")
Yuan Fu <casouri@gmail.com> writes:
> X-Debbugs-CC: alan@idiocy.org
>
> Reproduction is pretty easy, just evaluate
>
> (display-buffer-in-child-frame (get-buffer-create "*test*") nil)
>
> Perhaps I'm missing something? Because packages that uses childframe
> like eldoc-box are working fine. I tried using the same ALIST as
> eldoc-box, and various buffers like newly created buffer and current
> buffer, but it always crashes
>
This seems to be a regression since Emacs 28.2. I've bisected and the
first bad commit seems to be
commit 9d20b47ad34ff8b409e83198406883f70782c295
Author: Alan Third <alan@idiocy.org>
Date: Wed Mar 30 22:40:03 2022 +0100
Fix scrollbars on macOS 10.13 and below (bug#54623)
Make any build on macOS 10.13 and below follow the same drawing path
as the GNUstep port. macOS 10.14 and above will use EmacsLayer.
* src/nsterm.h (EmacsLayer):
* src/nsterm.m ([EmacsView makeBackingLayer]):
([EmacsView unlockFocus]):
([EmacsView windowDidChangeBackingProperties:]):
([EmacsView copyRect:to:]): Remove any code required for macOS 10.13
and below, and fix the #if's to enforce strict separation of the
drawing paths.
(ns_update_end):
(ns_unfocus): Fix #ifs so that flushWindow is called on old macOS
versions as well as GNUstep.
src/nsterm.h | 4 +-
src/nsterm.m | 128 ++++++++++++++++++++++-------------------------------------
2 files changed, 50 insertions(+), 82 deletions(-)
next prev parent reply other threads:[~2023-04-27 16:58 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-27 7:38 bug#63107: 30.0.50; display-buffer-in-childframe sometimes crashes Emacs on Mac Yuan Fu
2023-04-27 16:58 ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-04-27 18:39 ` Alan Third
2023-04-27 18:43 ` Alan Third
2023-04-27 19:13 ` Alan Third
2023-04-27 20:36 ` Yuan Fu
2023-04-28 19:35 ` Alan Third
2023-04-28 20:00 ` Yuan Fu
2023-04-28 20:03 ` Alan Third
2023-04-27 18:44 ` Eli Zaretskii
2023-05-06 23:01 ` Yuan Fu
2023-05-07 22:56 ` Alan Third
2023-05-08 2:27 ` Eli Zaretskii
2023-05-08 8:52 ` Alan Third
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=m1ttx1jm7z.fsf@yahoo.es \
--to=bug-gnu-emacs@gnu.org \
--cc=63107@debbugs.gnu.org \
--cc=alan@idiocy.org \
--cc=casouri@gmail.com \
--cc=mardani29@yahoo.es \
/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.