Hi,

I asked about this a while ago on this list, but no one seemed interested.  So I've gone ahead and implemented this myself.

https://github.com/lewang/generic-edit-special

This allows you to define beginning/ending regexps with corresponding language, and edit the region in between just like org-edit-special.  Currently, I use it for HTML/css/javascript/rails.

Any comments/bug reports welcome.

Cheers.

--
Le