From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: clutter integration in the xwidget branch Date: Wed, 29 Jun 2011 00:52:25 +0900 Message-ID: <87liwm6jie.fsf@catnip.gol.com> References: <87ei2ez6fd.fsf@keller.adm.naquadah.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309276535 25662 80.91.229.12 (28 Jun 2011 15:55:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 28 Jun 2011 15:55:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 28 17:55:31 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 1QbadO-0004c5-SR for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2011 17:55:30 +0200 Original-Received: from localhost ([::1]:47364 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbadN-0003xi-Kg for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2011 11:55:29 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qbaaa-0003MX-Q9 for emacs-devel@gnu.org; Tue, 28 Jun 2011 11:52:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbaaY-0001ud-96 for emacs-devel@gnu.org; Tue, 28 Jun 2011 11:52:36 -0400 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:52439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbaaX-0001uA-O4; Tue, 28 Jun 2011 11:52:34 -0400 Original-Received: from 218.231.154.3.eo.eaccess.ne.jp ([218.231.154.3] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) (envelope-from ) id 1QbaaU-0007JU-R9; Wed, 29 Jun 2011 00:52:31 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 2FFF4DF8D; Wed, 29 Jun 2011 00:52:27 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: <87ei2ez6fd.fsf@keller.adm.naquadah.org> (Julien Danjou's message of "Tue, 28 Jun 2011 10:49:58 +0200") Original-Lines: 33 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 203.216.5.74 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:141134 Archived-At: Julien Danjou writes: > Why not embed WebKit as a display engine? As chad said, it would likely be pretty difficult. Emacs is not a simple text editor with generic requirements for redisplay that can easily be fulfilled by random toolkit text widgets. Emacs redisplay implements many specialized features which are used by lots of lisp code. All that would either have to be emulated (how?) or abandoned. Moreover, the traditional web-browser method of display -- calculating a DOM from the underlying document, and then letting the engine display the DOM efficiently -- is not a particularly good match with the traditional Emacs display architecture, which mostly only incurs overhead for _displayed_ portions of the text. A big change in models like that would very likely to have some big repercussions.[*] The existing terminal display code of course can't support many features of the graphical display, but it still shares much of the same code, and respects the same basic constraints. This has been suggested many times before in various forms, and I'm not aware that there's ever been a very positive answer. [*] Visit a 500MB document in Emacs? No prob, displays quickly! Open the same document in Google Chrome [a speed-focused browser which uses webkit]? System brought to knees, I had to kill it after my system started thrashing itself to death. -Miles -- Is it true that nothing can be known? If so how do we know this? -Woody Allen