help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: indirect-region (make-indirect-buffer) breaks major-mode fontificat


From: Lennart Borgman
Subject: Re: indirect-region (make-indirect-buffer) breaks major-mode fontification
Date: Wed, 18 Nov 2009 17:38:26 +0100

On Wed, Nov 18, 2009 at 4:44 PM, Lennart Borgman
<lennart.borgman@gmail.com> wrote:
> On Wed, Nov 18, 2009 at 2:52 PM, senny <yves.senn@gmail.com> wrote:
>
>>> >  - When I call (cleanup-buffer => starterkit function to indent,
>>> > untabify and trailing whitespace removal)
>>> >    It takes like 6 seconds to clean the buffer where nxml mode 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]