From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: cothrige Newsgroups: gmane.emacs.help Subject: Re: Piping output to a buffer Date: Mon, 25 Feb 2008 23:56:31 -0600 Organization: BellSouth Internet Group Message-ID: <87y798dzw0.fsf@celephais.home.net> References: <877igtho8a.fsf@celephais.home.net> <853arhy156.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204030849 30582 80.91.229.12 (26 Feb 2008 13:00:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Feb 2008 13:00:49 +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 14:01:14 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 1JTzQo-0005VW-35 for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Feb 2008 14:01:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTzQH-0000fR-ED for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Feb 2008 08:00:41 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!bigfeed.bellsouth.net!bignumber.bellsouth.net!news.bellsouth.net!bignews5.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:b664pux8FSd4RYc7VN2I5E/H1Oc= Original-Lines: 13 Original-X-Complaints-To: abuse@bellsouth.net X-Abuse-Info: Please forward a copy of all headers for proper handling Original-X-Trace: ldjgbllpbapjglppdbdpiflmbcekedmfhojhikkbagflhcbooofndgnkoeigcielhhpglnjhbcmodbdjfkhknhclgnebhmkhaoilepejjbnbijbojamnjkpjmfbadfacdjfbpgbnigkfdjfmkckonbdakjeedbgi Original-NNTP-Posting-Date: Tue, 26 Feb 2008 00:56:07 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:156499 X-Mailman-Approved-At: Tue, 26 Feb 2008 07:59:23 -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:51884 Archived-At: David Kastrup writes: > !! pipes the current line through the external command. The Emacs > equivalent to that would be marking the line and then using > > C-u M-| Okay, I have to admit that I was totally ignorant that `!!` actually did that. That could really be very useful indeed, though maybe a tad esoteric for the likes of me. Thanks very much for pointing this out for me, and of course for sharing how it can be done in emacs. Patrick