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: Re: Piping output to a buffer
Date: Mon, 25 Feb 2008 23:56:31 -0600	[thread overview]
Message-ID: <87y798dzw0.fsf@celephais.home.net> (raw)
In-Reply-To: 853arhy156.fsf@lola.goethe.zz

David Kastrup <dak@gnu.org> 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


  parent reply	other threads:[~2008-02-26  5:56 UTC|newest]

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