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: Luc Teirlinck
Subject: Re: moving point over invisible and intangible text
Date: Thu, 16 Oct 2003 19:34:31 -0500 (CDT)

Richard Stallman wrote:

       It seems to me that after your [Stefan's] change, C-n and C-p
       ignore invisible lines regardless of the value of this
       variable.

   Which change are you referring to, specifically?

I should probably have said "changes".  I refer to the series of
changes by Stefan that made invisible text, for all practical
purposes, automatically behave like if it were intangible too, or
maybe "intangible with some different treatment of stickiness or with
some other minor variations".  The best person to supply the details
would be Stefan.

_Maybe_ the main one was:

2002-11-15  Stefan Monnier  <address@hidden>

            * keyboard.c (command_loop_1): Fix int/Lisp_Object mixup.
            (adjust_point_for_property): Move out of display and
            invisible even if we were already inside before (in case a
            property was added while we weren't looking).  Be more
            careful when handling invisible props.  Skip invisible
            text as if it really wasn't there at all.

but there were several other related changes.  I guess Stefan knows
all the details, I do not.

However, I remember that before these changes, if two visible lines
were separated by 10 invisible lines and `line-move-ignore-invisible'
was nil, you had to do C-n 11 times to get from the first line to the
second.  Now C-n moves there immediately, regardless of the value of
`line-move-ignore-invisible.

Sincerely,

Luc.




reply via email to

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