[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: narrow-to-here-document
From: |
David Kastrup |
Subject: |
Re: narrow-to-here-document |
Date: |
30 Jun 2003 19:19:39 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
address@hidden (Kai Großjohann) 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.
>
> 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.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: narrow-to-here-document, (continued)
- Re: narrow-to-here-document, Stefan Daschek, 2003/06/25
- mmm-mode.el(Re: narrow-to-here-document), Masatake YAMATO, 2003/06/26
- Re: narrow-to-here-document, David Kastrup, 2003/06/26
- Re: narrow-to-here-document, Alan Shutko, 2003/06/29
- Re: narrow-to-here-document, Miles Bader, 2003/06/29
- Re: narrow-to-here-document, Kai Großjohann, 2003/06/30
- Re: narrow-to-here-document,
David Kastrup <=
- Re: narrow-to-here-document, Kai Großjohann, 2003/06/30
- Re: narrow-to-here-document, Kevin Rodgers, 2003/06/25
Message not available
- Re: narrow-to-here-document, Richard Stallman, 2003/06/26
- Re: narrow-to-here-document, Miles Bader, 2003/06/26
- Re: narrow-to-here-document, Tak Ota, 2003/06/26
- Re: narrow-to-here-document, Miles Bader, 2003/06/26
- Re: narrow-to-here-document, David Kastrup, 2003/06/27
Re: narrow-to-here-document, Richard Stallman, 2003/06/26