diff options
| author | Richard M. Stallman | 2005-02-03 07:30:48 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-02-03 07:30:48 +0000 |
| commit | 3a55fb34563ce929adb80f6730e3b2cba989db6d (patch) | |
| tree | ba82b20a98fdd6924657ae5881e27f8a0af7b46d | |
| parent | 511002e96270cc157d552db4f0c83073b5786602 (diff) | |
| download | emacs-3a55fb34563ce929adb80f6730e3b2cba989db6d.tar.gz emacs-3a55fb34563ce929adb80f6730e3b2cba989db6d.zip | |
(Sentences): Clarify.
(Paragraphs): Explain M-a and blank lines.
(Outline Mode): Clarify text and menu.
(Hard and Soft Newlines): Mention use-hard-newlines.
| -rw-r--r-- | man/text.texi | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/man/text.texi b/man/text.texi index a83e78cc211..8eaa6178a8d 100644 --- a/man/text.texi +++ b/man/text.texi | |||
| @@ -185,9 +185,9 @@ Kill back to the beginning of the sentence (@code{backward-kill-sentence}). | |||
| 185 | The commands @kbd{M-a} and @kbd{M-e} (@code{backward-sentence} and | 185 | The commands @kbd{M-a} and @kbd{M-e} (@code{backward-sentence} and |
| 186 | @code{forward-sentence}) move to the beginning and end of the current | 186 | @code{forward-sentence}) move to the beginning and end of the current |
| 187 | sentence, respectively. They were chosen to resemble @kbd{C-a} and | 187 | sentence, respectively. They were chosen to resemble @kbd{C-a} and |
| 188 | @kbd{C-e}, which move to the beginning and end of a line. Unlike them, | 188 | @kbd{C-e}, which move to the beginning and end of a line. Unlike |
| 189 | @kbd{M-a} and @kbd{M-e} if repeated or given numeric arguments move over | 189 | them, @kbd{M-a} and @kbd{M-e} move over successive sentences if |
| 190 | successive sentences. | 190 | repeated. |
| 191 | 191 | ||
| 192 | Moving backward over a sentence places point just before the first | 192 | Moving backward over a sentence places point just before the first |
| 193 | character of the sentence; moving forward places point right after the | 193 | character of the sentence; moving forward places point right after the |
| @@ -238,11 +238,10 @@ set @code{sentence-end} to this value: | |||
| 238 | @end example | 238 | @end example |
| 239 | 239 | ||
| 240 | @noindent | 240 | @noindent |
| 241 | You should also set the variable @code{sentence-end-double-space} to | 241 | This is what setting the variable @code{sentence-end-double-space} to |
| 242 | @code{nil} so that the fill commands expect and leave just one space at | 242 | @code{nil} automatically does. But note that this makes it impossible |
| 243 | the end of a sentence. Note that this makes it impossible to | 243 | to distinguish between periods that end sentences and those that |
| 244 | distinguish between periods that end sentences and those that indicate | 244 | indicate abbreviations. |
| 245 | abbreviations. | ||
| 246 | 245 | ||
| 247 | @node Paragraphs | 246 | @node Paragraphs |
| 248 | @section Paragraphs | 247 | @section Paragraphs |
| @@ -269,8 +268,8 @@ paragraph, while @kbd{M-@}} moves to the end of the current or next | |||
| 269 | paragraph. Blank lines and text-formatter command lines separate | 268 | paragraph. Blank lines and text-formatter command lines separate |
| 270 | paragraphs and are not considered part of any paragraph. In Indented | 269 | paragraphs and are not considered part of any paragraph. In Indented |
| 271 | Text mode, but not in Text mode, an indented line also starts a new | 270 | Text mode, but not in Text mode, an indented line also starts a new |
| 272 | paragraph. (If a paragraph is preceded by a blank line, these | 271 | paragraph. If there is a blank line before the paragraph, @kbd{M-@{} |
| 273 | commands treat that blank line as the beginning of the paragraph.) | 272 | moves to the blank line, because that is convenient in practice. |
| 274 | 273 | ||
| 275 | In major modes for programs, paragraphs begin and end only at blank | 274 | In major modes for programs, paragraphs begin and end only at blank |
| 276 | lines. This makes the paragraph commands continue to be useful even | 275 | lines. This makes the paragraph commands continue to be useful even |
| @@ -894,11 +893,11 @@ invisible so that you can see the outline structure. Type @kbd{M-x | |||
| 894 | outline-mode} to switch to Outline mode as the major mode of the current | 893 | outline-mode} to switch to Outline mode as the major mode of the current |
| 895 | buffer. | 894 | buffer. |
| 896 | 895 | ||
| 897 | When Outline mode makes a line invisible, the line does not appear on | 896 | When Outline mode makes a line invisible, the line does not appear |
| 898 | the screen. The screen appears exactly as if the invisible line were | 897 | on the screen. The screen appears exactly as if the invisible line |
| 899 | deleted, except that an ellipsis (three periods in a row) appears at the | 898 | were deleted, except that an ellipsis (three periods in a row) appears |
| 900 | end of the previous visible line (only one ellipsis no matter how many | 899 | at the end of the previous visible line. (Multiple consecutive |
| 901 | invisible lines follow). | 900 | invisible lines produce just one ellipsis.) |
| 902 | 901 | ||
| 903 | Editing commands that operate on lines, such as @kbd{C-n} and | 902 | Editing commands that operate on lines, such as @kbd{C-n} and |
| 904 | @kbd{C-p}, treat the text of the invisible line as part of the previous | 903 | @kbd{C-p}, treat the text of the invisible line as part of the previous |
| @@ -929,7 +928,7 @@ the hook @code{outline-mode-hook} (@pxref{Hooks}). | |||
| 929 | outlines. | 928 | outlines. |
| 930 | * Visibility: Outline Visibility. Commands to control what is visible. | 929 | * Visibility: Outline Visibility. Commands to control what is visible. |
| 931 | * Views: Outline Views. Outlines and multiple views. | 930 | * Views: Outline Views. Outlines and multiple views. |
| 932 | * Foldout:: Folding editing. | 931 | * Foldout:: Folding means zooming in on outlines. |
| 933 | @end menu | 932 | @end menu |
| 934 | 933 | ||
| 935 | @node Outline Format | 934 | @node Outline Format |
| @@ -1900,8 +1899,11 @@ for more information about text properties. | |||
| 1900 | @cindex soft newline | 1899 | @cindex soft newline |
| 1901 | @cindex newlines, hard and soft | 1900 | @cindex newlines, hard and soft |
| 1902 | 1901 | ||
| 1902 | @cindex use-hard-newlines | ||
| 1903 | In formatted text, Emacs distinguishes between two different kinds of | 1903 | In formatted text, Emacs distinguishes between two different kinds of |
| 1904 | newlines, @dfn{hard} newlines and @dfn{soft} newlines. | 1904 | newlines, @dfn{hard} newlines and @dfn{soft} newlines. (You can enable |
| 1905 | or disable this feature separately in any buffer with the command | ||
| 1906 | @code{use-hard-newlines}.) | ||
| 1905 | 1907 | ||
| 1906 | Hard newlines are used to separate paragraphs, or items in a list, or | 1908 | Hard newlines are used to separate paragraphs, or items in a list, or |
| 1907 | anywhere that there should always be a line break regardless of the | 1909 | anywhere that there should always be a line break regardless of the |