all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Rüdiger Sonderfeld" <ruediger@c-plusplus.de>
To: emacs-devel@gnu.org
Cc: Lars Magne Ingebrigtsen <larsi@gnus.org>,
	Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>,
	Richard Stallman <rms@gnu.org>
Subject: Re: eww and Javascript?
Date: Wed, 15 Jan 2014 02:47:48 +0100	[thread overview]
Message-ID: <2370633.BTWYtO0OQo@descartes> (raw)
In-Reply-To: <87y52i2gb8.fsf@dhcp-193-97.nrt.redhat.com>

On Wednesday 15 January 2014 10:18:35 Kenjiro NAKAYAMA wrote:
> > > Does eww run Javascript code?
> > 
> > No.
> 
> 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 rich
> function.

Well technically a limited support might be possible.  Steve Yegge wrote a 
JavaScript interpreter for elisp called Ejacs[1].  But providing proper 
JavaScript support would require implementing the DOM and then we would still 
be faced by the fact that Emacs display model is too limited for full HTML and 
CSS rendering (Although work on WYSIWYG functionality will certainly help 
improving what EWW/`shr.el' can render).  So all in all it would require a lot 
of work and yield very little in practical terms.

I think the main use case for EWW will be reading documentation written in 
HTML, bug trackers, and other simple websites.  None of which should really 
require JavaScript or fancy CSS layouts.  It should be noted that EWW does 
support some HTML5 features.  At least without JavaScript we don't have to 
worry about all the security and privacy implications.

If we want a "full browser experience" within GNU Emacs then the best bet is 
probably the xwidget branch and embedding an existing rendering engine.

[1] https://code.google.com/p/ejacs/wiki/README

Regards,
Rüdiger




  reply	other threads:[~2014-01-15  1:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-14 17:09 eww and Javascript? Richard Stallman
2014-01-14 17:13 ` Lars Magne Ingebrigtsen
2014-01-15  1:18   ` Kenjiro NAKAYAMA
2014-01-15  1:47     ` Rüdiger Sonderfeld [this message]
2014-01-15  6:52     ` Lars Magne Ingebrigtsen
2014-01-15 12:30     ` Richard Stallman
2014-01-15  4:04   ` Richard Stallman
2014-01-15 12:01     ` Jordan Wilson
2014-01-16 17:53       ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2370633.BTWYtO0OQo@descartes \
    --to=ruediger@c-plusplus.de \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=nakayamakenjiro@gmail.com \
    --cc=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.