From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58271: 29.0.50; [PATCH] Handle sharing Cocoa xwidgets more gracefully Date: Fri, 25 Nov 2022 10:55:00 +0800 Message-ID: <875yf3zqt7.fsf@yahoo.com> References: <3B2D7E85-0137-4460-B182-F7F5F39A192E@daum.net> <87czb86b4g.fsf@gnus.org> <87r0zo1l5e.fsf@yahoo.com> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16233"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Sungbin Jo , 58271@debbugs.gnu.org, Lars Ingebrigtsen To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 25 03:56:24 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oyOt5-00043Z-Lc for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Nov 2022 03:56:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyOsq-0003aW-O4; Thu, 24 Nov 2022 21:56:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyOsl-0003aB-RZ for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2022 21:56:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oyOsl-0002hO-FS for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2022 21:56:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oyOsk-0005Ht-BI for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2022 21:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Nov 2022 02:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58271 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58271-submit@debbugs.gnu.org id=B58271.166934492320278 (code B ref 58271); Fri, 25 Nov 2022 02:56:02 +0000 Original-Received: (at 58271) by debbugs.gnu.org; 25 Nov 2022 02:55:23 +0000 Original-Received: from localhost ([127.0.0.1]:32818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyOs6-0005Gz-RH for submit@debbugs.gnu.org; Thu, 24 Nov 2022 21:55:23 -0500 Original-Received: from sonic302-20.consmr.mail.ne1.yahoo.com ([66.163.186.146]:42134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyOs4-0005Gi-4u for 58271@debbugs.gnu.org; Thu, 24 Nov 2022 21:55:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1669344911; bh=IIOpq0bPC6gOV/WworQz0TDo1EHqCA3FCA6o3xKZkw8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=IBdAH5pZKxgnmqh1Jc+XR9mvznI2fGgDyHtBETnRJydmEgi/vtH05VWp4A1nLcCfuNzjI+o7sMROWE7kp3AUlWC1XFdAZ7j79TUES7YY7sQWcaMUnvdkLqn3xY+HY6GUuXL3LWiXSZj1QTJNmkeDqPThzQpz9UKEwPXWqu65CmgJO7qQOka2yu5Wg45Swz2UCEOXAl+RAp7tNv0Wdzna6AjLTREOc0j7ZTfQmnHTgZUJxiZOHUg4YBhN7CwDCyVLNtK6KpdqRzV0fD6I/geIraQ0P9AsajvjST43S7kpYRxerxLi/RASKuexzcdYZXjuYM+31nLHLJcf9PeBsL/n6A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1669344911; bh=Nl6cb8On6KEFInuC338ZuGn9i97FMp/tPcg/62De7mo=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=CERu5ZFp974InROpWe6qI5NJSurqf//zuyOxvItqp11A1O9tmuZwnf4k3k6cXa5eBOfX4w30h7CThCF1rx6e56xQ7WixOnv0zkK+ldbx1Yi0vdhH2XA3AA2J0xYnx7CV6PSaD848sI262tZjlIFz3htI+soBNb1QsWYDTIGfYQ+CGUOrR2ecaco2c8Z34q32+zvJ6hJiG4VKNIdLXt+8vdjgvSJpl+RKxk3QStS5ym/VwfNVhUDOO6rJq4/XAm88BaVgRXxmGyeMu7C/2dkhYYr+QRTADBVbKlt9UaSFkUKy70a9sq5XkxdxHn4iXrV8/QRncZ/SGNxah4Nszywdww== X-YMail-OSG: .hjlHtsVM1ntfVSQli9qDDx8_qE2Xj3_BGdOr5l4Xi0RpdcF5t9aRF9YwjRFftE fdSV34qV4_ic6Me0a7gQ9VkgNaYHVN6IT6cXlfb194pqG2e_VWKLt.G1viOlrQeD4dcuv3GEGwzt 8p4nos9X2qDpg2vAlqoHKxzdsba2PwDCJdP8STkLMzU30eSCbZXLEc3VGcQD4ZpvNJevsR.SWesA zPDUqxhDe2BjH.dN7SCQbDRHMft8uHOMaLMYU_9.Rjwk1vdq50BwfK3DKRKStuQ_3FFK8TL5i1YJ 2HCOBTpXKRVZRvI688LnkczlzFasFs8_ypjGnrG.sZS3B9WQKmmPrqvII8pPpxNMCA45A5asvOWQ 1M0rook.4o2sAWN_r5E9TyLf7OAgTimezpWnY3H..gRYmpFCqfR8ywAPMFX9BZHCGPsRuHLwGhjn E7.S95U0Z6urOGQqGKZonXFgRNhTB49U7PZIvOLd.J7zoj0o0c3o.VeFT2.0f6ZXTCitHfWcDycB X_IPyLtfYrsiJ1wt3_V915Hlvg1brZj1yavH8ySb5EbHXl4PCbX3FccCsQm426T0wVvFkvsf7Jur fvLrY8BjdhM8ua.R0qEqOmB8YCmVRBnFAXGqV10nzYqAnkTkWUf3.Vm53M6FL.GmfWSN4vooDa2I tkvPRz25YnTgfM32l.q50.bKGiF10RQhZhDQPCQMIR.1bAzRx.xEhRSviXLMRQ5xHNBZLAOASndE ZJsQMyL.H57t2CX7ZnkFpqOpyUBOBmIuzh2OenFLcj.ojq9eRpR2oY.3OhTBUi2OLOxg8FZOQnXI tSkj2IHRHLctQbrOlSCGkL3dXaP5FGJKTLGmEeBnHX X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ne1.yahoo.com with HTTP; Fri, 25 Nov 2022 02:55:11 +0000 Original-Received: by hermes--production-sg3-6c8895b545-nh2c9 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 52bc9ff322146ab3de811000ba2d7a58; Fri, 25 Nov 2022 02:55:06 +0000 (UTC) In-Reply-To: (Stefan Kangas's message of "Thu, 24 Nov 2022 17:26:20 -0800") X-Mailer: WebService/1.1.20863 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:248953 Archived-At: Stefan Kangas writes: > Sungbin Jo writes: > >> 2022. 10. 4. =EC=98=A4=EC=A0=84 9:34, Po Lu =EC=9E= =91=EC=84=B1: >> >>> Thanks; since you seem to be the original author of the xwidget code on >>> Mac OS, could you please fix the crash there when an xwidget is deleted >>> but remains on-screen? >> >> I=E2=80=99ve continued on this (with some questions) on emacs-devel. >> >>> Some minor formatting comments on the patch below: >> >> Updated patch attached. > > Po Lu, is this patch good to go? It seems like your comments were all > addressed? Thanks in advance. IIRC we agreed that it is rather pointless to install this change when there are still easily encountered fatal crashes in the NS xwidget code, and that Sunbin Jo was working on fixing those crashes.