all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri Khan <yurivkhan@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Perldo in Emacs
Date: Thu, 3 Mar 2011 10:32:42 +0600	[thread overview]
Message-ID: <AANLkTikW3F7C24xgvOvjC_6uparMqQe9hr77o0qYTimW@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimSDsop74V-wBeWYr822+zMjOar8ZnqNrmTYjFq@mail.gmail.com>

2011/3/3 Alberto Simões <hashashin@gmail.com>:

> It is a matter of running the buffer with
>
>  perl -i -pe ' ... '    < buffer > newbuffer
>
> where ... is the perl code instroduced by the user in emacs
> (minibuffer, probably).

shell-command-on-region will almost do what you want, you will just
need to pass it a newly created buffer for output.



  reply	other threads:[~2011-03-03  4:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-02 21:17 Perldo in Emacs Alberto Simões
2011-03-03  4:32 ` Yuri Khan [this message]
     [not found] ` <mailman.6.1299126767.20537.help-gnu-emacs@gnu.org>
2011-03-03 18:32   ` Vagn Johansen
     [not found] <mailman.0.1299100662.27501.help-gnu-emacs@gnu.org>
2011-03-03  9:45 ` Jorgen Grahn

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikW3F7C24xgvOvjC_6uparMqQe9hr77o0qYTimW@mail.gmail.com \
    --to=yurivkhan@gmail.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.