From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: HTML5 the new lisp ? Date: Mon, 01 Aug 2011 00:26:46 +0200 Message-ID: References: <87oc0a8afj.fsf@COLTRANE.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1312151226 23600 80.91.229.12 (31 Jul 2011 22:27:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 31 Jul 2011 22:27:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Sander Boer" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 01 00:27:02 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QneTO-0006Qs-9W for ged-emacs-devel@m.gmane.org; Mon, 01 Aug 2011 00:27:02 +0200 Original-Received: from localhost ([::1]:35149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QneTN-0004ay-P8 for ged-emacs-devel@m.gmane.org; Sun, 31 Jul 2011 18:27:01 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QneTK-0004ag-Kf for emacs-devel@gnu.org; Sun, 31 Jul 2011 18:26:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QneTJ-0003fv-MH for emacs-devel@gnu.org; Sun, 31 Jul 2011 18:26:58 -0400 Original-Received: from batman.blixtvik.net ([87.96.254.3]:57851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QneTJ-0003fZ-8Z for emacs-devel@gnu.org; Sun, 31 Jul 2011 18:26:57 -0400 Original-Received: from localhost.localdomain (139-210-96-87.cust.blixtvik.se [87.96.210.139]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by batman.blixtvik.net (Postfix) with ESMTP id 953A67F919E; Mon, 1 Aug 2011 00:26:47 +0200 (CEST) In-Reply-To: <87oc0a8afj.fsf@COLTRANE.i-did-not-set--mail-host-address--so-tickle-me> (Sander Boer's message of "Sun, 31 Jul 2011 22:25:20 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 87.96.254.3 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:142610 Archived-At: "Sander Boer" writes: > Hi, > > I know it makes no sense to compare a markup language to a functional > language, but think of it, HTML5 is the first point of contact of most > people when it comes to computing, much like the early days of computing > when lisp was the first language people came into contact with. > > More to the point, the reason I bring this up in this group is the fact that I find myself > wondering what emacs would *mean* when it would embrace HTML5 as a > fundamental integrated platform. > > HTML5 is being heralded as the app platform of the coming years, with > mobile computing taking the lead as the main Internet connecting device. > > But personally, I would like to see a good rendering engine, imagine > what gnus would look like. Come to think of it, imagine how ubiquitous > HTML5 emails would be in the (near) future - sure, it will also come > with its own unique set of security concerns, but I seriously wonder if > text-only email will cut it. ah, hold on with ye flames, after a brief > stint with HTML signatures, I find myself gravitating towards > text-only. But that is mainly because HTML in its present incarnation in > emails is too volatile, but one must admit that volatility is hardly a > reason that it will *never* work. > > Also, auctex, man what would that look like ? > Or what about HTML5 games ? Gnus vs. Penguins , Angry Emus ? > > I noticed Joakim Verona implemented a webkit widget and I was wondering > how this is received in the land of Fangorn ? > I propose a step deeper, a C-level implementation. > > It is an absurd idea, but is it not through initial absurdity that > unimaginable possibilities become unlocked ? > Are we not Man, is absurdity not our privilege ? I'm not really sure what you are talking about but if you want to play with Emacs and HTML5 it is possible in a primitive way with the xwidget branch. You can create a webkit area in an Emacs buffer and manipulate it by injecting javascript fragments in it. I would like to achieve a better elisp/DOM bridge for my purposes but I'm procrastinating it because it's not obvious how to do it in an interesting way. (Either by machine generating DOM bindings with Cedet/SRecode, or by making some form of adapter compatible with xml-parse-region) Anyway, if some of this HTML5 enthusiasm could be directed into the furtherance of the xwidget branch, that would be splendiferous :) -- Joakim Verona