From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: cothrige Newsgroups: gmane.emacs.help Subject: Piping output to a buffer Date: Sun, 24 Feb 2008 18:30:13 -0600 Organization: BellSouth Internet Group Message-ID: <877igtho8a.fsf@celephais.home.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203990290 11937 80.91.229.12 (26 Feb 2008 01:44:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Feb 2008 01:44:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 26 02:45:15 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JTosY-00038O-5G for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Feb 2008 02:45:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTos2-0003hR-94 for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Feb 2008 20:44:38 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!bigfeed.bellsouth.net!bignumber.bellsouth.net!news.bellsouth.net!bignews2.bellsouth.net.POSTED!fb0cad44!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:4mS+nt0tuguAAVUlZH7UL7SP1Eo= Original-Lines: 8 Original-X-Complaints-To: abuse@bellsouth.net X-Abuse-Info: Please forward a copy of all headers for proper handling Original-X-Trace: ogjnolidcdijhjikdbdpiflmbcekedmfhojhikkbagflhcbococppcfcajkcnbmgfjpgfmiabobgdcaafkhknhclgnebhmkhphnmhdegblpmdgehjamnjkpjmfbadfacoajlfpkhndbdaphcpiemmhgefmiapjod Original-NNTP-Posting-Date: Sun, 24 Feb 2008 19:29:59 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:156465 X-Mailman-Approved-At: Mon, 25 Feb 2008 20:37:40 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51856 Archived-At: 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