If I type |command in the tag of an acme window, select some
text in the window, and B2 on |command, it runs command,
sending the selection to stdin and replacing the section
with whatever command writes to stdout. However, if I put
|command in a guide file, I haven't been able to figure out
how to get selecting text in some other window and B2ing on
|command in the guide file to operation on the selection in
the other window. I couldn't find anything at all about
|command (or >command or <command) in the acme man page, the
acme paper, or in the wiki. Is there some way to do this?
I'm desperate since |indent and |outdent are my two most
heavily used code formatting tools.
You can't put the |command in a guide file, but you can put it in
the column tag (the one that reads "New Cut Paste Snarf ...")
or in the top tag (the one that reads "Newcol Kill Putall Dump")
and execute it when the desired window is current
(is the last one you clicked on in that column or in the whole
display, respectively).
PS: I'm not sure how I even knew about the |, >, and <
features in acme since I can't find any documentation about
them. I guess its because I'm transitioning from wily to
acme in P9P, but I thought all the cool features in wily
came from acme.
This is now fixed (thanks to Rob).
Russ