unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Perl "plugin" for Emacs
@ 2011-09-23 21:22 paxxus
  2011-09-23 22:01 ` Nikolai Weibull
  0 siblings, 1 reply; 4+ messages in thread
From: paxxus @ 2011-09-23 21:22 UTC (permalink / raw)
  To: Help-gnu-emacs


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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-23 23:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-23 21:22 Perl "plugin" for Emacs paxxus
2011-09-23 22:01 ` Nikolai Weibull
2011-09-23 22:31   ` Paxxus
2011-09-23 23:08   ` Paxxus

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).