emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Handle sharing Cocoa xwidgets more gracefully


From: Po Lu
Subject: Re: [PATCH] Handle sharing Cocoa xwidgets more gracefully
Date: Tue, 04 Oct 2022 10:41:36 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux)

Sungbin Jo <goranmoomin@daum.net> writes:

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

Yes, the xwidget will be marked as "killed", and the xwidget views
created for killed xwidgets should be empty and not reference the native
widget.

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

That's a known limitation of the current xwidget code, which I intend to
resolve at some point.


reply via email to

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