From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: googleartist@yahoo.com (Artist) Newsgroups: gmane.emacs.help Subject: Re: Running Perl Scripts in Emacs (on buffer) Date: 7 Oct 2003 21:59:08 -0700 Organization: http://groups.google.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3F6798FB.5090901@yahoo.com> <86ad8mx6wo.fsf@slowfox.dyndns.org> NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1065589445 28607 80.91.224.253 (8 Oct 2003 05:04:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Oct 2003 05:04:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 08 07:04:04 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A76UV-00077t-01 for ; Wed, 08 Oct 2003 07:04:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1A76U7-0007x6-0R for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Oct 2003 01:03:39 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: 68.37.116.205 Original-X-Trace: posting.google.com 1065589148 22406 127.0.0.1 (8 Oct 2003 04:59:08 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 8 Oct 2003 04:59:08 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:117120 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13048 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13048 Kai Grossjohann wrote in message news:<86ad8mx6wo.fsf@slowfox.dyndns.org>... > Dan Anderson writes: > > > No. Without going into a shell and saving (or trying to convert my Perl > > scripts into elisp) I want to just run an arbitrary perl script on a > > buffer. > > C-x h M-| foo.pl RET > > Does this help? How do you supply the buffer data to your perl program in this case? What would be the arguments? Let's say I have a file and I like to replace some words via perl program, how I would do that?