@c This is part of the Emacs manual.
-@c Copyright (C) 1985, 86, 87, 93, 94, 95, 1997, 2004 Free Software Foundation, Inc.
+@c Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 2001, 2002,
+@c 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
@c See file emacs.texi for copying conditions.
@node Indentation, Text, Major Modes, Top
@chapter Indentation
A tab character is displayed as a stretch of whitespace which extends
to the next display tab stop position, and the default width of a tab
-stop is eight. @xref{Display Custom}, for more details.
+stop is eight. @xref{Text Display}, for more details.
@item
Insert whitespace up to the next tab stop. You can set tab stops at
@kindex M-^
@findex delete-indentation
To join two lines cleanly, use the @kbd{M-^}
-(@code{delete-indentation}) command. It deletes the indentation at the
-front of the current line, and the line boundary as well, replacing them
-with a single space. As a special case (useful for Lisp code) the
-single space is omitted if the characters to be joined are consecutive
-open parentheses or closing parentheses, or if the junction follows
-another newline. To delete just the indentation of a line, go to the
-beginning of the line and use @kbd{M-\}
+(@code{delete-indentation}) command. It deletes the indentation at
+the front of the current line, and the line boundary as well,
+replacing them with a single space. As a special case (useful for
+Lisp code) the single space is omitted if the characters to be joined
+are consecutive open parentheses or closing parentheses, or if the
+junction follows another newline. To delete just the indentation of a
+line, go to the beginning of the line and use @kbd{M-\}
(@code{delete-horizontal-space}), which deletes all spaces and tabs
around the cursor.
that column. @kbd{C-x @key{TAB}} (@code{indent-rigidly}) moves all of
the lines in the region right by its argument (left, for negative
arguments). The whole group of lines moves rigidly sideways, which is
-how the command gets its name.@refill
+how the command gets its name.
@cindex remove indentation
- If you want to remove all indentation from all of the line in the
-region, invoke @kbd{C-x @key{TAB}} with a large negative argument,
-such as -1000.
+ To remove all indentation from all of the lines in the region,
+invoke @kbd{C-x @key{TAB}} with a large negative argument, such as
+-1000.
@findex indent-relative
@kbd{M-x indent-relative} indents at point based on the previous line
An indentation point is the end of a sequence of whitespace or the end of
the line. If point is farther right than any indentation point in the
previous line, @code{indent-relative} runs @code{tab-to-tab-stop}
-@ifinfo
+@ifnottex
(@pxref{Tab Stops}),
-@end ifinfo
+@end ifnottex
@iftex
(see next section),
@end iftex
are present just to help you see where the colons are and know what to do.
Note that the tab stops that control @code{tab-to-tab-stop} have nothing
-to do with displaying tab characters in the buffer. @xref{Display Custom},
+to do with displaying tab characters in the buffer. @xref{Text Display},
for more information on that.
@node Just Spaces,, Tab Stops, Indentation