in reply to Re: EMACS: POD-Highlighting under Cperl-mode?
in thread EMACS: POD-Highlighting under Cperl-mode?
Well the "easiest" solution I can see is to realize an extended POD-mode!
One usage might be visiting the same file in different buffers with according modes ...
Another switching modes by a keystroke (optionally folding away the "opposite" text-portions)
Anyway my knowledge of lisp is quite reduced and I don't dare manipulating cperl-mode. AFAIS here http://math.berkeley.edu/~ilya/software/emacs/cperl-mode.el.6.2.bz2 it does mark pod-sections with a "pod-here" flag, so this could be point to intercept.
The best lisp solution would be to ask Ilya to make cperl more modularizable, such that others could provide plugins...
The best overall solution might be to have a CPAN-Module which builds and tests the lisp-code. ... or extending perltidy such that the html-export is interpretable for emacs ... but thats a dream.
Cheers Rolf
|
|---|