From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: indirect-region (make-indirect-buffer) breaks major-mode fontification Date: Wed, 18 Nov 2009 17:38:26 +0100 Message-ID: References: <61136d02-7d49-4b29-82e4-3d970cb55175@m38g2000yqd.googlegroups.com> <453D5202-26FA-4AE5-9AC6-1F4973C42A9B@gmail.com> <58207d59-3528-4ee7-b8a7-b3f2f1f3e14a@r24g2000yqd.googlegroups.com> <9be07ac3-7eca-4417-8766-6cf9430ad4a2@l2g2000yqd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1258562375 1016 80.91.229.12 (18 Nov 2009 16:39:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Nov 2009 16:39:35 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: senny Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 18 17:39:27 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NAnZ1-0006gi-5n for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Nov 2009 17:39:27 +0100 Original-Received: from localhost ([127.0.0.1]:59795 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAnZ0-0000sf-ID for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Nov 2009 11:39:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAnYe-0000sK-7A for help-gnu-emacs@gnu.org; Wed, 18 Nov 2009 11:39:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAnYY-0000rb-QK for help-gnu-emacs@gnu.org; Wed, 18 Nov 2009 11:39:02 -0500 Original-Received: from [199.232.76.173] (port=40862 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAnYY-0000rY-KV for help-gnu-emacs@gnu.org; Wed, 18 Nov 2009 11:38:58 -0500 Original-Received: from mail-yw0-f194.google.com ([209.85.211.194]:48931) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NAnYY-0006xt-BN for help-gnu-emacs@gnu.org; Wed, 18 Nov 2009 11:38:58 -0500 Original-Received: by ywh32 with SMTP id 32so2099618ywh.14 for ; Wed, 18 Nov 2009 08:38:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=2H/S18TuGDuQRQSZJE5FVOYsQL4rCN4T2UVXraXUko8=; b=IyzGlZvKqTKSakSMjWnODYlFE52R9P1Cd6zTwkKiG6sPDRqy5n2YIpHT/UpWa2IwtE ieGPePtPtZRgKuakS4yRR4jkhiOp3xrTy+RHKYvj+s1uuUWDS24INYIzr/6uM9MSmwBs cetN40txlvD/GLrA4ocLql6mObdI2ivAS62vI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=L2zheq+kZaF/L2YyomiIosMMG89XHiVC6sFBmFmKz0WZZJE1Q7ryV7R/n73RiaLKSI kz0ZMVOz+HPbtU4/XczZcGjrojZF8QgPXaihThjneNI8WqUkbMLfgyfg+cpFGGAzUVfK RcYBgk4ju/UdryoNPepyKFXGNtSaYAe+rFoFs= Original-Received: by 10.101.171.36 with SMTP id y36mr2882531ano.75.1258562327265; Wed, 18 Nov 2009 08:38:47 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:69882 Archived-At: On Wed, Nov 18, 2009 at 4:44 PM, Lennart Borgman wrote: > On Wed, Nov 18, 2009 at 2:52 PM, senny wrote: > >>> > =C2=A0- When I call (cleanup-buffer =3D> starterkit function to inden= t, >>> > untabify and trailing whitespace removal) >>> > =C2=A0 =C2=A0It takes like 6 seconds to clean the buffer where nxml m= ode takes >>> > around half a second. >>> >>> Is this for the example you sent me? That sounds a bit strange. Can >>> you please send me a copy of cleanup-buffer so I can see what it does? > > > I tested this a bit more and found that you are right. It is the > indentation that takes so long time - but only when you use a multi > major mode that has nxml-mode as its main mode. > > I do not know what to do about it but I will keep it in mind. (I have > one solution in mind right now...) I just uploaded a new beta nXhtml 2.02 where this should be fixed. Thanks for reminding me of the problem.