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 21:28:50 -0500 (CDT)

>From my previous message:

   So, is the behavior correct or do we want (line-move-to-column 0) at
   the end of line3 with line2, including trailing newline, both invisible
   and intangible, to move to the "i" of line3?  I believe that would
   fix the C-n behavior reported by Klaus.

Alternatively and maybe better, we could, in light of Stefan's
changes, undo the invisible-intangible subtlety mentioned in the NEWS
(that would, in the worst case, make point appear to stand still for
one single C-f instead of for an unlimited number of C-n's), mention
Stefan's changes in the Elisp manual (needs to be done anyway) and
warn there not to give the same text the invisibility and
intangibility property.  (I personally would _not_ go as far as to
actually "deprecate" intangible altogether, just intangible-invisible.)

That would still allow (line-move-to-column O) to do the apparent
right thing in the described situation (move to the beginning of
line3) while solving both the bug reported by Klaus and the
line-move-to-column dilemma without any code changes in line-move,
line-move-to-column or related functions.

Sincerely,

Luc.
 




reply via email to

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