From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: An Emacs plug-in for a browser (Firefox?) Date: Sun, 07 Sep 2008 19:36:18 -0400 Message-ID: References: <18624.40059.414121.633475@gargle.gargle.HOWL> <48C0BB3A.4080201@pajato.com> <87zlmnezy9.fsf@shellarchive.co.uk> <48C0FC53.4020806@gmail.com> <6fa54e4e0809050420i5132ace5red5a011b69ecd1ed@mail.gmail.com> <6fa54e4e0809060348l2ca36872u2445d0824960021b@mail.gmail.com> <87zlml7y8v.fsf@localhorst.mine.nu> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1220830698 18942 80.91.229.12 (7 Sep 2008 23:38:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Sep 2008 23:38:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Hansen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 08 01:39:13 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KcTqa-0007rB-JW for ged-emacs-devel@m.gmane.org; Mon, 08 Sep 2008 01:39:12 +0200 Original-Received: from localhost ([127.0.0.1]:58293 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcTpa-0000Jj-Qf for ged-emacs-devel@m.gmane.org; Sun, 07 Sep 2008 19:38:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcTpV-0000IU-Cm for emacs-devel@gnu.org; Sun, 07 Sep 2008 19:38:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcTpT-0000II-U9 for emacs-devel@gnu.org; Sun, 07 Sep 2008 19:38:04 -0400 Original-Received: from [199.232.76.173] (port=44516 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcTpT-0000IF-OV for emacs-devel@gnu.org; Sun, 07 Sep 2008 19:38:03 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:53799) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KcTpT-0005TI-NS for emacs-devel@gnu.org; Sun, 07 Sep 2008 19:38:03 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1KcTnm-0006Uw-R3; Sun, 07 Sep 2008 19:36:18 -0400 In-reply-to: <87zlml7y8v.fsf@localhorst.mine.nu> (message from David Hansen on Sat, 06 Sep 2008 23:36:32 +0200) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:103658 Archived-At: 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.