From: Giorgos Keramidas <keramida@ceid.upatras.gr>
To: help-gnu-emacs@gnu.org
Subject: Re: Sending marked text to external program?
Date: Fri, 14 Mar 2008 19:13:13 +0200 [thread overview]
Message-ID: <87skyt9ql2.fsf@kobe.laptop> (raw)
In-Reply-To: pan.2008.03.14.16.00.10.284080@web.de
On Fri, 14 Mar 2008 17:00:10 +0100, Uwe Scholz <nurfuernews@web.de> wrote:
> Hello all!
>
> I wondered if it is possible to mark a peace of text or a hole line end
> send it to an external programm, for example "boxes", and include the
> output in the active buffer (or maybe a new one).
>
> Is this possible? If yes, how? Does a shortcut exist for this task?
`C-u M-|' runs `shell-command-on-region'.
If you use M-| without a prefix argument, it shows the output of the
external filter command in a new buffer. If you run `C-u M-|', then the
output of the filter command replaces the region in the current buffer.
next prev parent reply other threads:[~2008-03-14 17:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-14 16:00 Sending marked text to external program? Uwe Scholz
2008-03-14 16:58 ` Brendan Halpin
2008-03-14 17:13 ` Giorgos Keramidas [this message]
2008-03-19 1:00 ` Xavier Maillard
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=87skyt9ql2.fsf@kobe.laptop \
--to=keramida@ceid.upatras.gr \
--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).