diff options
| author | Stefan Monnier | 2011-11-20 15:21:22 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2011-11-20 15:21:22 -0500 |
| commit | f4e90db08baefabd5281d122d90c06cee71b2656 (patch) | |
| tree | b445bb96a4e9cc082ca9276822a243e213207ca0 | |
| parent | 7978747fecf51f985fb9b35092b2a3fd412a9a50 (diff) | |
| download | emacs-f4e90db08baefabd5281d122d90c06cee71b2656.tar.gz emacs-f4e90db08baefabd5281d122d90c06cee71b2656.zip | |
* doc/lispref/display.texi (Invisible Text): Clarify point adjustment.
Fixes: debbugs:10072
| -rw-r--r-- | doc/lispref/ChangeLog | 68 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 24 |
2 files changed, 51 insertions, 41 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index a1c6472c3fa..3324b5dcfec 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,7 +1,11 @@ | |||
| 1 | 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * display.texi (Invisible Text): Clarify point adjustment (bug#10072). | ||
| 4 | |||
| 1 | 2011-11-20 Martin Rudalics <rudalics@gmx.at> | 5 | 2011-11-20 Martin Rudalics <rudalics@gmx.at> |
| 2 | 6 | ||
| 3 | * windows.texi (Resizing Windows, Splitting Windows): Remove | 7 | * windows.texi (Resizing Windows, Splitting Windows): |
| 4 | term "status" when talking about combination limits. | 8 | Remove term "status" when talking about combination limits. |
| 5 | 9 | ||
| 6 | 2011-11-20 Juanma Barranquero <lekktu@gmail.com> | 10 | 2011-11-20 Juanma Barranquero <lekktu@gmail.com> |
| 7 | 11 | ||
| @@ -12,8 +16,8 @@ | |||
| 12 | 16 | ||
| 13 | * windows.texi (Splitting Windows): Clarify role of window | 17 | * windows.texi (Splitting Windows): Clarify role of window |
| 14 | parameters in split-window. Shorten the example. | 18 | parameters in split-window. Shorten the example. |
| 15 | (Deleting Windows): Rewrite intro to handle internal windows. Fix | 19 | (Deleting Windows): Rewrite intro to handle internal windows. |
| 16 | delete-windows-on doc. | 20 | Fix delete-windows-on doc. |
| 17 | (Selecting Windows): Copyedits. | 21 | (Selecting Windows): Copyedits. |
| 18 | 22 | ||
| 19 | 2011-11-17 Martin Rudalics <rudalics@gmx.at> | 23 | 2011-11-17 Martin Rudalics <rudalics@gmx.at> |
| @@ -24,8 +28,8 @@ | |||
| 24 | 28 | ||
| 25 | 2011-11-16 Martin Rudalics <rudalics@gmx.at> | 29 | 2011-11-16 Martin Rudalics <rudalics@gmx.at> |
| 26 | 30 | ||
| 27 | * windows.texi (Resizing Windows, Splitting Windows): Rename | 31 | * windows.texi (Resizing Windows, Splitting Windows): |
| 28 | occurrences of window-nest to window-combination-limit. | 32 | Rename occurrences of window-nest to window-combination-limit. |
| 29 | 33 | ||
| 30 | 2011-11-14 Juanma Barranquero <lekktu@gmail.com> | 34 | 2011-11-14 Juanma Barranquero <lekktu@gmail.com> |
| 31 | 35 | ||
| @@ -33,8 +37,8 @@ | |||
| 33 | 37 | ||
| 34 | 2011-11-12 Martin Rudalics <rudalics@gmx.at> | 38 | 2011-11-12 Martin Rudalics <rudalics@gmx.at> |
| 35 | 39 | ||
| 36 | * windows.texi (Splitting Windows, Deleting Windows): Remove | 40 | * windows.texi (Splitting Windows, Deleting Windows): |
| 37 | references to splits status of windows. | 41 | Remove references to splits status of windows. |
| 38 | 42 | ||
| 39 | 2011-11-10 Glenn Morris <rgm@gnu.org> | 43 | 2011-11-10 Glenn Morris <rgm@gnu.org> |
| 40 | 44 | ||
| @@ -86,8 +90,8 @@ | |||
| 86 | (Windows and Frames): Various clarifications, e.g. non-live | 90 | (Windows and Frames): Various clarifications, e.g. non-live |
| 87 | windows also belong to frames. Fix window-list description. | 91 | windows also belong to frames. Fix window-list description. |
| 88 | Simplify window nesting example. | 92 | Simplify window nesting example. |
| 89 | (Splitting Windows, Window Configurations): Use | 93 | (Splitting Windows, Window Configurations): |
| 90 | split-window-below. | 94 | Use split-window-below. |
| 91 | 95 | ||
| 92 | 2011-11-04 Eli Zaretskii <eliz@gnu.org> | 96 | 2011-11-04 Eli Zaretskii <eliz@gnu.org> |
| 93 | 97 | ||
| @@ -137,8 +141,8 @@ | |||
| 137 | 141 | ||
| 138 | 2011-10-05 Chong Yidong <cyd@stupidchicken.com> | 142 | 2011-10-05 Chong Yidong <cyd@stupidchicken.com> |
| 139 | 143 | ||
| 140 | * display.texi (Low-Level Font, Face Attributes, Font Lookup): Fix | 144 | * display.texi (Low-Level Font, Face Attributes, Font Lookup): |
| 141 | Emacs manual xref (Bug#9675). | 145 | Fix Emacs manual xref (Bug#9675). |
| 142 | 146 | ||
| 143 | 2011-10-01 Chong Yidong <cyd@stupidchicken.com> | 147 | 2011-10-01 Chong Yidong <cyd@stupidchicken.com> |
| 144 | 148 | ||
| @@ -177,8 +181,8 @@ | |||
| 177 | * windows.texi (Window History): New node. Move text here from | 181 | * windows.texi (Window History): New node. Move text here from |
| 178 | Buffers and Windows. | 182 | Buffers and Windows. |
| 179 | (Switching Buffers): Rename from Displaying Buffers, since we | 183 | (Switching Buffers): Rename from Displaying Buffers, since we |
| 180 | don't document display-buffer here; callers changed. Document | 184 | don't document display-buffer here; callers changed. |
| 181 | FORCE-SAME-WINDOW arg to switch-to-buffer and | 185 | Document FORCE-SAME-WINDOW arg to switch-to-buffer and |
| 182 | switch-to-buffer-other-frame. Delete duplicate | 186 | switch-to-buffer-other-frame. Delete duplicate |
| 183 | replace-buffer-in-windows doc. | 187 | replace-buffer-in-windows doc. |
| 184 | (Choosing Window): Document display actions. | 188 | (Choosing Window): Document display actions. |
| @@ -209,10 +213,10 @@ | |||
| 209 | Provide examples. Describe window-nest and window-splits | 213 | Provide examples. Describe window-nest and window-splits |
| 210 | options. | 214 | options. |
| 211 | (Deleting Windows): Minor rewrite. | 215 | (Deleting Windows): Minor rewrite. |
| 212 | (Selecting Windows): Minor rewrite. Describe | 216 | (Selecting Windows): Minor rewrite. |
| 213 | frame-selected-window and set-frame-selected-window here. | 217 | Describe frame-selected-window and set-frame-selected-window here. |
| 214 | (Cyclic Window Ordering): Minor rewrite. Describe | 218 | (Cyclic Window Ordering): Minor rewrite. |
| 215 | window-list-1. | 219 | Describe window-list-1. |
| 216 | (Buffers and Windows): Rewrite. Explain a window's previous and | 220 | (Buffers and Windows): Rewrite. Explain a window's previous and |
| 217 | next buffers and the corresponding functions. | 221 | next buffers and the corresponding functions. |
| 218 | (Window Tree): Merge into Windows and Frames section. | 222 | (Window Tree): Merge into Windows and Frames section. |
| @@ -314,8 +318,8 @@ | |||
| 314 | 318 | ||
| 315 | * display.texi (Bidirectional Display): Document the pitfalls of | 319 | * display.texi (Bidirectional Display): Document the pitfalls of |
| 316 | concatenating strings with bidirectional content, with possible | 320 | concatenating strings with bidirectional content, with possible |
| 317 | solutions. Document bidi-string-mark-left-to-right. Mention | 321 | solutions. Document bidi-string-mark-left-to-right. |
| 318 | paragraph direction in modes that inherit from prog-mode. | 322 | Mention paragraph direction in modes that inherit from prog-mode. |
| 319 | Document use of `bidi-class' and `mirroring' properties as part of | 323 | Document use of `bidi-class' and `mirroring' properties as part of |
| 320 | reordering. | 324 | reordering. |
| 321 | 325 | ||
| @@ -371,8 +375,8 @@ | |||
| 371 | the next character, and doesn't affect longer sequences in | 375 | the next character, and doesn't affect longer sequences in |
| 372 | particular (bug#8935). | 376 | particular (bug#8935). |
| 373 | 377 | ||
| 374 | * debugging.texi (Using Debugger): Mention | 378 | * debugging.texi (Using Debugger): |
| 375 | @code{eval-expression-debug-on-error} (bug#8549). | 379 | Mention @code{eval-expression-debug-on-error} (bug#8549). |
| 376 | 380 | ||
| 377 | 2011-07-14 Eli Zaretskii <eliz@gnu.org> | 381 | 2011-07-14 Eli Zaretskii <eliz@gnu.org> |
| 378 | 382 | ||
| @@ -521,7 +525,7 @@ | |||
| 521 | 525 | ||
| 522 | 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org> | 526 | 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 523 | 527 | ||
| 524 | * processes.texi (Process Information): Renamed `process-alive-p' | 528 | * processes.texi (Process Information): Rename `process-alive-p' |
| 525 | to `process-live-p' for consistency with other `-live-p' functions. | 529 | to `process-live-p' for consistency with other `-live-p' functions. |
| 526 | 530 | ||
| 527 | 2011-06-03 Paul Eggert <eggert@cs.ucla.edu> | 531 | 2011-06-03 Paul Eggert <eggert@cs.ucla.edu> |
| @@ -538,8 +542,8 @@ | |||
| 538 | 542 | ||
| 539 | 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org> | 543 | 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 540 | 544 | ||
| 541 | * processes.texi (Process Information): Document | 545 | * processes.texi (Process Information): |
| 542 | `process-alive-p'. | 546 | Document `process-alive-p'. |
| 543 | 547 | ||
| 544 | 2011-05-29 Chong Yidong <cyd@stupidchicken.com> | 548 | 2011-05-29 Chong Yidong <cyd@stupidchicken.com> |
| 545 | 549 | ||
| @@ -1937,8 +1941,8 @@ | |||
| 1937 | 1941 | ||
| 1938 | 2009-05-09 Eli Zaretskii <eliz@gnu.org> | 1942 | 2009-05-09 Eli Zaretskii <eliz@gnu.org> |
| 1939 | 1943 | ||
| 1940 | * nonascii.texi (Default Coding Systems): Document | 1944 | * nonascii.texi (Default Coding Systems): |
| 1941 | find-auto-coding, set-auto-coding, and auto-coding-alist. | 1945 | Document find-auto-coding, set-auto-coding, and auto-coding-alist. |
| 1942 | Add indexing. | 1946 | Add indexing. |
| 1943 | (Lisp and Coding Systems): Add index entries. | 1947 | (Lisp and Coding Systems): Add index entries. |
| 1944 | 1948 | ||
| @@ -5169,8 +5173,8 @@ | |||
| 5169 | (Saving Buffers): Mention code and EOL conversions by file I/O | 5173 | (Saving Buffers): Mention code and EOL conversions by file I/O |
| 5170 | primitives and subroutines. | 5174 | primitives and subroutines. |
| 5171 | 5175 | ||
| 5172 | * nonascii.texi (Lisp and Coding Systems): Document | 5176 | * nonascii.texi (Lisp and Coding Systems): |
| 5173 | coding-system-eol-type. Add index entries for eol conversion. | 5177 | Document coding-system-eol-type. Add index entries for eol conversion. |
| 5174 | 5178 | ||
| 5175 | * display.texi (Defining Faces): Mention `mac', and add an xref to | 5179 | * display.texi (Defining Faces): Mention `mac', and add an xref to |
| 5176 | where window-system is described. | 5180 | where window-system is described. |
| @@ -9120,7 +9124,7 @@ | |||
| 9120 | 9124 | ||
| 9121 | * functions.texi (Defining Functions): Explain about redefining | 9125 | * functions.texi (Defining Functions): Explain about redefining |
| 9122 | primitives. | 9126 | primitives. |
| 9123 | (Function Safety): Renamed. Minor changes. | 9127 | (Function Safety): Rename. Minor changes. |
| 9124 | Comment out the detailed criteria for what is safe. | 9128 | Comment out the detailed criteria for what is safe. |
| 9125 | 9129 | ||
| 9126 | 2003-06-22 Andreas Schwab <schwab@suse.de> | 9130 | 2003-06-22 Andreas Schwab <schwab@suse.de> |
| @@ -9621,7 +9625,7 @@ | |||
| 9621 | 9625 | ||
| 9622 | * Makefile (infodir, prefix): New vars. | 9626 | * Makefile (infodir, prefix): New vars. |
| 9623 | (install): Use infodir. | 9627 | (install): Use infodir. |
| 9624 | (emacsinfodir): Deleted. | 9628 | (emacsinfodir): Delete. |
| 9625 | 9629 | ||
| 9626 | 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) | 9630 | 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu) |
| 9627 | 9631 | ||
| @@ -9632,7 +9636,7 @@ | |||
| 9632 | 9636 | ||
| 9633 | 1993-05-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) | 9637 | 1993-05-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu) |
| 9634 | 9638 | ||
| 9635 | * Makefile (dist): Changed to use Gzip instead of compress. | 9639 | * Makefile (dist): Change to use Gzip instead of compress. |
| 9636 | 9640 | ||
| 9637 | 1993-04-23 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) | 9641 | 1993-04-23 Eric S. Raymond (eric@mole.gnu.ai.mit.edu) |
| 9638 | 9642 | ||
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 39a81ecc6ad..9849420b1f5 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -870,15 +870,21 @@ ignore invisible newlines if @code{line-move-ignore-invisible} is | |||
| 870 | non-@code{nil} (the default), but only because they are explicitly | 870 | non-@code{nil} (the default), but only because they are explicitly |
| 871 | programmed to do so. | 871 | programmed to do so. |
| 872 | 872 | ||
| 873 | However, if a command ends with point inside or immediately before | 873 | However, if a command ends with point inside or at the boundary of invisible |
| 874 | invisible text, the main editing loop moves point further forward or | 874 | text, the main editing loop moves point to one of the two ends of the invisible |
| 875 | further backward (in the same direction that the command already moved | 875 | text. Which end to move to is chosen based on the following factors: make sure |
| 876 | it) until that condition is no longer true. Thus, if the command | 876 | that the overall movement of the command is still in the same direction, and |
| 877 | moved point back into an invisible range, Emacs moves point back to | 877 | prefer a position where an inserted char would not inherit the @code{invisible} |
| 878 | the beginning of that range, and then back one more character. If the | 878 | property. Additionally, if the text is not replaced by an ellipsis and the |
| 879 | command moved point forward into an invisible range, Emacs moves point | 879 | command only moved within the invisible text, then point is moved one extra |
| 880 | forward up to the first visible character that follows the invisible | 880 | character so as to try and reflect the command's movement by a visible movement |
| 881 | text. | 881 | of the cursor. |
| 882 | |||
| 883 | Thus, if the command moved point back to an invisible range (with the usual | ||
| 884 | stickiness), Emacs moves point back to the beginning of that range. If the | ||
| 885 | command moved point forward into an invisible range, Emacs moves point forward | ||
| 886 | to the first visible character that follows the invisible text and then forward | ||
| 887 | one more character. | ||
| 882 | 888 | ||
| 883 | Incremental search can make invisible overlays visible temporarily | 889 | Incremental search can make invisible overlays visible temporarily |
| 884 | and/or permanently when a match includes invisible text. To enable | 890 | and/or permanently when a match includes invisible text. To enable |