Mercurial > emacs
comparison man/indent.texi @ 45437:c48cc0f16c0e
(Indentation Commands): Describe how to remove all indentation. Add
an index entry for that.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 21 May 2002 16:24:28 +0000 |
parents | a093cd4ed690 |
children | 23a1cea22d13 |
comparison
equal
deleted
inserted
replaced
45436:0d9c23804094 | 45437:c48cc0f16c0e |
---|---|
117 column. @kbd{C-x @key{TAB}} (@code{indent-rigidly}) moves all of the | 117 column. @kbd{C-x @key{TAB}} (@code{indent-rigidly}) moves all of the |
118 lines in the region right by its argument (left, for negative | 118 lines in the region right by its argument (left, for negative |
119 arguments). The whole group of lines moves rigidly sideways, which is | 119 arguments). The whole group of lines moves rigidly sideways, which is |
120 how the command gets its name.@refill | 120 how the command gets its name.@refill |
121 | 121 |
122 @cindex remove indentation | |
123 If you want to remove all indentation from all of the line in the | |
124 region, invoke @kbd{C-x @key{TAB}} with a large negative argument, | |
125 such as -1000. | |
126 | |
122 @findex indent-relative | 127 @findex indent-relative |
123 @kbd{M-x indent-relative} indents at point based on the previous line | 128 @kbd{M-x indent-relative} indents at point based on the previous line |
124 (actually, the last nonempty line). It inserts whitespace at point, moving | 129 (actually, the last nonempty line). It inserts whitespace at point, moving |
125 point, until it is underneath an indentation point in the previous line. | 130 point, until it is underneath an indentation point in the previous line. |
126 An indentation point is the end of a sequence of whitespace or the end of | 131 An indentation point is the end of a sequence of whitespace or the end of |