From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.emacs.devel Subject: Re: `make-overlay' very slow Date: Sat, 11 Apr 2009 10:33:15 +0200 (CEST) Message-ID: <20090411.103315.35347596.wl@gnu.org> References: <20090411.094507.93632591.wl@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1239438815 25007 80.91.229.12 (11 Apr 2009 08:33:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Apr 2009 08:33:35 +0000 (UTC) Cc: acm@muc.de, schwab@linux-m68k.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: lennart.borgman@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 11 10:34:53 2009 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.50) id 1LsYfr-00027Q-W1 for ged-emacs-devel@m.gmane.org; Sat, 11 Apr 2009 10:34:52 +0200 Original-Received: from localhost ([127.0.0.1]:50205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LsYeT-0000Qj-AX for ged-emacs-devel@m.gmane.org; Sat, 11 Apr 2009 04:33:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LsYeN-0000Qe-Sc for emacs-devel@gnu.org; Sat, 11 Apr 2009 04:33:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LsYeI-0000QS-4W for emacs-devel@gnu.org; Sat, 11 Apr 2009 04:33:18 -0400 Original-Received: from [199.232.76.173] (port=37181 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LsYeH-0000QP-VA for emacs-devel@gnu.org; Sat, 11 Apr 2009 04:33:13 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:51725) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LsYeH-0004SX-Gv for emacs-devel@gnu.org; Sat, 11 Apr 2009 04:33:13 -0400 Original-Received: (qmail invoked by alias); 11 Apr 2009 08:33:12 -0000 Original-Received: from 77-20-101-114-dynip.superkabel.de (EHLO localhost) [77.20.101.114] by mail.gmx.net (mp053) with SMTP; 11 Apr 2009 10:33:12 +0200 X-Authenticated: #54312696 X-Provags-ID: V01U2FsdGVkX19HJHR1R65HhBnRnHwnQM27tJT4FG+YGZbRX6kHH+ SzwbDeQ9zGpE3q In-Reply-To: X-Mailer: Mew version 6.2.50 on Emacs 22.3.1 / Mule 5.0 (SAKAKI) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.8100000000000001 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:110207 Archived-At: >> Thanks, will update my code. =A0However, it isn't a general solution= >> since my function should essentially work with all modes. > = > The macro does not depend on font-lock and you have to copy it to > your code. There's a misunderstanding: I mean the overlay vs. text properties problem. `save-buffer-state' works just fine. Werner