From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Colin Walters Newsgroups: gmane.emacs.devel Subject: Re: Question about copy-region-as-kill Date: 09 Apr 2002 18:12:06 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <1018390326.900.10.camel@space-ghost> References: <87ofh09xjq.fsf@alice.dynodns.net> <200204050602.g3562Dl18586@aztec.santafe.edu> <87bscx7rlf.fsf@alice.dynodns.net> <200204061732.g36HWSb19584@aztec.santafe.edu> <87k7rkmuk0.fsf@alice.dynodns.net> <87zo0gbfb2.fsf@emacswiki.org> <1018138376.27236.49.camel@space-ghost> <87bscwe36t.fsf@tc-1-100.kawasaki.gol.ne.jp> <874rio5ide.fsf@alice.dynodns.net> <1018154686.1186.13.camel@space-ghost> <87ofgwcdgm.fsf@tc-1-100.kawasaki.gol.ne.jp> <1018157567.1186.15.camel@space-ghost> <87bscwc84q.fsf@tc-1-100.kawasaki.gol.ne.jp> <1018165593.4269.27.camel@space-ghost> <877knjd7iw.fsf@tc-1-100.kawasaki.gol.ne.jp> <1018235388.4269.38.camel@space-ghost> <200204091207.g39C7m420376@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1018393409 16541 127.0.0.1 (9 Apr 2002 23:03:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 9 Apr 2002 23:03:29 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16v4e9-0004Ig-00 for ; Wed, 10 Apr 2002 01:03:29 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16v4tA-00080q-00 for ; Wed, 10 Apr 2002 01:19:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16v4dp-0004Kc-00; Tue, 09 Apr 2002 19:03:09 -0400 Original-Received: from monk.debian.net ([216.185.54.61] helo=monk.verbum.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16v4b1-0004DC-00 for ; Tue, 09 Apr 2002 19:00:15 -0400 Original-Received: from space-ghost.verbum.private (freedom.cis.ohio-state.edu [164.107.60.183]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "space-ghost.verbum.org", Issuer "monk.verbum.org" (verified OK)) by monk.verbum.org (Postfix (Debian/GNU)) with ESMTP id A756C740025E for ; Tue, 9 Apr 2002 19:00:03 -0400 (EDT) Original-Received: by space-ghost.verbum.private (Postfix (Debian/GNU), from userid 1000) id B82CD807E24; Tue, 9 Apr 2002 18:12:06 -0400 (EDT) Original-To: emacs-devel@gnu.org In-Reply-To: <200204091207.g39C7m420376@aztec.santafe.edu> X-Mailer: Evolution/1.0 (Preview Release) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2495 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2495 On Tue, 2002-04-09 at 08:07, Richard Stallman wrote: > If we had extents like mechanism as the underlying implementation of > both text properties and overlays, then I could fall back to just using > the raw extents interface to solve my problem. > > That would be indistinguishable in practice form using overlays for > everything. It would not be terribly hard to do this, but if indeed > overlays are slower, then this will make everything that now uses text > properties slower. This seems to me to be an implementation issue. Redisplay is far outside my area of knowledge, but since XEmacs seems to be "fast enough" at font-locking, I think this suggests that it doesn't have to be slow. > Are overlays actually slower, for something like font-lock? > I don't know. My subjective feeling is that Emacs overlays are currently substantially slower than Emacs text properties, yes. But it would be hard to make an objective comparison without rewriting font-lock entirely... > I don't think overlays (whether you call them "extents" or not) > are lying behind text properties. The XEmacs manual claims that their text properties are implemented in terms of extents: "Text properties are an alternative interface to extents (*note Extents::), and are built on top of them." I don't want to actually look at the source, because I would like to help in the implementation of extents (or the extension of overlays, however you want to look at it) for Emacs.