[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Perldo in Emacs
From: |
Vagn Johansen |
Subject: |
Re: Perldo in Emacs |
Date: |
Thu, 03 Mar 2011 19:32:19 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt) |
Yuri Khan <yurivkhan@gmail.com> writes:
> 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.
>
Type C-u first
C-u M-| ..
--
Vagn Johansen