From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Preloading xwidget.el on xwidget builds? Date: Thu, 16 Dec 2021 09:46:21 +0200 Message-ID: <835yrphu0i.fsf@gnu.org> References: <87v8zpml5d.fsf.ref@yahoo.com> <87v8zpml5d.fsf@yahoo.com> <87o85hma9k.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7186"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 16 08:47:41 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mxlUL-0001dz-5e for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Dec 2021 08:47:41 +0100 Original-Received: from localhost ([::1]:45404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxlUJ-0005jS-PT for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Dec 2021 02:47:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxlTM-00052r-Dk for emacs-devel@gnu.org; Thu, 16 Dec 2021 02:46:40 -0500 Original-Received: from [2001:470:142:3::e] (port=52972 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxlTL-0005Ej-Qy; Thu, 16 Dec 2021 02:46:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=kCZVWdjSPF32jeRN0ZkH7But4mJj5B6tXkYCp3uv8l0=; b=UvdZ2Ez0PwLW JdKHp6DZ4Hfjx+ZixEMYXmwl3raM1exlMKJCSE0S5cvQ9GKMWhWVh127921zMv54yDCAXxWbcQ0ba aXCF+RBPGQMY7+Qn7zbZHLcZoIsl8yXykVuuy64JoEVMHHlLM1mmF30LW9wlnIX2/sksSiQ3TNVWp JCmkNabFVIxDrFbpBQynlhmzWwRjxonqq+ryedBLnqG1UboitOgMylpTZeXeKfUL5dLMaL8CqHCyS gBxKYghSRrzNPdVYPKBnoW5MGzAP0qpYppodV9qHyRA5nesDVNnk0+ecccvKi1iWGE2VCCJs4zxA0 XG4SWyCFNDzlQaR+yh5DBQ==; Original-Received: from [87.69.77.57] (port=1894 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxlTL-0000Yo-Ey; Thu, 16 Dec 2021 02:46:39 -0500 In-Reply-To: <87o85hma9k.fsf@yahoo.com> (message from Po Lu on Thu, 16 Dec 2021 12:41:43 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:282124 Archived-At: > From: Po Lu > Cc: emacs-devel@gnu.org > Date: Thu, 16 Dec 2021 12:41:43 +0800 > > > 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. Which code could call make-xwidget when xwidget.el is not loaded?