unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Christian Plate <cplate@web.de>
Subject: Re: inserting a file
Date: Sun, 07 Aug 2005 21:41:07 +0200	[thread overview]
Message-ID: <87oe89357w.fsf@myusenet.dyndns.org> (raw)
In-Reply-To: <87zmrttuz7.fsf@wash.edu> (Baloff's message of "08 Aug 2005 05:20:12 +1000")


Baloff <washdc@wash.edu> 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

  parent reply	other threads:[~2005-08-07 19:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-07 19:20 inserting a file Baloff
2005-08-07 19:10 ` Jesper Harder
2005-08-07 19:41 ` Christian Plate [this message]
2005-08-07 19:57 ` Jens Kubieziel
2005-08-08 15:34   ` Baloff
2005-08-08  2:08     ` Neon Absentius
2005-08-08 19:38 ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oe89357w.fsf@myusenet.dyndns.org \
    --to=cplate@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).