unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: senny <yves.senn@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: indirect-region (make-indirect-buffer) breaks major-mode  fontification
Date: Tue, 17 Nov 2009 06:40:09 -0800 (PST)	[thread overview]
Message-ID: <9f149101-7cb9-4bd9-8248-457b8d89a537@k4g2000yqb.googlegroups.com> (raw)
In-Reply-To: slrnhg5c8d.8ft.joostkremers@j.kremers4.news.arnhem.chello.nl

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	other threads:[~2009-11-17 14:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-17 12:43 indirect-region (make-indirect-buffer) breaks major-mode fontification senny
2009-11-17 14:01 ` Lennart Borgman
     [not found] ` <mailman.10887.1258466524.2239.help-gnu-emacs@gnu.org>
2009-11-17 14:16   ` senny
2009-11-17 14:20     ` Joost Kremers
2009-11-17 14:40       ` senny [this message]
2009-11-17 15:13     ` Lennart Borgman
     [not found]       ` <ADEECBBC-DEC5-45E1-9A56-C8877DA04F7C@gmail.com>
     [not found]         ` <e01d8a50911171135g288b67dfk8bcc6d15812a994c@mail.gmail.com>
     [not found]           ` <453D5202-26FA-4AE5-9AC6-1F4973C42A9B@gmail.com>
2009-11-17 20:28             ` Lennart Borgman
     [not found]             ` <mailman.10926.1258489768.2239.help-gnu-emacs@gnu.org>
2009-11-18  7:54               ` senny
2009-11-18 13:30                 ` Lennart Borgman
     [not found]                 ` <mailman.10965.1258551083.2239.help-gnu-emacs@gnu.org>
2009-11-18 13:52                   ` senny
2009-11-18 15:44                     ` Lennart Borgman
2009-11-18 16:38                       ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9f149101-7cb9-4bd9-8248-457b8d89a537@k4g2000yqb.googlegroups.com \
    --to=yves.senn@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).