[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Handle sharing Cocoa xwidgets more gracefully

From: Sungbin Jo
Subject: Re: [PATCH] Handle sharing Cocoa xwidgets more gracefully
Date: Tue, 4 Oct 2022 11:03:12 +0900

> 2022. 10. 4. 오전 9:26, Po Lu <luangruo@yahoo.com> 작성:
> Some minor formatting comments on the patch below:

Thanks; continuing on the patch itself as bug#58271.

> 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?

Are you mentioning the case when the xwidget view is deleted via
‘delete-xwidget-view’? If that’s the case, the patch on bug#58271 will
automatically recreate the xwidget view. Can the xwidget itself get
deleted when a referencing xwidget view still exists in a buffer?

I’m unfortunately not *that* knowledgable on xwidget internals; the very
first original patch was written by Jaesup Kwak, I’ve been slowly
expanding my understandings.

I found that documentation on various parts of xwidgets were very light;
while the functions related to xwidget views are exposed in elisp, seems
like documentation on them were non-existent. I’m still having a hard
time understanding on how the xwidget system is designed to interact
(e.g. it seems from the code that one window cannot contain two xwidget
views pointing the same xwidget – is this a bug or is it working as
designed?); do you have any pointers on this?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]