unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: cothrige <cothrige@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Piping output to a buffer
Date: Sun, 24 Feb 2008 18:30:13 -0600	[thread overview]
Message-ID: <877igtho8a.fsf@celephais.home.net> (raw)


I have noticed that in vim one can invoke an external command and pipe
the output into the current buffer via the `!!` or `:r!` commands.
While I have not made a habit of really using this command in vim, as I
have also not made a habit of using vim, I did realize that this could
be a really useful capability.  So, how might one do this in emacs?

Patrick


             reply	other threads:[~2008-02-25  0:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-25  0:30 cothrige [this message]
2008-02-25  6:35 ` Piping output to a buffer Barry Margolin
2008-02-25  6:56   ` David Kastrup
2008-02-26  3:11     ` Barry Margolin
2008-02-26  5:56     ` cothrige
2008-02-26  5:25   ` cothrige

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=877igtho8a.fsf@celephais.home.net \
    --to=cothrige@yahoo.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).