From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: narrow-to-here-document Date: Thu, 03 Jul 2003 20:07:08 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200307040007.h64079HL015105@rum.cs.yale.edu> References: <20030620141028.GA1331@math.berkeley.edu> <20030621.012632.74543482.jet@gyve.org> <3EF73468.1030503@yahoo.com> <87k7b9vvs1.fsf@wesley.springies.com> <84r85cw0rk.fsf@lucy.is.informatik.uni-duisburg.de> <84n0fzwckf.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1057277794 31255 80.91.224.249 (4 Jul 2003 00:16:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 4 Jul 2003 00:16:34 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Jul 04 02:16:32 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19YEFc-00087p-00 for ; Fri, 04 Jul 2003 02:16:32 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19YENl-0000im-00 for ; Fri, 04 Jul 2003 02:24:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19YEF9-0004ic-GN for emacs-devel@quimby.gnus.org; Thu, 03 Jul 2003 20:16:03 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19YEBR-00037K-Il for emacs-devel@gnu.org; Thu, 03 Jul 2003 20:12:13 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19YE8Y-000245-Hu for emacs-devel@gnu.org; Thu, 03 Jul 2003 20:09:15 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19YE6Z-0001CM-9r for emacs-devel@gnu.org; Thu, 03 Jul 2003 20:07:11 -0400 Original-Received: from rum.cs.yale.edu (localhost [127.0.0.1]) by rum.cs.yale.edu (8.12.8/8.12.8) with ESMTP id h64079Hl015107; Thu, 3 Jul 2003 20:07:09 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.12.8/8.12.8/Submit) id h64079HL015105; Thu, 3 Jul 2003 20:07:09 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15357 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15357 > I agree that it would be better if they were the same, but I can't > think of a less disruptive method for having two major modes in the > same buffer, and to allow the usual parsing functions for each of the > modes to function more-or-less normally. I think it's pretty disruptive (`intangible' properties already tend to break a lot of code). Also, when there are two blocks of C code separated by something else, it's not clear whether the first should influence the second or not. I expect that mmm-mode can be extended to use point-motion hooks like point-enter and point-leave to simulate your suggestions. I think such experimentation is necessary before being able to decide what kind of additional support is needed, if any. Sadly I haven't heard much from mmm-mode developers on this list. Maybe we should invite them so they can share their horror stories and wishes. Stefan