Baloff <[EMAIL PROTECTED]> writes:
> what about inserting a command output say you are writing a post, or
> in the scratch buffer and want to type the output of a shell
> command. like $ls or whatever.

I'm quoting from the info-manual:

,----
|    A numeric argument, as in `M-1 M-!', says to insert terminal output
| into the current buffer instead of a separate buffer.  It puts point
| before the output, and sets the mark after the output.  For instance,
| `M-1 M-! gunzip < foo.gz <RET>' would insert the uncompressed
| equivalent of `foo.gz' into the current buffer.
`----

For more details have a look in info: Emacs->Shell->Single Shell

Regards, Christian


_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to