[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Islands and streams [Was: convert regex.c, .... to standard C]

From: Chong Yidong
Subject: Re: Islands and streams [Was: convert regex.c, .... to standard C]
Date: Wed, 24 Nov 2010 12:13:19 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Alan Mackenzie <address@hidden> writes:

> Movement commands normally don't recognise islands as anything
> unusual, and just move into/out of them.  By binding variable
> "respect-islands" to non-nil, any movement command would skip over any
> islands it encountered, and such commands could not move point out of
> an island.
> Several islands with the same major mode can by chained together as a
> @dfn{stream}.  When respect-islands is non-nil, movement commands can
> jump over the "ocean" to the next/previous island in the chain.

Sorry I'm late to the discussion, but the existing concept of fields
does something similar---it restricts certain motion and editing
commands.  Have you looked into the possibility of extending fields to
do what you describe?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]