From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld Newsgroups: gmane.emacs.devel Subject: Re: eww and Javascript? Date: Wed, 15 Jan 2014 02:47:48 +0100 Message-ID: <2370633.BTWYtO0OQo@descartes> References: <87y52i2gb8.fsf@dhcp-193-97.nrt.redhat.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1389750490 2231 80.91.229.3 (15 Jan 2014 01:48:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Jan 2014 01:48:10 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , Kenjiro NAKAYAMA , Richard Stallman To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 15 02:48:16 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1W3Faa-00009F-20 for ged-emacs-devel@m.gmane.org; Wed, 15 Jan 2014 02:48:16 +0100 Original-Received: from localhost ([::1]:51554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3FaZ-0002I4-MK for ged-emacs-devel@m.gmane.org; Tue, 14 Jan 2014 20:48:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3FaQ-00028I-Sl for emacs-devel@gnu.org; Tue, 14 Jan 2014 20:48:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W3FaJ-0003XN-Ci for emacs-devel@gnu.org; Tue, 14 Jan 2014 20:48:06 -0500 Original-Received: from ptmx.org ([178.63.28.110]:51344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W3FaJ-0003XI-6T; Tue, 14 Jan 2014 20:47:59 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by ptmx.org (Postfix) with ESMTP id B57CC24E48; Wed, 15 Jan 2014 02:47:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at ptmx.org Original-Received: from ptmx.org ([127.0.0.1]) by localhost (ptmx.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x5aCBMs2CBlX; Wed, 15 Jan 2014 02:47:56 +0100 (CET) Original-Received: from descartes.localnet (chello080108246092.7.14.vie.surfer.at [80.108.246.92]) by ptmx.org (Postfix) with ESMTPSA id E943E228DF; Wed, 15 Jan 2014 02:47:54 +0100 (CET) User-Agent: KMail/4.11.3 (Linux/3.11.0-14-generic; KDE/4.11.3; x86_64; ; ) In-Reply-To: <87y52i2gb8.fsf@dhcp-193-97.nrt.redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 178.63.28.110 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:168413 Archived-At: On Wednesday 15 January 2014 10:18:35 Kenjiro NAKAYAMA wrote: > > > Does eww run Javascript code? > >=20 > > No. >=20 > This qustion will be asked many times in the future. So I want to be = more > clear. At this time, eww has no plan to add javascript engine? > I recognize eww is simple browser and it has no intention of adding r= ich > function. Well technically a limited support might be possible. Steve Yegge wrot= e a=20 JavaScript interpreter for elisp called Ejacs[1]. But providing proper= =20 JavaScript support would require implementing the DOM and then we would= still=20 be faced by the fact that Emacs display model is too limited for full H= TML and=20 CSS rendering (Although work on WYSIWYG functionality will certainly he= lp=20 improving what EWW/`shr.el' can render). So all in all it would requir= e a lot=20 of work and yield very little in practical terms. I think the main use case for EWW will be reading documentation written= in=20 HTML, bug trackers, and other simple websites. None of which should re= ally=20 require JavaScript or fancy CSS layouts. It should be noted that EWW d= oes=20 support some HTML5 features. At least without JavaScript we don't have= to=20 worry about all the security and privacy implications. If we want a "full browser experience" within GNU Emacs then the best b= et is=20 probably the xwidget branch and embedding an existing rendering engine.= [1] https://code.google.com/p/ejacs/wiki/README Regards, R=C3=BCdiger