From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Preloading xwidget.el on xwidget builds? Date: Thu, 16 Dec 2021 13:10:35 +0800 Message-ID: <87mtl1kud0.fsf@yahoo.com> References: <87v8zpml5d.fsf.ref@yahoo.com> <87v8zpml5d.fsf@yahoo.com> <87o85hma9k.fsf@yahoo.com> <87tuf9kv6g.fsf@yahoo.com> <87czlxjfyl.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6972"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Stefan Monnier , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 16 06:12:39 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 1mxj4I-0001ZH-Sn for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Dec 2021 06:12:38 +0100 Original-Received: from localhost ([::1]:47840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxj4G-00023t-Sw for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Dec 2021 00:12:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxj2Y-0001Dv-6U for emacs-devel@gnu.org; Thu, 16 Dec 2021 00:10:50 -0500 Original-Received: from sonic302-20.consmr.mail.ne1.yahoo.com ([66.163.186.146]:38048) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxj2V-0006Bz-VN for emacs-devel@gnu.org; Thu, 16 Dec 2021 00:10:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639631446; bh=20Eg9NNVHNAG/zBWyZWbz4XI/78QtUkFdce5A+keYT4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=XkTBbr8acY/IOb4PEEI5nxB+WS1N3mtfhkWBh8D0ud8vl4MC0Qdcwkkt9/ZZKXi0UE2oKxDaDsUndJItlT5cPp3/98Opqe2PZsYLFkUVSQ6uS6P2n3yousNuhgZMzxlbYe4ezS7Lhz8IykYUrs6eOQ8VfClQXoNlrQNCtoTxDh9eRBnYqGQOefGekwTMx5ZbfddR2rd3V4RpdlSokZSroxWyH/pu8hcAqZhLDhNQpSRP/8yQytV+/W/APsjIin8sNhNuOIRIPqdJX9a3WDo7q3GoWjFh09lbWYoxjQ0JpK3qzuLQjL81dkP6zSAy+a+PTO3j4gRyGyaHLU+mAE0Cgw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639631446; bh=Afki2kfOxPIYAROiYk3aGFTQ4lqbhbYdZFXqrnZks1m=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=UkcK99TFiUPevEtsYvdaQIKbv7UqF47H74hZrbcFFJKSIwm2ySYiGB1TiBLPx08b9OTvf5zEG3tzxnpJaPX7njPfHrKyMeihjIO6+0FT3eThDJGvrUMREKjR24Tw3oltSmhQUf3TJqOOxn32UYFshl9glhsUWSQ8pgNeBNKKbVH0j60PZc8x5GML3pI0OwoBy2scHgvLeGxfTxwhNfH4750SSIspdDtSOUM2ytmJzyBgF/jK0QI7oeExxnWupAdG37KVhGOQs5Rr8GgOCNKxXCirr0OYC0MSDrTdQM3E/b8k16lChNFvBCDQHTHW5xXAE1V/f8nRKLIi92cHQ2G9kQ== X-YMail-OSG: o79YuiEVM1n1I5ElQIBDttPcU2FgBrYFM7ztPh_B6o90PSn62FwBkdXCw1pjFDk DmOYMfZW.MLU20jKr0fogdyoPp2J3oD9DtSIU_n3nlHrQ30Qc5n1VpVamuPcABCH3MqKO.E55XGn .OJEAfA16c4VFrFyb9oah6sglBHY_faL2uwNf7xnqUhw3h4SepNX0k4o8QuYN7t7qsKFDMtTXKQn u6q7wKqYkiQTzOJC9PZMm2NYx.zn1JPbjPh0hKy55cOqchvKRxmfq_Ga5cgAIKxYZRbhUh8YwwNt BbMi4Dw2Z09viSQ4xBu5jXTHgf5NVM958.oubGWBGNYKqDSVT8s1nnWRWezeTPHWWQKz4hNq30uc OdyOffrkrAgj5CbOb1Wlc5KGi3CMPjT_BmPuhgertIkcYmrjYOvfCVS41CeJgQjCE_pbPjcmIj1d qBa1BUR.8nxaL0KPq4_cnO7tmFppKPLc47JQciVPNOf6Ao_mLsevrwjwq1hIj4_G7XcP_n0AG__V AdcDHrfw7V4DaKb1P1zOJpIFgLHhCnBFD3pOqEcXzpZRZB3OreoOtUKe4dsBiZTneRrHVCsEkvY1 CdMJU6yhGi.EhkgGccFM8pzbX7fJUrac4FxwD7qGq7W6m1PPooinvmHI8aCXbOSGy9FHuT1wP.iT j_UcNp8hAWVjo_JfpVjiISjB6rF74SaSX5tr9zCh2al_lseuy1y9q4_qkMRpQUH61XDFFVAQFi_z qqRxomTQ4bltDa1CGmMqR.vFSafBFgYPuXP3auLl2KTMyksx7OChax3PIWy.DuXrCThTdd5oxddt oej8cFeuHcV0U1IwmlT1W5qV42B46mrIby9dKV3fk. X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ne1.yahoo.com with HTTP; Thu, 16 Dec 2021 05:10:46 +0000 Original-Received: by kubenode511.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 9764ef11e4bd9fc5b015a92e7206fd2c; Thu, 16 Dec 2021 05:10:40 +0000 (UTC) In-Reply-To: <87czlxjfyl.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 16 Dec 2021 06:06:58 +0100") X-Mailer: WebService/1.1.19415 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.186.146; envelope-from=luangruo@yahoo.com; helo=sonic302-20.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:282110 Archived-At: Lars Ingebrigtsen writes: > We've been trying to move to a different architecture for detecting > whether Emacs has been built with, and currently has access to, external > libraries -- `*-available-p'. It'd be nice if xwidget had that > function, too. The problem is `xwidget' isn't really a library, it's a feature that makes use of many different external libraries. Ideally, people would test for the named feature `xwidget-internal', but the amount of people who refrained from reading the first paragraph of the xwidget node in the Lisp reference manual is astonishing. > suggestion -- make `make-xwidget' require widget.el -- is the way to go. Is calling require okay from C code? If so, that's what I'll do. Thanks.