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: senny
Subject: Re: indirect-region (make-indirect-buffer) breaks major-mode fontification
Date: Tue, 17 Nov 2009 06:40:09 -0800 (PST)
User-agent: G2/1.0

On 17 Nov., 15:20, Joost Kremers <joostkrem...@yahoo.com> wrote:
> senny wrote:
> > The other thing is, that I am looking for a flexible solution, I am
> > editing a lot of different template languages (jsp, esp, rhtml) and
> > it would be cool to use the same solution for all these cases. Thats
> > why i was heading for the "indirect-buffer" approach.
>
> have you looked at multi-mode.el? it uses the indirect-buffer approach, so
> perhaps you're reinventing the wheel?
>
> http://www.emacswiki.org/emacs/MultipleModes
>
> --
> Joost Kremers                                      joostkrem...@yahoo.com
> Selbst in die Unterwelt dringt durch Spalten Licht
> EN:SiS(9)

I haven't used multi-mode.el but I am willing to give it a try. Is
there a documentation page on how to set up the mode definitions
correctly? I only find the multi-mode.el file, which seems to be only
the framework to enable multiple major modes.


reply via email to

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