Commit Diff


commit - 01bcf9f98223e08ec51a34bec5977110ddd94814
commit + b9771a80e68a3c46e901dec298d5f5b6dfe2654e
blob - b2007ed1a2058e2ca6f7ff022f7886e6a38b3eef
blob + a162458d85b84fc4013e5264e6edcf17ae54441f
--- man/man1/acme.1
+++ man/man1/acme.1
@@ -4,6 +4,9 @@ acme, win, awd \- interactive text windows
 .SH SYNOPSIS
 .B acme
 [
+.B -abr
+]
+[
 .B -f
 .I varfont
 ]
@@ -16,9 +19,6 @@ acme, win, awd \- interactive text windows
 .I ncol
 ]
 [
-.B -br
-]
-[
 .B -l
 .I file
 |
@@ -174,6 +174,16 @@ The only exception is that the command names to the
 left of the bar in a tag are maintained automatically; changes to them are repaired
 by
 .IR acme .
+.PP
+When a window is in autoindent mode
+(see the
+.B Indent
+command below) and a newline character is typed,
+acme copies leading white space on the current line to the new line.
+The option
+.B -a
+causes each window to start in 
+autoindent mode.
 .SS "Directory context
 Each window's tag names a directory: explicitly if the window
 holds a directory; implicitly if it holds a regular file
@@ -352,12 +362,32 @@ This command is largely superseded by plumbing
 (see
 .IR plumb (7)).
 .TP
+.B Indent
+Set the autoindent mode according to the argument:
+.B on
+and
+.B off
+set the mode for the current window;
+.B ON
+and
+.B OFF
+set the mode for the current window and all future windows.
+.TP
 .B Kill
 Send a
 .B kill
 note to
 .IR acme -initiated
 commands named as arguments.
+.TP
+.B Load
+Restore the state of
+.I acme
+from a file (default
+.BR $home/acme.dump )
+created by the
+.B Dump
+command.
 .TP
 .B Local
 In the Plan 9
@@ -384,15 +414,6 @@ is recognized as a prefix, but has no effect on the co
 .\" etc.,
 .\" and to set environment variables such as
 .\" .BR $objtype .
-.TP
-.B Load
-Restore the state of
-.I acme
-from a file (default
-.BR $home/acme.dump )
-created by the
-.B Dump
-command.
 .TP
 .B Look
 Search in body for occurrence of literal text indicated by the argument or,