From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul R Newsgroups: gmane.emacs.devel Subject: Re: redisplay system of emacs Date: Fri, 29 Jan 2010 11:04:42 +0100 Message-ID: <87k4v1xm4l.fsf@gmail.com> References: <27349166.post@talk.nabble.com> <83bpge50k5.fsf@gnu.org> <87vdem8gly.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1264759510 3691 80.91.229.12 (29 Jan 2010 10:05:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Jan 2010 10:05:10 +0000 (UTC) Cc: alinsoar@voila.fr, Eli Zaretskii , Lennart Borgman , Emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 29 11:05:06 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 1Nanis-00025v-CS for ged-emacs-devel@m.gmane.org; Fri, 29 Jan 2010 11:05:06 +0100 Original-Received: from localhost ([127.0.0.1]:35149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nanir-0003rg-PE for ged-emacs-devel@m.gmane.org; Fri, 29 Jan 2010 05:05:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nanij-0003rX-LA for emacs-devel@gnu.org; Fri, 29 Jan 2010 05:04:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Nanid-0003qU-NX for Emacs-devel@gnu.org; Fri, 29 Jan 2010 05:04:56 -0500 Original-Received: from [199.232.76.173] (port=44626 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nanid-0003qR-KT for Emacs-devel@gnu.org; Fri, 29 Jan 2010 05:04:51 -0500 Original-Received: from mail-fx0-f216.google.com ([209.85.220.216]:34893) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NaniY-0003dR-Co; Fri, 29 Jan 2010 05:04:46 -0500 Original-Received: by fxm8 with SMTP id 8so2188818fxm.26 for ; Fri, 29 Jan 2010 02:04:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:message-id:user-agent:mime-version:content-type; bh=iQnTuI8zyIWPDYD2oJCYPwgTuOS98+W10/Qb/+61v7g=; b=dXTcJHkcs1yEj1kMcjCoto/BO8vc0zelXFF7kUv25Rt5DXU7KmDpGZMuvBZdIKx1jZ v8zbj45VkwTMNIEyjrdv5GBORYgjXSl5ouOPH6L8zZ6ElJ28JcWsgC2POHVSJ28lGwMe Ly8mQHom/VMXF6m54tGf7U3SlnwLz/LvYfO+Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; b=SDCwFSEjOQC/38mMFXzPteXgspReyMMHPju9Nmuq7aqpVAPBEY0diNr/zcL8Crn5Ox P8Mz6SB+MRD5OWA7pkltnEVGRuNKSbOzX17LVCP+xopdrrvGo/1dZQzLGxb0mQRoyv7u HAqg7jAW6IHAZblYTvsDN+0HEvnpv8sNDPfxQ= Original-Received: by 10.223.164.156 with SMTP id e28mr547569fay.27.1264759484646; Fri, 29 Jan 2010 02:04:44 -0800 (PST) Original-Received: from ubuT42 (vil35-2-82-227-204-220.fbx.proxad.net [82.227.204.220]) by mx.google.com with ESMTPS id 14sm387827fxm.3.2010.01.29.02.04.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 29 Jan 2010 02:04:43 -0800 (PST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:120633 Archived-At: Hello, > Note that mozilla's display engine makes some dramatically different > assumptions about what is important for the display engine to do. I found a related discussion in a previous thread, mid-2009 : http://lists.gnu.org/archive/html/emacs-devel/2009-07/threads.html#00344 As many emacs youngsters, I feel that emacs really uses too much home-made code. Surprisingly, Emacs does not benefit that much from the free software ecosystem. This is certainly connected to the fact that it has been ahead of its time in many aspects, so it had to build its own bricks without waiting for others to provide them. But in the meantime some things has changed, high quality generic free software fragments has entered the game. Entrusting them rather than home-made code would certainly be a big job, but would instantly enlarge emacs (indirect) contributors list. > 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. The performance of those engines has gotten surprisingly good, and is still improving at a very fast rate. I would be interested to have some real-case benchmarks. In the meantime I pasted the whole wikipedia article into http://ckeditor.com/demo then edited some text in the middle of the page. It was not blazing fast to be honnest, but still usable on my 10 years old hardware. -- Paul