active c++ mode in a block of region
Is it possible to activate C++ mode or any other mode in a block o开发者_运维问答f region? I think this would be convenient when taking notes or integrating C++ with literate style coding.
Multiple Major Modes aren't supported by Emacs (yet). But there are hacks to make it work
- EmacsWiki-MultiModes
- MMM at GitHub
Try the following emacs wikis:
- Mmm Mode
- Multiple Modes
精彩评论