From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: About implementing libre.js/el in Emacs Date: Sun, 30 Aug 2020 23:57:18 -0400 Message-ID: References: <791FBE67-B71F-4F80-810D-BE29B55FD10C@mit.edu> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37499"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Qiantan Hong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 31 05:57:54 2020 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 1kCax7-0009eR-Sr for ged-emacs-devel@m.gmane-mx.org; Mon, 31 Aug 2020 05:57:53 +0200 Original-Received: from localhost ([::1]:36944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kCax6-0002vt-Vf for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Aug 2020 23:57:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kCawa-00029Y-Lm for emacs-devel@gnu.org; Sun, 30 Aug 2020 23:57:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49665) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kCawZ-00007r-Un; Sun, 30 Aug 2020 23:57:19 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kCawY-0005VV-Oy; Sun, 30 Aug 2020 23:57:18 -0400 In-Reply-To: <791FBE67-B71F-4F80-810D-BE29B55FD10C@mit.edu> (message from Qiantan Hong on Sat, 29 Aug 2020 19:14:25 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:254426 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > Both will require adding primitives to Emacs C source to expose > urlRequest events, etc. Can someone explain how those events work? What do theese events do? What code generates them? Why does it function that way, rather than by calling Lisp directly? > Option 1, besides enabling libre.js, can also bring numerous existing > cross-browser extensions to Emacs, if we finally support a large enough > portion of the Web Extension API. However those extensions are > all written in JS and JS is worse than Elisp. This is a bad idea, at the deepest level, because it means supporting Emacs extensibility in two separate ways, with separate implementations. That would make Emacs far more complex. We should not support Emacs extensibility in Javascript. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)