unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: joakim@verona.se
Cc: emacs-devel@gnu.org
Subject: Re: clutter integration in the xwidget branch
Date: Wed, 29 Jun 2011 00:52:25 +0900	[thread overview]
Message-ID: <87liwm6jie.fsf@catnip.gol.com> (raw)
In-Reply-To: <87ei2ez6fd.fsf@keller.adm.naquadah.org> (Julien Danjou's message of "Tue, 28 Jun 2011 10:49:58 +0200")

Julien Danjou <julien@danjou.info> 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



      parent reply	other threads:[~2011-06-28 15:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-28  7:05 clutter integration in the xwidget branch joakim
2011-06-28  8:03 ` Antoine Levitt
2011-06-28  8:49 ` Julien Danjou
2011-06-28  9:45   ` chad
2011-06-28 15:52   ` Miles Bader [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87liwm6jie.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=joakim@verona.se \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).