diff options
| author | Richard M. Stallman | 2005-02-16 10:05:39 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-02-16 10:05:39 +0000 |
| commit | 66375f064c83ab0fecd2c52e3157d871b32cb4f0 (patch) | |
| tree | ba5afc016d54d415655f447391aaac1fa955dbd7 | |
| parent | 0bbb35f9b3347883be33006f7044e46e79324142 (diff) | |
| download | emacs-66375f064c83ab0fecd2c52e3157d871b32cb4f0.tar.gz emacs-66375f064c83ab0fecd2c52e3157d871b32cb4f0.zip | |
(Indentation): Clarifications.
| -rw-r--r-- | man/indent.texi | 22 |
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. | |||
| 16 | Perform @key{RET} followed by @key{TAB} (@code{newline-and-indent}). | 16 | Perform @key{RET} followed by @key{TAB} (@code{newline-and-indent}). |
| 17 | @item M-^ | 17 | @item M-^ |
| 18 | Merge the previous and the current line (@code{delete-indentation}). | 18 | Merge the previous and the current line (@code{delete-indentation}). |
| 19 | This would cancel out the effect of @kbd{C-j}. | 19 | This would cancel the effect of a preceding @kbd{C-j}. |
| 20 | @item C-M-o | 20 | @item C-M-o |
| 21 | Split the current line at point; text on the line after point becomes a | 21 | Split the current line at point; text on the line after point becomes a |
| 22 | new line indented to the same column where point is located | 22 | new 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 | |||
| 25 | Move (forward or back) to the first nonblank character on the current | 25 | Move (forward or back) to the first nonblank character on the current |
| 26 | line (@code{back-to-indentation}). | 26 | line (@code{back-to-indentation}). |
| 27 | @item C-M-\ | 27 | @item C-M-\ |
| 28 | Indent several lines to the same column (@code{indent-region}). | 28 | Indent lines in the region to the same column (@code{indent-region}). |
| 29 | @item C-x @key{TAB} | 29 | @item C-x @key{TAB} |
| 30 | Shift a block of lines rigidly right or left (@code{indent-rigidly}). | 30 | Shift lines in the region rigidly right or left (@code{indent-rigidly}). |
| 31 | @item M-i | 31 | @item M-i |
| 32 | Indent from point to the next prespecified tab stop column | 32 | Indent 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 | |||
| 47 | stop is eight. @xref{Display Custom}, for more details. | 47 | stop is eight. @xref{Display Custom}, for more details. |
| 48 | 48 | ||
| 49 | @item | 49 | @item |
| 50 | Advance to the next tab stop. You can set tab stops at your choice of | 50 | Insert whitespace up to the next tab stop. You can set tab stops at |
| 51 | column positions, then type @kbd{M-i} to advance to the next tab stop. | 51 | your choice of column positions, then type @kbd{M-i} to advance to the |
| 52 | The default is to have tab stops every eight columns, which means by | 52 | next tab stop. The default tab stop settings have a tab stop every |
| 53 | default @kbd{M-i} inserts a tab character. To set the tab stops, use | 53 | eight columns, which means by default @kbd{M-i} inserts a tab |
| 54 | @kbd{M-x edit-tab-stops}. | 54 | character. To set the tab stops, use @kbd{M-x edit-tab-stops}. |
| 55 | 55 | ||
| 56 | @item | 56 | @item |
| 57 | Align a line with the previous line. More precisely, the command | 57 | Align 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 | |||
| 72 | type @key{TAB}, it aligns the line as a whole. | 72 | type @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 |
| 76 | spaces to align to the desired column. @xref{Just Spaces}, for how to | 76 | spaces to align to the desired column. @xref{Just Spaces}, for how to |
| 77 | disable use of tabs. However, @kbd{C-q @key{TAB}} always inserts a | 77 | disable use of tabs. However, @kbd{C-q @key{TAB}} always inserts a |
| 78 | tab, even when tabs are disabled for the indentation commands. | 78 | tab, 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 |