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";
In reply to Re: [WT] Perl mode in mixed emacs buffer
by mugwumpjism
in thread [WT] Perl mode in mixed emacs buffer
by sfink
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |