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 15:50:31 +0200 Message-ID: References: <87oc0a8afj.fsf@COLTRANE.i-did-not-set--mail-host-address--so-tickle-me> <87bow9jqc9.fsf@hi-media-techno.com> <87livdmiqz.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1312206656 25026 80.91.229.12 (1 Aug 2011 13:50:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 1 Aug 2011 13:50:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 01 15:50:52 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 1QnstO-0006zR-UY for ged-emacs-devel@m.gmane.org; Mon, 01 Aug 2011 15:50:51 +0200 Original-Received: from localhost ([::1]:52736 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QnstO-00017l-BF for ged-emacs-devel@m.gmane.org; Mon, 01 Aug 2011 09:50:50 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QnstJ-00017e-5V for emacs-devel@gnu.org; Mon, 01 Aug 2011 09:50:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QnstF-0005vR-7h for emacs-devel@gnu.org; Mon, 01 Aug 2011 09:50:45 -0400 Original-Received: from batman.blixtvik.net ([87.96.254.3]:36187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QnstE-0005vN-Ub for emacs-devel@gnu.org; Mon, 01 Aug 2011 09:50:41 -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 E4E8A7F9405; Mon, 1 Aug 2011 15:50:33 +0200 (CEST) In-Reply-To: <87livdmiqz.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 01 Aug 2011 14:14:12 +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:142630 Archived-At: Lars Ingebrigtsen writes: > Dimitri Fontaine writes: > >> The idea that grows in my head is to have all the emacs rendering done >> using webkit. > > I think a more fruitful path would be to make the Emacs rendering engine > stronger so that we could allow real wysiwyg editing as well as nice > HTML rendering. > > Of course, I'm not volunteering to rewrite the Emacs rendering engine. > :-) Well. The current display engine is not too bad at what it does. It caters to a lot of usecases. Extending it to allow embedding of more object types as is done in the Xwidget branch is IMHO a logical extension. Extending the Emacs display engine so it allows for all aspects of all webstandards is not reasonable. Improving it so that SHR for instance can do a better job is another matter and quite reasonable. Making a new port of Emacs to the HTML5 canvas might also be reasonable. OTOH the gains and ease of doing this should not be overstated. For instance, when I implemented the pretty basic Emacs paradigm of splitting Emacs windows in two for the webkit xwidget, I had to do a lot of GTK level hacking, rendering to offscreen bitmaps and copying to multiple on-screen destinations. I haven't seen any mainstream browser do this in fact. So, a html5 canvas is still just a canvas even if its new and shiny and doesn't automatically give us all the stuff we take for granted with Emacs. -- Joakim Verona