From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: narrow-to-here-document Date: 26 Jun 2003 02:34:09 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <5x4r2d1xtq.fsf@kfs2.cua.dk> References: <3EF73468.1030503@yahoo.com> <20030625.151015.68035851.jet@gyve.org> <20030625.172159.55512297.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 1056592416 10485 80.91.224.249 (26 Jun 2003 01:53:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 26 Jun 2003 01:53:36 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Jun 26 03:53:34 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 19VLx8-0002ir-00 for ; Thu, 26 Jun 2003 03:53:34 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19VM1Q-0004II-00 for ; Thu, 26 Jun 2003 03:58:00 +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 19VLsM-0001Y3-NN for emacs-devel@quimby.gnus.org; Wed, 25 Jun 2003 21:48:38 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19VLrF-0001Gz-FW for emacs-devel@gnu.org; Wed, 25 Jun 2003 21:47:29 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19VKRU-0000B7-4o for emacs-devel@gnu.org; Wed, 25 Jun 2003 20:16:49 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19VIs5-0000ef-Tq; Wed, 25 Jun 2003 18:36:10 -0400 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id E3A0A7C012; Thu, 26 Jun 2003 00:36:05 +0200 (CEST) Original-To: Masatake YAMATO In-Reply-To: <20030625.172159.55512297.jet@gyve.org> Original-Lines: 19 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-cc: ihs_4664@yahoo.com 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:15260 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15260 Masatake YAMATO 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. > > Really great idea! > > I'll try to implement. > post-command-hook's time to the stage. Or the `point-left' and `point-entered' text properties... ? -- Kim F. Storm http://www.cua.dk