diff options
| author | Stefan Monnier | 2011-12-05 11:50:25 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2011-12-05 11:50:25 -0500 |
| commit | a7cdbfce1103f45d7ed27a00f8723d3a1ad12b00 (patch) | |
| tree | b0e8c1286657703631f434394b0bead80335c2b7 /doc | |
| parent | 315bc30ddb80e3380814a30b89c1f5528a58dd0c (diff) | |
| download | emacs-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/ChangeLog | 13 | ||||
| -rw-r--r-- | doc/lispref/commands.texi | 7 | ||||
| -rw-r--r-- | doc/lispref/text.texi | 6 |
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 @@ | |||
| 1 | 2011-12-05 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * text.texi (Special Properties): Warn against `intangible' properties | ||
| 4 | (bug#10222). | ||
| 5 | |||
| 1 | 2011-11-26 Eli Zaretskii <eliz@gnu.org> | 6 | 2011-11-26 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * display.texi (Truncation): | 8 | * display.texi (Truncation): |
| @@ -23,8 +28,8 @@ | |||
| 23 | 28 | ||
| 24 | 2011-11-21 Martin Rudalics <rudalics@gmx.at> | 29 | 2011-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 | ||
| 29 | 2011-11-21 Chong Yidong <cyd@gnu.org> | 34 | 2011-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 | ||
| 42 | 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca> | 47 | 2011-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 |
| 948 | sequence of text that has the @code{display}, @code{composition} or | 948 | sequence of text that has the @code{display}, @code{composition} or |
| 949 | @code{intangible} property, or is invisible. Therefore, after a | 949 | is invisible. Therefore, after a command finishes and returns to the |
| 950 | command finishes and returns to the command loop, if point is within | 950 | command loop, if point is within such a sequence, the command loop |
| 951 | such a sequence, the command loop normally moves point to the edge of | 951 | normally moves point to the edge of the sequence. |
| 952 | the 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. | |||
| 3145 | When the variable @code{inhibit-point-motion-hooks} is non-@code{nil}, | 3145 | When the variable @code{inhibit-point-motion-hooks} is non-@code{nil}, |
| 3146 | the @code{intangible} property is ignored. | 3146 | the @code{intangible} property is ignored. |
| 3147 | 3147 | ||
| 3148 | Beware: this property operates at a very low level, and affects a lot of code | ||
| 3149 | in unexpected ways. So use it with extreme caution. A common misuse is to put | ||
| 3150 | an intangible property on invisible text, which is actually unnecessary since | ||
| 3151 | the command loop will move point outside of the invisible text at the end of | ||
| 3152 | each command anyway. @xref{Adjusting Point}. | ||
| 3153 | |||
| 3148 | @item field | 3154 | @item field |
| 3149 | @kindex field @r{(text property)} | 3155 | @kindex field @r{(text property)} |
| 3150 | Consecutive characters with the same @code{field} property constitute a | 3156 | Consecutive characters with the same @code{field} property constitute a |