all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* About implementing libre.js/el in Emacs
@ 2020-08-29 19:14 Qiantan Hong
  2020-08-29 21:10 ` Paul Eggert
  2020-08-31  3:57 ` Richard Stallman
  0 siblings, 2 replies; 17+ messages in thread
From: Qiantan Hong @ 2020-08-29 19:14 UTC (permalink / raw)
  To: emacs-devel@gnu.org


[-- Attachment #1.1: Type: text/plain, Size: 1104 bytes --]

Hi,

As RMS recently pointed out, we should have something like Libre.js
for our JavaScript Webkit Xwidgets in emacs.
I plan to implement that idea, but I have some design choices and
would like to hear inputs from you guys.

There are two obvious options to achieve this:
1) Implement (part of) the Web Extension API
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API <https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API>
and let libre.js runs as-is in Emacs.
2) reimplement libre.js as libre.el

Both will require adding primitives to Emacs C source to expose
urlRequest events, etc.

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.

Option 2 might require as much work as option 1, but without the additional
benefit (or drawback?) of bringing other JS extensions.

What do you think?

Best,
Qiantan

qhong@mit.edu




[-- Attachment #1.2: Type: text/html, Size: 4060 bytes --]

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 1858 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-09-01  3:24 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-29 19:14 About implementing libre.js/el in Emacs Qiantan Hong
2020-08-29 21:10 ` Paul Eggert
2020-08-30  2:26   ` Tim Cross
2020-08-30  2:45     ` Qiantan Hong
2020-08-30  7:44       ` Tim Cross
2020-08-30 14:13       ` T.V Raman
2020-08-31  3:53         ` Richard Stallman
2020-08-31  4:11           ` Qiantan Hong
2020-08-31  4:15             ` Stefan Monnier
2020-08-31  4:17               ` Qiantan Hong
2020-08-31 13:48           ` T.V Raman
2020-09-01  3:22             ` Richard Stallman
2020-08-31  3:57     ` Richard Stallman
2020-08-31  3:57 ` Richard Stallman
2020-08-31  4:13   ` Qiantan Hong
2020-09-01  3:24     ` Richard Stallman
2020-08-31  4:24   ` Qiantan Hong

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.