From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T. V. Raman" Newsgroups: gmane.emacs.devel Subject: Re: An Emacs plug-in for a browser (Firefox?) Date: Fri, 5 Sep 2008 06:33:46 -0700 Message-ID: <18625.13626.381193.182274@gargle.gargle.HOWL> References: <18624.40059.414121.633475@gargle.gargle.HOWL> <48C0BB3A.4080201@pajato.com> <87zlmnezy9.fsf@shellarchive.co.uk> Reply-To: raman@users.sf.net NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220621665 10078 80.91.229.12 (5 Sep 2008 13:34:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Sep 2008 13:34:25 +0000 (UTC) Cc: pmr@pajato.com, raman@users.sourceforge.net, joakim@verona.se, emacs-devel@gnu.org To: phil@shellarchive.co.uk Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 05 15:35:09 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 1KbbSk-0000wY-1O for ged-emacs-devel@m.gmane.org; Fri, 05 Sep 2008 15:34:58 +0200 Original-Received: from localhost ([127.0.0.1]:46582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbbRk-00054y-BG for ged-emacs-devel@m.gmane.org; Fri, 05 Sep 2008 09:33:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbbRf-00054k-TR for emacs-devel@gnu.org; Fri, 05 Sep 2008 09:33:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbbRe-00054O-SW for emacs-devel@gnu.org; Fri, 05 Sep 2008 09:33:51 -0400 Original-Received: from [199.232.76.173] (port=33693 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbbRe-00054J-KV for emacs-devel@gnu.org; Fri, 05 Sep 2008 09:33:50 -0400 Original-Received: from qmta06.westchester.pa.mail.comcast.net ([76.96.62.56]:35897) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KbbRf-000732-3x for emacs-devel@gnu.org; Fri, 05 Sep 2008 09:33:51 -0400 Original-Received: from OMTA09.westchester.pa.mail.comcast.net ([76.96.62.20]) by QMTA06.westchester.pa.mail.comcast.net with comcast id B0PG1a00e0SCNGk561ZpZo; Fri, 05 Sep 2008 13:33:49 +0000 Original-Received: from localhost ([71.202.191.236]) by OMTA09.westchester.pa.mail.comcast.net with comcast id B1Zm1a01456Ur8v3V1Zmvx; Fri, 05 Sep 2008 13:33:47 +0000 X-Authority-Analysis: v=1.0 c=1 a=1H8N5B8Kro0A:10 a=kXMvQgnwVQMA:10 a=g9Il1cLuAAAA:8 a=2z1OXlWFAAAA:8 a=QcG06-LWzy2Db4mYHuUA:9 a=CL4OQI3rK_yNpGmvmCcA:7 a=e-bRfp6tB436LW0ykRFt6Rxs2NUA:4 a=vc6dAzQBySEA:10 a=MSl-tDqOz04A:10 a=I2EqgwFF2xUA:10 Original-Received: by localhost (Postfix, from userid 1000) id 6AD2212A4101; Fri, 5 Sep 2008 06:33:46 -0700 (PDT) In-Reply-To: <87zlmnezy9.fsf@shellarchive.co.uk> X-Mailer: VM alpha-479 under Emacs 23.0.60.1 (i686-pc-linux-gnu) x-attribution: tvr X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:103560 Archived-At: I'd leave the JavaScript engine completely on the Web browser side, wouldn't let it perform *any* operations to Emacs (reason: security). I'd enable Emacs Lisp access to JavaScript, perhaps via a socket, and allow lisp programs to generate and send javascript down that socket. Incidentally I already do the latter with Firefox and an extension called mozrepl. >>>>> "Phil" == Phil Jackson writes: Phil> joakim@verona.se writes: >>> And this approach would appear to have a platform >>> independent nature, highly appealing. I don't know >>> anything about Webkit. Are you talking about adding >>> Webkit to the C level of Emacs, doing an Emacs Lisp >>> binding to Webkit (probably running in a separate process >>> or mulitple processes ala Chrome) or something else? >> >> It's somewhat possible to do this already. I mailed a >> patch to emacs-devel some time ago that lets Emacs embed >> gtk widgets in a buffer, like images. (Its very alpha but >> shows that its possible, at least) Phil> Phil> So, out of interest, how would a Javascript engine (if Phil> any) and elisp co-exist in any sort of harmony? Phil> Phil> Cheers, Phil -- Philip Jackson Phil> http://www.shellarchive.co.uk -- Best Regards, --raman Email: raman@users.sf.net WWW: http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk: tv.raman.tv@gmail.com PGP: http://emacspeak.sf.net/raman/raman-almaden.asc Google: tv+raman IRC: irc://irc.freenode.net/#emacs