3 votes
Accepted

Syntactic fontification of diff hunks

This is implemented now in Emacs 27 and available by default using the variable diff-font-lock-syntax.
user avatar
  • 1,006
1 vote
Accepted

Can I use mmm-mode two levels deep?

I've asked in the github repo, and it seems to not be supported at the moment, but could be implemented soon: https://github.com/purcell/mmm-mode/issues/102
user avatar
  • 83
1 vote
Accepted

mmm-mode and flyspell

If the overlays for the Python blocks are already placed by mmm-mode you can skip misspelled words by detecting overlays with property mmm-mode equal to python-mode in flyspell-incorrect-hook. Put ...
user avatar
  • 29.8k
1 vote

How do I install `mmm-mode` (through MELPA)?

You have to add the melpa repository to your package archives. In your .emacs init file you have to add the following lines: Then, when listing the available packages, you will find mmm-mode:
user avatar
  • 406
1 vote

In mmm-mode can you have several classes for the same mode?

Yes, the latter is possible. You can have two different add-classes for the same embedded language, but you must name them differently.
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible