aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorStefan Monnier2011-12-05 11:50:25 -0500
committerStefan Monnier2011-12-05 11:50:25 -0500
commita7cdbfce1103f45d7ed27a00f8723d3a1ad12b00 (patch)
treeb0e8c1286657703631f434394b0bead80335c2b7 /doc
parent315bc30ddb80e3380814a30b89c1f5528a58dd0c (diff)
downloademacs-a7cdbfce1103f45d7ed27a00f8723d3a1ad12b00.tar.gz
emacs-a7cdbfce1103f45d7ed27a00f8723d3a1ad12b00.zip
* doc/lispref/text.texi (Special Properties): Warn against `intangible' properties.
Fixes: debbugs:10222
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog13
-rw-r--r--doc/lispref/commands.texi7
-rw-r--r--doc/lispref/text.texi6
3 files changed, 18 insertions, 8 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 37de62be976..d620c9e3c4c 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12011-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * text.texi (Special Properties): Warn against `intangible' properties
4 (bug#10222).
5
12011-11-26 Eli Zaretskii <eliz@gnu.org> 62011-11-26 Eli Zaretskii <eliz@gnu.org>
2 7
3 * display.texi (Truncation): 8 * display.texi (Truncation):
@@ -23,8 +28,8 @@
23 28
242011-11-21 Martin Rudalics <rudalics@gmx.at> 292011-11-21 Martin Rudalics <rudalics@gmx.at>
25 30
26 * windows.texi (Windows and Frames, Splitting Windows): Fix 31 * windows.texi (Windows and Frames, Splitting Windows):
27 typos. 32 Fix typos.
28 33
292011-11-21 Chong Yidong <cyd@gnu.org> 342011-11-21 Chong Yidong <cyd@gnu.org>
30 35
@@ -36,8 +41,8 @@
36 (Buffers and Windows): Copyedits. 41 (Buffers and Windows): Copyedits.
37 (Choosing Window): Document special handling of special-display-*. 42 (Choosing Window): Document special handling of special-display-*.
38 (Choosing Window Options): Fix display-buffer-reuse-frames doc. 43 (Choosing Window Options): Fix display-buffer-reuse-frames doc.
39 Don't document even-window-heights, which is going away. Clarify 44 Don't document even-window-heights, which is going away.
40 which options are obeyed by which action functions. 45 Clarify which options are obeyed by which action functions.
41 46
422011-11-20 Stefan Monnier <monnier@iro.umontreal.ca> 472011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
43 48
diff --git a/doc/lispref/commands.texi b/doc/lispref/commands.texi
index e76b2bafd79..41392273fbd 100644
--- a/doc/lispref/commands.texi
+++ b/doc/lispref/commands.texi
@@ -946,10 +946,9 @@ If the last event came from a keyboard macro, the value is @code{macro}.
946 946
947 It is not easy to display a value of point in the middle of a 947 It is not easy to display a value of point in the middle of a
948sequence of text that has the @code{display}, @code{composition} or 948sequence of text that has the @code{display}, @code{composition} or
949@code{intangible} property, or is invisible. Therefore, after a 949is invisible. Therefore, after a command finishes and returns to the
950command finishes and returns to the command loop, if point is within 950command loop, if point is within such a sequence, the command loop
951such a sequence, the command loop normally moves point to the edge of 951normally moves point to the edge of the sequence.
952the sequence.
953 952
954 A command can inhibit this feature by setting the variable 953 A command can inhibit this feature by setting the variable
955@code{disable-point-adjustment}: 954@code{disable-point-adjustment}:
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index fc12939bec5..f7f9c716162 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -3145,6 +3145,12 @@ group is separately treated as described above.
3145When the variable @code{inhibit-point-motion-hooks} is non-@code{nil}, 3145When the variable @code{inhibit-point-motion-hooks} is non-@code{nil},
3146the @code{intangible} property is ignored. 3146the @code{intangible} property is ignored.
3147 3147
3148Beware: this property operates at a very low level, and affects a lot of code
3149in unexpected ways. So use it with extreme caution. A common misuse is to put
3150an intangible property on invisible text, which is actually unnecessary since
3151the command loop will move point outside of the invisible text at the end of
3152each command anyway. @xref{Adjusting Point}.
3153
3148@item field 3154@item field
3149@kindex field @r{(text property)} 3155@kindex field @r{(text property)}
3150Consecutive characters with the same @code{field} property constitute a 3156Consecutive characters with the same @code{field} property constitute a