diff options
| author | Dani Moncayo | 2012-01-27 16:19:19 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-01-27 16:19:19 +0800 |
| commit | 2a90dfca8e7493d05768e3926eaeb295b8338734 (patch) | |
| tree | 40e137c28f2e4a8d2252252cb9986fd8a38b9858 | |
| parent | 97c0d1accb67f1c2b9e3e98c5ce6789fa155a9a8 (diff) | |
| download | emacs-2a90dfca8e7493d05768e3926eaeb295b8338734.tar.gz emacs-2a90dfca8e7493d05768e3926eaeb295b8338734.zip | |
Doc fixes for buffers.texi and text.texi in Emacs manual.
* doc/emacs/buffers.texi (Select Buffer): Clarify explanation of switching
to new buffers. Fix description of next-buffer and
previous-buffer (Bug#10334).
(Misc Buffer): Add xref to View Mode.
* doc/emacs/text.texi (Fill Commands): Fix description of
sentence-end-double-space.
| -rw-r--r-- | doc/emacs/ChangeLog | 10 | ||||
| -rw-r--r-- | doc/emacs/buffers.texi | 31 | ||||
| -rw-r--r-- | doc/emacs/text.texi | 10 |
3 files changed, 31 insertions, 20 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 9aa4899e591..5c56720a40e 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2012-01-27 Dani Moncayo <dmoncayo@gmail.com> | ||
| 2 | |||
| 3 | * buffers.texi (Select Buffer): Clarify explanation of switching | ||
| 4 | to new buffers. Fix description of next-buffer and | ||
| 5 | previous-buffer (Bug#10334). | ||
| 6 | (Misc Buffer): Add xref to View Mode. | ||
| 7 | |||
| 8 | * text.texi (Fill Commands): Fix description of | ||
| 9 | sentence-end-double-space. | ||
| 10 | |||
| 1 | 2012-01-23 Chong Yidong <cyd@gnu.org> | 11 | 2012-01-23 Chong Yidong <cyd@gnu.org> |
| 2 | 12 | ||
| 3 | * anti.texi (Antinews): Add Emacs 23 antinews. | 13 | * anti.texi (Antinews): Add Emacs 23 antinews. |
diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi index fb71e04c184..0b471ca5027 100644 --- a/doc/emacs/buffers.texi +++ b/doc/emacs/buffers.texi | |||
| @@ -90,9 +90,7 @@ selected buffer other than the current buffer. | |||
| 90 | name using the minibuffer. Then it makes that buffer current, and | 90 | name using the minibuffer. Then it makes that buffer current, and |
| 91 | displays it in the currently-selected window. An empty input | 91 | displays it in the currently-selected window. An empty input |
| 92 | specifies the buffer that was current most recently among those not | 92 | specifies the buffer that was current most recently among those not |
| 93 | now displayed in any window. If you specify a buffer that does not | 93 | now displayed in any window. |
| 94 | exist, @kbd{C-x b} creates a new, empty buffer that is not visiting | ||
| 95 | any file, and selects it for editing. | ||
| 96 | 94 | ||
| 97 | While entering the buffer name, you can use the usual completion and | 95 | While entering the buffer name, you can use the usual completion and |
| 98 | history commands (@pxref{Minibuffer}). Note that @kbd{C-x b}, and | 96 | history commands (@pxref{Minibuffer}). Note that @kbd{C-x b}, and |
| @@ -102,21 +100,24 @@ completing up to a nonexistent buffer name, Emacs prints | |||
| 102 | @samp{[Confirm]} and you must type a second @key{RET} to submit that | 100 | @samp{[Confirm]} and you must type a second @key{RET} to submit that |
| 103 | buffer name. @xref{Completion Exit}, for details. | 101 | buffer name. @xref{Completion Exit}, for details. |
| 104 | 102 | ||
| 105 | One reason to create a new buffer is to use it for making temporary | 103 | If you specify a buffer that does not exist, @kbd{C-x b} creates a |
| 106 | notes. If you try to save it, Emacs asks for the file name to use. | 104 | new, empty buffer that is not visiting any file, and selects it for |
| 107 | The default value of the variable @code{major-mode} determines the new | 105 | editing. The default value of the variable @code{major-mode} |
| 108 | buffer's major mode; the default value is Fundamental mode. @xref{Major | 106 | determines the new buffer's major mode; the default value is |
| 109 | Modes}. | 107 | Fundamental mode. @xref{Major Modes}. One reason to create a new |
| 108 | buffer is to use it for making temporary notes. If you try to save | ||
| 109 | it, Emacs asks for the file name to use. | ||
| 110 | 110 | ||
| 111 | @kindex C-x @key{LEFT} | 111 | @kindex C-x @key{LEFT} |
| 112 | @kindex C-x @key{RIGHT} | 112 | @kindex C-x @key{RIGHT} |
| 113 | @findex next-buffer | 113 | @findex next-buffer |
| 114 | @findex previous-buffer | 114 | @findex previous-buffer |
| 115 | For conveniently switching between a few buffers, use the commands | 115 | For conveniently switching between a few buffers, use the commands |
| 116 | @kbd{C-x @key{LEFT}} and @kbd{C-x @key{RIGHT}}. @kbd{C-x @key{RIGHT}} | 116 | @kbd{C-x @key{LEFT}} and @kbd{C-x @key{RIGHT}}. @kbd{C-x @key{LEFT}} |
| 117 | (@code{previous-buffer}) selects the previous buffer (following the order | 117 | (@code{previous-buffer}) selects the previous buffer (following the |
| 118 | of most recent selection in the current frame), while @kbd{C-x @key{LEFT}} | 118 | order of most recent selection in the current frame), while @kbd{C-x |
| 119 | (@code{next-buffer}) moves through buffers in the reverse direction. | 119 | @key{RIGHT}} (@code{next-buffer}) moves through buffers in the reverse |
| 120 | direction. | ||
| 120 | 121 | ||
| 121 | @kindex C-x 4 b | 122 | @kindex C-x 4 b |
| 122 | @findex switch-to-buffer-other-window | 123 | @findex switch-to-buffer-other-window |
| @@ -215,7 +216,7 @@ Change the name of the current buffer. | |||
| 215 | @item M-x rename-uniquely | 216 | @item M-x rename-uniquely |
| 216 | Rename the current buffer by adding @samp{<@var{number}>} to the end. | 217 | Rename the current buffer by adding @samp{<@var{number}>} to the end. |
| 217 | @item M-x view-buffer @key{RET} @var{buffer} @key{RET} | 218 | @item M-x view-buffer @key{RET} @var{buffer} @key{RET} |
| 218 | Scroll through buffer @var{buffer}. | 219 | Scroll through buffer @var{buffer}. @xref{View Mode}. |
| 219 | @end table | 220 | @end table |
| 220 | 221 | ||
| 221 | @kindex C-x C-q | 222 | @kindex C-x C-q |
| @@ -256,8 +257,8 @@ switch to some other buffer before using the command, in order for it | |||
| 256 | to make a different buffer.) | 257 | to make a different buffer.) |
| 257 | 258 | ||
| 258 | The commands @kbd{M-x append-to-buffer} and @kbd{M-x insert-buffer} | 259 | The commands @kbd{M-x append-to-buffer} and @kbd{M-x insert-buffer} |
| 259 | can be used to copy text from one buffer to another. @xref{Accumulating | 260 | can also be used to copy text from one buffer to another. |
| 260 | Text}. | 261 | @xref{Accumulating Text}. |
| 261 | 262 | ||
| 262 | @node Kill Buffer | 263 | @node Kill Buffer |
| 263 | @section Killing Buffers | 264 | @section Killing Buffers |
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index ccc546fb0a1..591ca80f27c 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi | |||
| @@ -546,11 +546,11 @@ made by Text mode and is available only in that and related modes | |||
| 546 | newline as the end of a sentence; a period followed by just one space | 546 | newline as the end of a sentence; a period followed by just one space |
| 547 | indicates an abbreviation, not the end of a sentence. Accordingly, | 547 | indicates an abbreviation, not the end of a sentence. Accordingly, |
| 548 | the fill commands will not break a line after a period followed by | 548 | the fill commands will not break a line after a period followed by |
| 549 | just one space. If you change the variable | 549 | just one space. If you set the variable |
| 550 | @code{sentence-end-double-space} to a non-@code{nil} value, the fill | 550 | @code{sentence-end-double-space} to @code{nil}, the fill commands will |
| 551 | commands will break a line after a period followed by one space, and | 551 | break a line after a period followed by one space, and put just one |
| 552 | put just one space after each period. @xref{Sentences}, for other | 552 | space after each period. @xref{Sentences}, for other effects and |
| 553 | effects and possible drawbacks of this. | 553 | possible drawbacks of this. |
| 554 | 554 | ||
| 555 | @vindex colon-double-space | 555 | @vindex colon-double-space |
| 556 | If the variable @code{colon-double-space} is non-@code{nil}, the | 556 | If the variable @code{colon-double-space} is non-@code{nil}, the |