aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-02-16 10:05:39 +0000
committerRichard M. Stallman2005-02-16 10:05:39 +0000
commit66375f064c83ab0fecd2c52e3157d871b32cb4f0 (patch)
treeba5afc016d54d415655f447391aaac1fa955dbd7
parent0bbb35f9b3347883be33006f7044e46e79324142 (diff)
downloademacs-66375f064c83ab0fecd2c52e3157d871b32cb4f0.tar.gz
emacs-66375f064c83ab0fecd2c52e3157d871b32cb4f0.zip
(Indentation): Clarifications.
-rw-r--r--man/indent.texi22
1 files changed, 9 insertions, 13 deletions
diff --git a/man/indent.texi b/man/indent.texi
index ab640e76462..48a54747714 100644
--- a/man/indent.texi
+++ b/man/indent.texi
@@ -16,7 +16,7 @@ Indent the current line ``appropriately'' in a mode-dependent fashion.
16Perform @key{RET} followed by @key{TAB} (@code{newline-and-indent}). 16Perform @key{RET} followed by @key{TAB} (@code{newline-and-indent}).
17@item M-^ 17@item M-^
18Merge the previous and the current line (@code{delete-indentation}). 18Merge the previous and the current line (@code{delete-indentation}).
19This would cancel out the effect of @kbd{C-j}. 19This would cancel the effect of a preceding @kbd{C-j}.
20@item C-M-o 20@item C-M-o
21Split the current line at point; text on the line after point becomes a 21Split the current line at point; text on the line after point becomes a
22new line indented to the same column where point is located 22new line indented to the same column where point is located
@@ -25,9 +25,9 @@ new line indented to the same column where point is located
25Move (forward or back) to the first nonblank character on the current 25Move (forward or back) to the first nonblank character on the current
26line (@code{back-to-indentation}). 26line (@code{back-to-indentation}).
27@item C-M-\ 27@item C-M-\
28Indent several lines to the same column (@code{indent-region}). 28Indent lines in the region to the same column (@code{indent-region}).
29@item C-x @key{TAB} 29@item C-x @key{TAB}
30Shift a block of lines rigidly right or left (@code{indent-rigidly}). 30Shift lines in the region rigidly right or left (@code{indent-rigidly}).
31@item M-i 31@item M-i
32Indent from point to the next prespecified tab stop column 32Indent from point to the next prespecified tab stop column
33(@code{tab-to-tab-stop}). 33(@code{tab-to-tab-stop}).
@@ -47,11 +47,11 @@ to the next display tab stop position, and the default width of a tab
47stop is eight. @xref{Display Custom}, for more details. 47stop is eight. @xref{Display Custom}, for more details.
48 48
49@item 49@item
50Advance to the next tab stop. You can set tab stops at your choice of 50Insert whitespace up to the next tab stop. You can set tab stops at
51column positions, then type @kbd{M-i} to advance to the next tab stop. 51your choice of column positions, then type @kbd{M-i} to advance to the
52The default is to have tab stops every eight columns, which means by 52next tab stop. The default tab stop settings have a tab stop every
53default @kbd{M-i} inserts a tab character. To set the tab stops, use 53eight columns, which means by default @kbd{M-i} inserts a tab
54@kbd{M-x edit-tab-stops}. 54character. To set the tab stops, use @kbd{M-x edit-tab-stops}.
55 55
56@item 56@item
57Align a line with the previous line. More precisely, the command 57Align a line with the previous line. More precisely, the command
@@ -72,15 +72,11 @@ of the preceding lines. No matter where in the line you are when you
72type @key{TAB}, it aligns the line as a whole. 72type @key{TAB}, it aligns the line as a whole.
73@end enumerate 73@end enumerate
74 74
75 Normally, all of the above methods insert an optimal mix of tabs and 75 Normally, most of the above methods insert an optimal mix of tabs and
76spaces to align to the desired column. @xref{Just Spaces}, for how to 76spaces to align to the desired column. @xref{Just Spaces}, for how to
77disable use of tabs. However, @kbd{C-q @key{TAB}} always inserts a 77disable use of tabs. However, @kbd{C-q @key{TAB}} always inserts a
78tab, even when tabs are disabled for the indentation commands. 78tab, even when tabs are disabled for the indentation commands.
79 79
80@c In Text mode, @key{TAB} runs the command @code{tab-to-tab-stop}, which
81@c indents to the next tab stop column. You can set the tab stops with
82@c @kbd{M-x edit-tab-stops}.
83
84@menu 80@menu
85* Indentation Commands:: Various commands and techniques for indentation. 81* Indentation Commands:: Various commands and techniques for indentation.
86* Tab Stops:: You can set arbitrary "tab stops" and then 82* Tab Stops:: You can set arbitrary "tab stops" and then