From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: narrow-to-here-document Date: 30 Jun 2003 19:19:39 +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> <87k7b9vvs1.fsf@wesley.springies.com> <84r85cw0rk.fsf@lucy.is.informatik.uni-duisburg.de> Reply-To: dak@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1056995171 17518 80.91.224.249 (30 Jun 2003 17:46:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 30 Jun 2003 17:46:11 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jun 30 19:46:10 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 19X2hO-0004Mw-00 for ; Mon, 30 Jun 2003 19:44:18 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19X2nw-0000Wr-00 for ; Mon, 30 Jun 2003 19:51:04 +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 19X2bl-0007ot-1C for emacs-devel@quimby.gnus.org; Mon, 30 Jun 2003 13:38:29 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19X2TQ-00066w-8m for emacs-devel@gnu.org; Mon, 30 Jun 2003 13:29:52 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19X2Kc-0003nT-7j for emacs-devel@gnu.org; Mon, 30 Jun 2003 13:20:47 -0400 Original-Received: from pd950a07f.dip.t-dialin.net ([217.80.160.127] helo=localhost.localdomain) by monty-python.gnu.org with esmtp (Exim 4.20) id 19X2Jw-0003Yy-MP for emacs-devel@gnu.org; Mon, 30 Jun 2003 13:20:04 -0400 Original-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id h5UHJdGW007913 for ; Mon, 30 Jun 2003 19:19:39 +0200 Original-Received: (from dak@localhost) by localhost.localdomain (8.12.8/8.12.8/Submit) id h5UHJdLT007909; Mon, 30 Jun 2003 19:19:39 +0200 Original-To: emacs-devel@gnu.org In-Reply-To: <84r85cw0rk.fsf@lucy.is.informatik.uni-duisburg.de> Original-Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:15327 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15327 kai.grossjohann@gmx.net (Kai Gro=DFjohann) writes: > I've been wondering if a workable alternative would be to make the > point motion functions look at a variable. If the variable is set, > they ignore text with a certain property. >=20 > Suppose that we set the (hypothetical) text property `language' to > `c' on all the C bits, and then we let-bind the variable to the value > `c'. Then all point motion commands would skip all text where the > text property language is not set to c. So backward-char, for > example, would skip all that text. The intangible property does this sort of skipping, but it would be pretty dangerous to fool around with this when one has code not tailored for it: it is a reasonable assumption when programming that (1- (point)) and (save-excursion (backward-char) (point)) are the same thing, basically. --=20 David Kastrup, Kriemhildstr. 15, 44793 Bochum