aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2014-01-27 21:16:13 -0500
committerGlenn Morris2014-01-27 21:16:13 -0500
commite1e9d7cc73d41299bbf192674e8ac2d1dda2458b (patch)
treeeb07f6f43e64a70540b12ceaf4819f893bff1ea6
parente3bd7eed8cac658aae9f6f904eec23bf3482d4bb (diff)
downloademacs-e1e9d7cc73d41299bbf192674e8ac2d1dda2458b.tar.gz
emacs-e1e9d7cc73d41299bbf192674e8ac2d1dda2458b.zip
* doc/emacs/indent.texi (Tab Stops): Updates for new tab-stop behavior.
* etc/NEWS: Related markup.
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/indent.texi19
-rw-r--r--etc/NEWS1
3 files changed, 17 insertions, 7 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index bac170eaf3a..ba6430c4826 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,7 @@
12014-01-28 Glenn Morris <rgm@gnu.org>
2
3 * indent.texi (Tab Stops): Updates for new tab-stop behavior.
4
12014-01-27 Glenn Morris <rgm@gnu.org> 52014-01-27 Glenn Morris <rgm@gnu.org>
2 6
3 * dired.texi (Misc Dired Features): Copyedits for hide-details. 7 * dired.texi (Misc Dired Features): Copyedits for hide-details.
diff --git a/doc/emacs/indent.texi b/doc/emacs/indent.texi
index e0c269ad575..f5543cc49b0 100644
--- a/doc/emacs/indent.texi
+++ b/doc/emacs/indent.texi
@@ -157,10 +157,12 @@ C-u -999 C-x @key{TAB}
157 Emacs defines certain column numbers to be @dfn{tab stops}. These 157 Emacs defines certain column numbers to be @dfn{tab stops}. These
158are used as stopping points by @key{TAB} when inserting whitespace in 158are used as stopping points by @key{TAB} when inserting whitespace in
159Text mode and related modes (@pxref{Indentation}), and by commands 159Text mode and related modes (@pxref{Indentation}), and by commands
160like @kbd{M-i} (@pxref{Indentation Commands}). By default, tab stops 160like @kbd{M-i} (@pxref{Indentation Commands}). The variable
161are located every 8 columns. These positions are stored in the 161@code{tab-stop-list} controls these positions. The default value
162variable @code{tab-stop-list}, whose value is a list of column numbers 162is @code{nil}, which means a tab stop every 8 columns. The value
163in increasing order. 163can also be a list of column numbers (in increasing order) at which to
164place tab stops. Emacs extends the list forever by repeating the
165difference between the last and next-to-last elements.
164 166
165@findex edit-tab-stops 167@findex edit-tab-stops
166@kindex C-c C-c @r{(Edit Tab Stops)} 168@kindex C-c C-c @r{(Edit Tab Stops)}
@@ -178,12 +180,15 @@ To install changes, type C-c C-c
178 180
179@noindent 181@noindent
180The first line contains a colon at each tab stop. The numbers on the 182The first line contains a colon at each tab stop. The numbers on the
181next two lines are present just to indicate where the colons are. It 183next two lines are present just to indicate where the colons are.
182is implicitly extended to infinity by repeating the last step. 184If the value @code{tab-stop-list} is @code{nil}, as it is by default,
185no colons are displayed initially.
183 186
184 You can edit this buffer to specify different tab stops by placing 187 You can edit this buffer to specify different tab stops by placing
185colons on the desired columns. The buffer uses Overwrite mode 188colons on the desired columns. The buffer uses Overwrite mode
186(@pxref{Minor Modes}). When you are done, type @kbd{C-c C-c} to make 189(@pxref{Minor Modes}). Remember that Emacs will extend the list of
190tab stops forever by repeating the difference between the last two
191explicit stops that you place. When you are done, type @kbd{C-c C-c} to make
187the new tab stops take effect. Normally, the new tab stop settings 192the new tab stops take effect. Normally, the new tab stop settings
188apply to all buffers. However, if you have made the 193apply to all buffers. However, if you have made the
189@code{tab-stop-list} variable local to the buffer where you called 194@code{tab-stop-list} variable local to the buffer where you called
diff --git a/etc/NEWS b/etc/NEWS
index 9924722c841..3a08223e269 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -268,6 +268,7 @@ normal editing behavior.
268 268
269*** `electric-indent-mode' is enabled by default. 269*** `electric-indent-mode' is enabled by default.
270 270
271+++
271*** `tab-stop-list' is now implicitly extended to infinity by repeating 272*** `tab-stop-list' is now implicitly extended to infinity by repeating
272the last step. Its default value is changed to nil, which means a tab 273the last step. Its default value is changed to nil, which means a tab
273stop every `tab-width' columns. 274stop every `tab-width' columns.