emacs-devel
[Top][All Lists]
Advanced

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

Re: Preloading xwidget.el on xwidget builds?


From: Po Lu
Subject: Re: Preloading xwidget.el on xwidget builds?
Date: Thu, 16 Dec 2021 12:41:43 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> xwidget.el defines various parts of the internal xwidget machinery, such
>> as the `xwidget-event' handler, and pieces of Lisp code that keep
>> xwidget display working correctly.
>>
>> Using xwidget-related C functions without xwidget.el loaded can lead to
>> crashes and display problems, so I propose to preload that file on
>> xwidget builds.
>
> IME files that are preloaded in some config and not on others are
> a source of trouble.  I'd rather we fix this some other way, e.g. by
> autoloading those function.

How would autoloading solve that problem though: `make-xwidget' and such
are defined in C code, but their display depends on xwidget.el to work
correctly.

Thanks.


reply via email to

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