"Xiaopeng Xiong" <[EMAIL PROTECTED]> writes: > formatting a single file is enough for me. If you know any command > to do so, please help!
C-PgUp C-<SPC> C-PgDn M-x indent region or similar... ,----[ C-h f indent-region RET ] | indent-region is an interactive compiled Lisp function in `indent'. | It is bound to C-M-\. | (indent-region START END &optional COLUMN) | | Indent each nonblank line in the region. | A numeric prefix argument specifies a column: indent each line to that column. | | With no prefix argument, the command chooses one of these methods and | indents all the lines with it: | | 1) If `fill-prefix' is non-nil, insert `fill-prefix' at the | beginning of each line in the region that does not already begin | with it. | 2) If `indent-region-function' is non-nil, call that function | to indent the region. | 3) Indent each line as specified by the variable `indent-line-function'. | | Called from a program, START and END specify the region to indent. | If the third argument COLUMN is an integer, it specifies the | column to indent to; if it is nil, use one of the three methods above. | | [back] `---- Greetings, Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D (Part 3 you find in my messages before fall 2003.) _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs