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: Stefan Monnier
Subject: Re: moving point over invisible and intangible text
Date: 20 Oct 2003 19:48:12 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> Stefan, is that entirely correct?  Does that feature pay attention
> to stickiness of the invisible property?

Of course, yet.

> What happens when the invisible text is at the end of the buffer?  For
> consistent behavior, following the principle of not allowing point on
> both sides of the invisible text, it seems we should disallow putting
> point after it.  Is that implemented now?

I don't strictly follow the principle of not allowing point on both
sides of the invisible text.  My experience was that while it makes
sense when applied at the level of `goto-char', it doesn't make as much
sense when applied at the level of commands.  An example might be
when a line has some invisible text at its end and I do C-e: I want
to skip to the end of the invisible text, but I don't want to skip past
the \n that follows it.
The correct behavior is generally dependent on the command, so the
code is fairly conservative and only moves point if it's "obviously"
good.


        Stefan




reply via email to

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