emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add user content APIs for WebKit Xwidgets


From: Po Lu
Subject: Re: [PATCH] Add user content APIs for WebKit Xwidgets
Date: Mon, 24 Oct 2022 15:20:49 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Qiantan Hong <qthong@stanford.edu> writes:

> Sure. In that case, would it be appropriate for the script_message_cb
> to call the handler directly?

No, it is not safe to call Lisp there.

> Or should it emit an event and let xwidget-webkit-callback call it on
> Lisp side?

Yes.

> I'm not sure how well does the former approach (which is more direct)
> interact with error handling/Lisp debugger.

Badly, unless you use safe_call, but that's not the place for safe_call.


reply via email to

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