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: Tue, 17 Nov 2009 15:01:27 +0100

On Tue, Nov 17, 2009 at 1:43 PM, senny <yves.senn@gmail.com> wrote:
> Hey there
>
> I am looking for a way to edit java-script and css snippets in a HTML
> document with their corresponding major modes. I've tried some of the
> multi major mode solutions but found most of them buggy and performing
> slowly. Recently I found the indirect-buffer feature of emacs. This is
> exactly what I am looking for but it somehow breaks fontification.
> When I clone a region into an indirect buffer the code does not get
> highlighted correctly.
>
> This seems only to happen when the original buffer is visible in an
> other window. when I only edit the indirect buffer, then fontification
> works as expected.
>
> Is there a workaround for this problem?


Perhaps try latest version of nXhtml? Which version have you tried and
what problems did you find. Did you report any bugs in nXhtml?




reply via email to

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