From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nic Newsgroups: gmane.emacs.devel Subject: Re: PHP mode and mmm-mode Date: Wed, 03 May 2006 00:44:29 +0100 Message-ID: <87vesovvoi.fsf@nicferrier.tapsellferrier.co.uk> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146614107 23046 80.91.229.2 (2 May 2006 23:55:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 May 2006 23:55:07 +0000 (UTC) Cc: Lennart Borgman , Michael Shulman , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 03 01:55:04 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fb4hn-0006KI-3s for ged-emacs-devel@m.gmane.org; Wed, 03 May 2006 01:54:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fb4hm-0007NJ-Vb for ged-emacs-devel@m.gmane.org; Tue, 02 May 2006 19:54:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fb4hc-0007Mh-1Z for emacs-devel@gnu.org; Tue, 02 May 2006 19:54:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fb4ha-0007Lp-5u for emacs-devel@gnu.org; Tue, 02 May 2006 19:54:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fb4ha-0007Lm-2A for emacs-devel@gnu.org; Tue, 02 May 2006 19:54:46 -0400 Original-Received: from [81.187.188.218] (helo=owls-house.tapsellferrier.co.uk) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Fb4hp-0004vl-N9 for emacs-devel@gnu.org; Tue, 02 May 2006 19:55:01 -0400 Original-Received: from nicferrier.tapsellferrier.co.uk ([172.31.50.1]) by owls-house.tapsellferrier.co.uk with esmtp (Exim 4.60 #1 (Debian)) id 1Fb4YY-0006DD-Al; Wed, 03 May 2006 00:45:26 +0100 Original-Received: from nferrier by nicferrier.tapsellferrier.co.uk with local (Exim 4.50) id 1Fb4Xd-0004Aj-5N; Wed, 03 May 2006 00:44:29 +0100 Original-To: Lars Magne Ingebrigtsen In-Reply-To: (Lars Magne Ingebrigtsen's message of "Tue, 02 May 2006 22:29:04 +0200") X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53828 Archived-At: Lars Magne Ingebrigtsen writes: > "Michael Shulman" writes: > >> For example, in certain modes (which I don't remember off the >> top of my head) indentation in submode regions is broken, while in >> others, quotation marks in one place can adversely affect the >> font-locking somewhere where they really shouldn't. > > Well, that's to be expected, but if a convention for telling modes > what regions belongs to what modes, then these things can be fixed in > the relevant major modes. > > We're not talking about hundreds of modes, either -- the number of > modes where mixing types is likely is probably pretty low. Say > 10 to 20. Actually, I don't think that's true. I often type XML in mail messages, Java buffers, C buffers, LISP buffers, Javascript buffers, not to mention XSLT buffers. I often type Javascript in XML buffers, Java buffers, C buffers, LISP buffers and mail messages. I think a solution that offered me syntax colouring and completion and some of the other facilities when in a foreign mode would be a real boon. Nic Ferrier