in reply to [WT] Perl mode in mixed emacs buffer
You probably want mmm-mode
Install and load the mmm-mode library, then use the mmm-ify-by-regexp command to turn it on for a buffer. Set to a hotkey or something if you want to be able to do it quickly after you load a file.
Eg, one I used for Parse::ePerl:
(mmm-ify-by-regexp 'cperl-mode "<[\?]" 0 "[\?][\>]" 0 2)
$h=$ENV{HOME};my@q=split/\n\n/,`cat $h/.quotes`;$s="$h/." ."signature";$t=`cat $s`;print$t,"\n",$q[rand($#q)],"\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: [WT] Perl mode in mixed emacs buffer
by monarch (Priest) on Jul 19, 2005 at 06:08 UTC |