diff options
| author | Eli Zaretskii | 2007-09-13 08:08:58 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2007-09-13 08:08:58 +0000 |
| commit | 1ece6cdb703927f207ab3bae7ccf3c3313bfc9b0 (patch) | |
| tree | e72498b57296ba9ae3264fcd3ff249f3f977d82b | |
| parent | f6e2813ca9db94fda17e7629ff8ae3a02d9164ad (diff) | |
| download | emacs-1ece6cdb703927f207ab3bae7ccf3c3313bfc9b0.tar.gz emacs-1ece6cdb703927f207ab3bae7ccf3c3313bfc9b0.zip | |
Fix typos in file header commentary.
| -rw-r--r-- | lisp/follow.el | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/lisp/follow.el b/lisp/follow.el index b2b8a76419d..e28edae846e 100644 --- a/lisp/follow.el +++ b/lisp/follow.el | |||
| @@ -35,7 +35,7 @@ | |||
| 35 | ;; The feeling of a "virtual window" has been accomplished by the use | 35 | ;; The feeling of a "virtual window" has been accomplished by the use |
| 36 | ;; of two major techniques: | 36 | ;; of two major techniques: |
| 37 | ;; | 37 | ;; |
| 38 | ;; * The windows always displays adjacent sections of the buffer. | 38 | ;; * The windows always display adjacent sections of the buffer. |
| 39 | ;; This means that whenever one window is moved, all the | 39 | ;; This means that whenever one window is moved, all the |
| 40 | ;; others will follow. (Hence the name Follow Mode.) | 40 | ;; others will follow. (Hence the name Follow Mode.) |
| 41 | ;; | 41 | ;; |
| @@ -46,8 +46,8 @@ | |||
| 46 | ;; | 46 | ;; |
| 47 | ;; Follow mode comes to its prime when a large screen and two | 47 | ;; Follow mode comes to its prime when a large screen and two |
| 48 | ;; side-by-side window are used. The user can, with the help of Follow | 48 | ;; side-by-side window are used. The user can, with the help of Follow |
| 49 | ;; mode, use two full-height windows as though they would have been | 49 | ;; mode, use two full-height windows as though they are one. |
| 50 | ;; one. Imagine yourself editing a large function, or section of text, | 50 | ;; Imagine yourself editing a large function, or section of text, |
| 51 | ;; and being able to use 144 lines instead of the normal 72... (your | 51 | ;; and being able to use 144 lines instead of the normal 72... (your |
| 52 | ;; mileage may vary). | 52 | ;; mileage may vary). |
| 53 | 53 | ||
| @@ -77,7 +77,7 @@ | |||
| 77 | ;; | 77 | ;; |
| 78 | ;; As you can see, the right-hand window starts at line 73, the line | 78 | ;; As you can see, the right-hand window starts at line 73, the line |
| 79 | ;; immediately below the end of the left-hand window. As long as | 79 | ;; immediately below the end of the left-hand window. As long as |
| 80 | ;; `follow-mode' is active, the two windows will follow eachother! | 80 | ;; `follow-mode' is active, the two windows will follow each other! |
| 81 | ;; | 81 | ;; |
| 82 | ;; * Play around and enjoy! Scroll one window and watch the other. | 82 | ;; * Play around and enjoy! Scroll one window and watch the other. |
| 83 | ;; Jump to the beginning or end. Press `Cursor down' at the last | 83 | ;; Jump to the beginning or end. Press `Cursor down' at the last |
| @@ -101,10 +101,9 @@ | |||
| 101 | ;; (global-set-key [f7] 'follow-delete-other-windows-and-split) | 101 | ;; (global-set-key [f7] 'follow-delete-other-windows-and-split) |
| 102 | 102 | ||
| 103 | 103 | ||
| 104 | ;; There exists two system variables that controls the appearence of | 104 | ;; There exist two system variables that control the appearence of |
| 105 | ;; lines that are wider than the window containing them. The default | 105 | ;; lines wider than the window containing them. The default is to |
| 106 | ;; is to truncate long lines whenever a window isn't as wide as the | 106 | ;; truncate long lines whenever a window isn't as wide as the frame. |
| 107 | ;; frame. | ||
| 108 | ;; | 107 | ;; |
| 109 | ;; To make sure lines are never truncated, please place the following | 108 | ;; To make sure lines are never truncated, please place the following |
| 110 | ;; lines in your init file: | 109 | ;; lines in your init file: |
| @@ -123,8 +122,8 @@ | |||
| 123 | 122 | ||
| 124 | 123 | ||
| 125 | ;; The correct way to cofigurate Follow mode, or any other mode for | 124 | ;; The correct way to cofigurate Follow mode, or any other mode for |
| 126 | ;; that matter, is to create one (or more) function that does | 125 | ;; that matter, is to create one or more functions that do |
| 127 | ;; whatever you would like to do. The function is then added to | 126 | ;; whatever you would like to do. These functions are then added to |
| 128 | ;; a hook. | 127 | ;; a hook. |
| 129 | ;; | 128 | ;; |
| 130 | ;; When `Follow' mode is activated, functions stored in the hook | 129 | ;; When `Follow' mode is activated, functions stored in the hook |
| @@ -144,8 +143,8 @@ | |||
| 144 | 143 | ||
| 145 | ;; Usage: | 144 | ;; Usage: |
| 146 | ;; | 145 | ;; |
| 147 | ;; To activate issue the command "M-x follow-mode" | 146 | ;; To activate, issue the command "M-x follow-mode" |
| 148 | ;; and press return. To deactivate, do it again. | 147 | ;; and press Return. To deactivate, do it again. |
| 149 | ;; | 148 | ;; |
| 150 | ;; The following is a list of commands useful when follow-mode is active. | 149 | ;; The following is a list of commands useful when follow-mode is active. |
| 151 | ;; | 150 | ;; |
| @@ -156,10 +155,10 @@ | |||
| 156 | ;; Like `follow-scroll-up', but in the other direction. | 155 | ;; Like `follow-scroll-up', but in the other direction. |
| 157 | ;; | 156 | ;; |
| 158 | ;; follow-delete-other-windows-and-split C-c . 1 | 157 | ;; follow-delete-other-windows-and-split C-c . 1 |
| 159 | ;; Maximise the visible area of the current buffer, | 158 | ;; Maximize the visible area of the current buffer, |
| 160 | ;; and enter Follow Mode. This is a very convenient | 159 | ;; and enter Follow Mode. This is a very convenient |
| 161 | ;; way to start Follow Mode, hence it is recomended | 160 | ;; way to start Follow Mode, hence we recomend that |
| 162 | ;; that this command is added to the global keymap. | 161 | ;; this command be added to the global keymap. |
| 163 | ;; | 162 | ;; |
| 164 | ;; follow-recenter C-c . C-l | 163 | ;; follow-recenter C-c . C-l |
| 165 | ;; Place the point in the center of the middle window, | 164 | ;; Place the point in the center of the middle window, |
| @@ -170,7 +169,7 @@ | |||
| 170 | ;; in this frame. | 169 | ;; in this frame. |
| 171 | ;; | 170 | ;; |
| 172 | ;; follow-switch-to-buffer-all C-c . C-b | 171 | ;; follow-switch-to-buffer-all C-c . C-b |
| 173 | ;; Switch buffer in all windows in the active frame. | 172 | ;; Switch buffer in all windows in the selected frame. |
| 174 | ;; | 173 | ;; |
| 175 | ;; follow-switch-to-current-buffer-all | 174 | ;; follow-switch-to-current-buffer-all |
| 176 | ;; Show the current buffer in all windows on the current | 175 | ;; Show the current buffer in all windows on the current |
| @@ -207,7 +206,7 @@ | |||
| 207 | ;; | 206 | ;; |
| 208 | ;; In an ideal world, follow mode would have been implemented in the | 207 | ;; In an ideal world, follow mode would have been implemented in the |
| 209 | ;; kernel of the display routines, making sure that the windows (using | 208 | ;; kernel of the display routines, making sure that the windows (using |
| 210 | ;; follow mode) ALWAYS are aligned. On planet earth, however, we must | 209 | ;; follow mode) ALWAYS are aligned. On planet Earth, however, we must |
| 211 | ;; accept a solution where we ALMOST ALWAYS can make sure that the | 210 | ;; accept a solution where we ALMOST ALWAYS can make sure that the |
| 212 | ;; windows are aligned. | 211 | ;; windows are aligned. |
| 213 | ;; | 212 | ;; |