From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: indirect-region (make-indirect-buffer) breaks major-mode fontification Date: 17 Nov 2009 14:20:04 GMT Message-ID: References: <61136d02-7d49-4b29-82e4-3d970cb55175@m38g2000yqd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1258469818 14743 80.91.229.12 (17 Nov 2009 14:56:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Nov 2009 14:56:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 17 15:56:51 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 1NAPSX-0006ze-Us for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Nov 2009 15:55:10 +0100 Original-Received: from localhost ([127.0.0.1]:45513 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAPST-0007vq-Re for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Nov 2009 09:55:05 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-X-Trace: individual.net 7UO7OkMIElaPEd5XQ4qsIQe7fOPRPMjkOlKmUVLyIV8aEmmRuR Cancel-Lock: sha1:JVHQWW6Axy3Y9WOOVbUEGfUP3KQ= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/0.9.9p1 (Linux) Original-Xref: news.stanford.edu gnu.emacs.help:174752 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:69825 Archived-At: 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 joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9)