emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: moving point over invisible and intangible text


From: Miles Bader
Subject: Re: moving point over invisible and intangible text
Date: 22 Oct 2003 15:33:54 +0900

Richard Stallman <address@hidden> writes:
>     Buffer starting at line1, no trailing whitespace.  With line2
>     including trailing newline invisible or invisible-intangible, both
>     implementations disallow positions 8-13 inclusive.  Both move point
>     from 7 to 14 going forward and from 14 to 7 backward.
> 
> Ok, I guess they really are the same.  So I will get rid of the
> special invisible-intangible behavior.

Well, of course, not _strictly_ the same -- there is some danger that
when one wants to prevent modification of an invisible part of an
editable buffer, using only Stefan's definition will cause odd
side-effects because some low-level functions will stumble into the
invisible part, even though the user can't do so (because with Stefan's
code, point adjustment is part of the command loop).

Whether this will be a problem in practice, I don't know.

-Miles
-- 
Occam's razor split hairs so well, I bought the whole argument!




reply via email to

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