From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: Multiple Major Modes Date: Mon, 2 Nov 2009 15:22:43 +0100 Message-ID: References: <25d42153-4e90-4491-b0a0-7efff5215f35@k17g2000yqh.googlegroups.com> <87bpjmhrbh.fsf@liv.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1257171836 4637 80.91.229.12 (2 Nov 2009 14:23:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Nov 2009 14:23:56 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Richard Riley Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 02 15:23:49 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 1N4xov-0004QL-J0 for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Nov 2009 15:23:45 +0100 Original-Received: from localhost ([127.0.0.1]:51844 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4xov-0004OK-19 for geh-help-gnu-emacs@m.gmane.org; Mon, 02 Nov 2009 09:23:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4xoL-0004MM-I1 for help-gnu-emacs@gnu.org; Mon, 02 Nov 2009 09:23:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4xoG-0004KL-KB for help-gnu-emacs@gnu.org; Mon, 02 Nov 2009 09:23:08 -0500 Original-Received: from [199.232.76.173] (port=46096 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4xoG-0004KF-Dy for help-gnu-emacs@gnu.org; Mon, 02 Nov 2009 09:23:04 -0500 Original-Received: from mail-yw0-f194.google.com ([209.85.211.194]:53264) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N4xoG-0002Xv-63 for help-gnu-emacs@gnu.org; Mon, 02 Nov 2009 09:23:04 -0500 Original-Received: by ywh32 with SMTP id 32so4762603ywh.14 for ; Mon, 02 Nov 2009 06:23:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=7PMPZGmEutgi7B18fTtR9WbTNfppenIItec664jQzoM=; b=MrZzJRb4D7peFAXPhvCmHs978nRzyRyfK2o5i4f//NGK/k1V8FhzqvNFaK7Y9B40EZ U53Xpw4t0PGVVRZdXMOVe5HdwhRKXzVP7DEslnLIUPK5RkwPB7DDopOzqriroV5g6ega lnBeNJZQbN797ga4H/e1cF7ebTLF0jD6FgD1Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=N1fU5Kt/x3rl7Fy5xsBN0ArACPxG0S1J7rr/voqr/qxtwERoQi39CKoHskEK6GZLTf iKH2Jqgnom0ZwcLqmPXAJMjpVhs6PpGYSYRK1TjPIJH2CnB9z46Xo1Bah5x3l+1Uk4ma OTmmaanDurid8uNwpmwcqek3jBnfgFTdCwbcQ= Original-Received: by 10.101.130.18 with SMTP id h18mr2724260ann.80.1257171783373; Mon, 02 Nov 2009 06:23:03 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:69396 Archived-At: On Mon, Nov 2, 2009 at 3:01 PM, Richard Riley wrote: > Dave Love writes: > >> Nordl=C3=B6w writes: >> >>> Does anyone though of an extension the enables a major-mode to exist >>> only within a part of buffer along with another major-mode. Part is >>> preferrably delimited by some magic strings. >> >> I think you want more flexibility for delimiting mode chunks in general. >> >> implements >> roughly what we intended by the Emacs TODO item on the topic many years >> ago (if it's still there). >> >> I'm rather baffled by this nxhtml thing referred to, and its complexity. >> It claims to be trying to solve a problem that the indirect buffer >> approach doesn't have. =C2=A0Can someone explain why? >> >> Doing this sort of thing properly really needs support from Emacs, which >> was originally meant to be added as necessary. >> > > I just tried multi-mode. Very fast and clean. Can it also fontify in the > php sections or am I missing something? Yes, it does. (It is just a bug at startup of it, press some key.)