From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: paxxus Newsgroups: gmane.emacs.help Subject: Perl "plugin" for Emacs Date: Fri, 23 Sep 2011 14:22:10 -0700 (PDT) Message-ID: <32503889.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1316814376 32377 80.91.229.12 (23 Sep 2011 21:46:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Sep 2011 21:46:16 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 23 23:46:11 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R7DZP-0006mw-H7 for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Sep 2011 23:46:07 +0200 Original-Received: from localhost ([::1]:39025 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7DZO-0006R5-Ol for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Sep 2011 17:46:06 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7DCM-0003Yx-Lh for Help-gnu-emacs@gnu.org; Fri, 23 Sep 2011 17:22:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R7DCL-0002D4-BQ for Help-gnu-emacs@gnu.org; Fri, 23 Sep 2011 17:22:18 -0400 Original-Received: from sam.nabble.com ([216.139.236.26]:37750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7DCL-0002CL-7o for Help-gnu-emacs@gnu.org; Fri, 23 Sep 2011 17:22:17 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1R7DCE-0006wx-OG for Help-gnu-emacs@gnu.org; Fri, 23 Sep 2011 14:22:10 -0700 X-Nabble-From: paxxus@hotmail.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 216.139.236.26 X-Mailman-Approved-At: Fri, 23 Sep 2011 17:46:00 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82316 Archived-At: Hi, I'd like to be able to perform some text formatting in Perl as that will be way faster for me than having to learn Lisp. Here's what I'm after: 1. Select a region in Emacs. 2. Press a key. 3. The selected text is passed to a Perl script. 4. Output from Perl script replaces the selected region. Is this possible and what exactly would I have to put in my .emacs if, let's say, the key I want to bind is F5 and the Perl script is located at ~/Emacs/format.pl Thanks! -- View this message in context: http://old.nabble.com/Perl-%22plugin%22-for-Emacs-tp32503889p32503889.html Sent from the Emacs - Help mailing list archive at Nabble.com.