emacs-devel
[Top][All Lists]
Advanced

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

Re: An Emacs plug-in for a browser (Firefox?)


From: Richard M. Stallman
Subject: Re: An Emacs plug-in for a browser (Firefox?)
Date: Sun, 07 Sep 2008 19:36:18 -0400

    Joakim wrote a patch that allows him to display arbitrary GTK Widgets in
    a buffer.

That is a useful feature because it could be used to implement various
GTK-style interfaces for Emacs package.

               This could either be used to directly link Emacs against the
    Gecko or WebKit GTK Widget, or to use the special GTK widget "GtkPlug"
    which embeds an application capable of the XEmbed protocol.

For modularity's sake, it is much cleaner to run the browser in a
separate process and have it display thru GtkPlug.  To link Emacs with
Gecko or Webkit would be a lot of extra trouble, and the trouble would
go on and on.

    Someone mentioned that it would be really cool to access all the DOM
    stuff from Emacs Lisp.

What uses would this be good for, if it existed?

    You could write nice filter for the web, e.g. remove ads, filter cookies
    or change images of your president to "hello.jpg".

If what you want is extensibility in Lisp for your web browser, I
think it is better to interface Guile (rather than Emacs) to the
browser.  Emacs is not just Lisp, it is certain model of textual data.
Web browsers have a different model of textual data, and trying to
glue them together would produce a gross kludge.




reply via email to

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