From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Daschek Newsgroups: gmane.emacs.devel Subject: Re: narrow-to-here-document Date: Thu, 26 Jun 2003 01:18:17 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20030620141028.GA1331@math.berkeley.edu> <20030621.012632.74543482.jet@gyve.org> <3EF73468.1030503@yahoo.com> <20030625.151015.68035851.jet@gyve.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1056593648 14586 80.91.224.249 (26 Jun 2003 02:14:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 26 Jun 2003 02:14:08 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Jun 26 04:14:06 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 19VMH0-0003n5-00 for ; Thu, 26 Jun 2003 04:14:06 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19VMLJ-0004TP-00 for ; Thu, 26 Jun 2003 04:18:33 +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 19VMFn-0006wv-S9 for emacs-devel@quimby.gnus.org; Wed, 25 Jun 2003 22:12:51 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19VMDY-0006PR-PE for emacs-devel@gnu.org; Wed, 25 Jun 2003 22:10:32 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19VLF7-0001IO-Q8 for emacs-devel@gnu.org; Wed, 25 Jun 2003 21:08:06 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19VKyB-000617-6m for emacs-devel@gnu.org; Wed, 25 Jun 2003 20:50:35 -0400 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19VKxr-0006wC-00 for ; Thu, 26 Jun 2003 02:50:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19VKpz-0006TO-00 for ; Thu, 26 Jun 2003 02:42:07 +0200 Original-Lines: 16 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:DKfqFaN+uZOrih7NqgRkajeybwI= 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:15261 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15261 David Kastrup writes: > Actually, what one really would want is to have a > narrow-to-here-document which is not apparent in the display (leaving > the context around the here document), and to have hooks that will > revert the narrowing once the _user_ (as opposed to indentation code > and the like) tries leaving the narrowed area. We would need some > functionality inside of Emacs in order to deal with that, probably. Well, that sounds a bit like what mmm-mode.el [1] already does (or at least tries to do). [1] http://mmm-mode.sourceforge.net/ ciao, noniq