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: redisplay system of emacs Date: Thu, 28 Jan 2010 23:10:49 +0900 Message-ID: <87vdem8gly.fsf@catnip.gol.com> References: <27349166.post@talk.nabble.com> <83bpge50k5.fsf@gnu.org> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1264688501 28238 80.91.229.12 (28 Jan 2010 14:21:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Jan 2010 14:21:41 +0000 (UTC) Cc: alinsoar@voila.fr, Eli Zaretskii , Emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 28 15:21:38 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NaVFZ-0003NC-Ng for ged-emacs-devel@m.gmane.org; Thu, 28 Jan 2010 15:21:38 +0100 Original-Received: from localhost ([127.0.0.1]:46060 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaVFZ-00014u-23 for ged-emacs-devel@m.gmane.org; Thu, 28 Jan 2010 09:21:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NaV5K-0004Xx-0Y for emacs-devel@gnu.org; Thu, 28 Jan 2010 09:11:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NaV5F-0004VY-Ro for Emacs-devel@gnu.org; Thu, 28 Jan 2010 09:11:01 -0500 Original-Received: from [199.232.76.173] (port=50377 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NaV5F-0004VT-MC for Emacs-devel@gnu.org; Thu, 28 Jan 2010 09:10:57 -0500 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:59789) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NaV5B-0003JV-01; Thu, 28 Jan 2010 09:10:53 -0500 Original-Received: from 218.231.96.8.eo.eaccess.ne.jp ([218.231.96.8] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) id 1NaV58-0000dl-9y; Thu, 28 Jan 2010 23:10:50 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id A72F8DF8E; Thu, 28 Jan 2010 23:10:49 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: (Lennart Borgman's message of "Thu, 28 Jan 2010 13:53:18 +0100") Original-Lines: 27 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:120578 Archived-At: Lennart Borgman writes: > ?? Of course Mozilla supports these kind of things too. Note that mozilla's display engine makes some dramatically different assumptions about what is important for the display engine to do. Most importantly, it does the layout and display calculation for the _entire page_ at once. Emacs, by contrast does it on the fly for the small amount being displayed at the moment. Mozilla's method allows some nice things -- for instance it makes much more complicated layout tractable -- but it really really sucks for huge files, and in general probably isn't such a good idea if the document tends to change a lot in real time. Emacs' method, by contrast works really well for those cases. I think this difference in approach makes sense given the different goals of the two applications, and it's not at all clear that Mozilla's display engine would work well for Emacs too. Of course, you could try it and see.... :| -miles -- Cat, n. A soft, indestructible automaton provided by nature to be kicked when things go wrong in the domestic circle.