From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Manheimer Newsgroups: gmane.emacs.devel Subject: Re: outline/allout/overlay performance (was: existing work on TODO items) Date: Wed, 11 Jan 2006 17:00:46 -0500 Message-ID: <2cd46e7f0601111400j452ee7dexfc79b643ee3655d0@mail.gmail.com> References: <2cd46e7f0601091127w7f988942w33a105481ccd02e0@mail.gmail.com> <2cd46e7f0601110821x5c97c63bj25d80df70240c80e@mail.gmail.com> <2cd46e7f0601111223m4e568b56n283d038ccfff6be0@mail.gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1137016876 2846 80.91.229.2 (11 Jan 2006 22:01:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 11 Jan 2006 22:01:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 11 23:01:12 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ewo1m-000823-Fc for ged-emacs-devel@m.gmane.org; Wed, 11 Jan 2006 23:01:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ewo3p-0001wF-M3 for ged-emacs-devel@m.gmane.org; Wed, 11 Jan 2006 17:03:17 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ewo3W-0001uk-Rq for emacs-devel@gnu.org; Wed, 11 Jan 2006 17:02:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ewo3U-0001uF-1G for emacs-devel@gnu.org; Wed, 11 Jan 2006 17:02:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ewo3T-0001uC-UT for emacs-devel@gnu.org; Wed, 11 Jan 2006 17:02:55 -0500 Original-Received: from [66.249.92.203] (helo=uproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ewo6B-0004R7-0Z for emacs-devel@gnu.org; Wed, 11 Jan 2006 17:05:43 -0500 Original-Received: by uproxy.gmail.com with SMTP id u2so84090uge for ; Wed, 11 Jan 2006 14:00:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UtcJ9gyDF0XDj0jfvSeKZR+ONQ63p9hq1pnkEVDUqjVV/3SWjvkv8Tf6ai32Uvb7cRRgX0e6Ccd6qLiesdaAdC3+fad2PgJ4ri0LPvn25lYoBNKvme0SRR2YF4wF0bhI5NTIx+ViufVbzTmJMQoRe9aKx0N7TGRj+64oGE2r/JI= Original-Received: by 10.66.219.19 with SMTP id r19mr448335ugg; Wed, 11 Jan 2006 14:00:46 -0800 (PST) Original-Received: by 10.66.220.6 with HTTP; Wed, 11 Jan 2006 14:00:46 -0800 (PST) Original-To: Stefan Monnier In-Reply-To: Content-Disposition: inline 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:48942 Archived-At: On 1/11/06, Stefan Monnier wrote: > > i think i've surmounted the performance problem i was seeing, by > > better stitching together the overlays. > > Good news. but maybe premature - the behaviour "came back". i will have to carefully implement the stitching together stuff before coming to a conclusion about viability. > [...] > > these choices are hard-coded in the current `outline-flag-region', so > > i can't use it as stands. i could suggest a slightly modified version > > which open-codes these choices so "derivative" outline modes can use it > > directly while tailoring these aspects for their specific purposes. do= es > > that seem like a reasonable way to go? > > I don't understand why outline-flag-region should have anything to do wit= h > the implementation of an isearch-open-invisible(-temporary) function, so = I'm > probably not understanding you well, but improving outline-flag-region so= it the function is registered with the overlay, as a property - that's why the current outline-flag-region sets it. i want to make the function it registers with the overlay parameterized - eg, a mode local variable - to be registered if set. outline-mode's current one (`outline-isearch-open-invisible') will be used for outline-mode, and allout will have its own. other modes could, too. > stitches overlays together sounds like a good idea. > Maybe it could be made into a generic function, much like remove-overlays > and moved to subr.el. i'll take a look at remove-overlays, when i get to that point. thanks! ken manheimer ken.manheimer@gmail.com