Commit a7cdbfce authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* doc/lispref/text.texi (Special Properties): Warn against `intangible' properties.

Fixes: debbugs:10222
parent 315bc30d
2011-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
* text.texi (Special Properties): Warn against `intangible' properties
(bug#10222).
2011-11-26 Eli Zaretskii <eliz@gnu.org>
* display.texi (Truncation):
......@@ -23,8 +28,8 @@
2011-11-21 Martin Rudalics <rudalics@gmx.at>
* windows.texi (Windows and Frames, Splitting Windows): Fix
typos.
* windows.texi (Windows and Frames, Splitting Windows):
Fix typos.
2011-11-21 Chong Yidong <cyd@gnu.org>
......@@ -36,8 +41,8 @@
(Buffers and Windows): Copyedits.
(Choosing Window): Document special handling of special-display-*.
(Choosing Window Options): Fix display-buffer-reuse-frames doc.
Don't document even-window-heights, which is going away. Clarify
which options are obeyed by which action functions.
Don't document even-window-heights, which is going away.
Clarify which options are obeyed by which action functions.
2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
......
......@@ -946,10 +946,9 @@ If the last event came from a keyboard macro, the value is @code{macro}.
It is not easy to display a value of point in the middle of a
sequence of text that has the @code{display}, @code{composition} or
@code{intangible} property, or is invisible. Therefore, after a
command finishes and returns to the command loop, if point is within
such a sequence, the command loop normally moves point to the edge of
the sequence.
is invisible. Therefore, after a command finishes and returns to the
command loop, if point is within such a sequence, the command loop
normally moves point to the edge of the sequence.
A command can inhibit this feature by setting the variable
@code{disable-point-adjustment}:
......
......@@ -3145,6 +3145,12 @@ group is separately treated as described above.
When the variable @code{inhibit-point-motion-hooks} is non-@code{nil},
the @code{intangible} property is ignored.
Beware: this property operates at a very low level, and affects a lot of code
in unexpected ways. So use it with extreme caution. A common misuse is to put
an intangible property on invisible text, which is actually unnecessary since
the command loop will move point outside of the invisible text at the end of
each command anyway. @xref{Adjusting Point}.
@item field
@kindex field @r{(text property)}
Consecutive characters with the same @code{field} property constitute a
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment