61 | | MUltiple MAjor MOde is an experimental extension for Emacs that allows one buffer to use multiple modes for different stretches of text. It's bundled with [http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html nXhtml], and now includes a basic django-html-mumamo-mode for django templates. |
| 61 | MUltiple MAjor MOde is an extension for Emacs that allows one buffer to use multiple modes for different stretches of text. It's bundled with [http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html nXhtml], and now includes a django-html-mumamo-mode for django templates. |
| 62 | This uses django-mode from django-mode.el above for the django parts and html-mode for the html parts. |
| 63 | (In addition it uses css-mode for css parts etc.) |
| 64 | |
| 65 | Unfortunately django-mode.el does not include any functions for indenting django code. |
| 66 | Therefor django-html-mumamo-mode can not do indentation based on the django parts. |
| 67 | If someone is interested in contributing elisp code for this then please contact me so we can integrate it the same way as for eRuby. |
| 68 | -- Lennart B (you can find my email address in the nXhtml source files) |