aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Moncayo2012-01-27 16:19:19 +0800
committerChong Yidong2012-01-27 16:19:19 +0800
commit2a90dfca8e7493d05768e3926eaeb295b8338734 (patch)
tree40e137c28f2e4a8d2252252cb9986fd8a38b9858
parent97c0d1accb67f1c2b9e3e98c5ce6789fa155a9a8 (diff)
downloademacs-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/ChangeLog10
-rw-r--r--doc/emacs/buffers.texi31
-rw-r--r--doc/emacs/text.texi10
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 @@
12012-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
12012-01-23 Chong Yidong <cyd@gnu.org> 112012-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.
90name using the minibuffer. Then it makes that buffer current, and 90name using the minibuffer. Then it makes that buffer current, and
91displays it in the currently-selected window. An empty input 91displays it in the currently-selected window. An empty input
92specifies the buffer that was current most recently among those not 92specifies the buffer that was current most recently among those not
93now displayed in any window. If you specify a buffer that does not 93now displayed in any window.
94exist, @kbd{C-x b} creates a new, empty buffer that is not visiting
95any 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
98history commands (@pxref{Minibuffer}). Note that @kbd{C-x b}, and 96history 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
103buffer name. @xref{Completion Exit}, for details. 101buffer 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
106notes. If you try to save it, Emacs asks for the file name to use. 104new, empty buffer that is not visiting any file, and selects it for
107The default value of the variable @code{major-mode} determines the new 105editing. The default value of the variable @code{major-mode}
108buffer's major mode; the default value is Fundamental mode. @xref{Major 106determines the new buffer's major mode; the default value is
109Modes}. 107Fundamental mode. @xref{Major Modes}. One reason to create a new
108buffer is to use it for making temporary notes. If you try to save
109it, 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
118of most recent selection in the current frame), while @kbd{C-x @key{LEFT}} 118order 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
120direction.
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
216Rename the current buffer by adding @samp{<@var{number}>} to the end. 217Rename 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}
218Scroll through buffer @var{buffer}. 219Scroll 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
256to make a different buffer.) 257to 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}
259can be used to copy text from one buffer to another. @xref{Accumulating 260can also be used to copy text from one buffer to another.
260Text}. 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
546newline as the end of a sentence; a period followed by just one space 546newline as the end of a sentence; a period followed by just one space
547indicates an abbreviation, not the end of a sentence. Accordingly, 547indicates an abbreviation, not the end of a sentence. Accordingly,
548the fill commands will not break a line after a period followed by 548the fill commands will not break a line after a period followed by
549just one space. If you change the variable 549just 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
551commands will break a line after a period followed by one space, and 551break a line after a period followed by one space, and put just one
552put just one space after each period. @xref{Sentences}, for other 552space after each period. @xref{Sentences}, for other effects and
553effects and possible drawbacks of this. 553possible 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