I'm trying to use mmm-mode for the first time, and it doesn't work very well. Fontification is screwed up... the HTML sections are not fontified correctly, and the JSP sections are always fontified using mmm-default-submode-face, not the faces specified in mmm-sample.el.
Apparently there's a regexp error, because in the *Messages* buffer I see messages like this: Error during redisplay: (wrong-type-argument integer-or-marker-p nil) [2 times] And the JSP file is marked modified, even if I just visited it. (Apparently this is because of the above error.) Does anyone have this working? I get this even if all I do is start emacs with -q and load only the following elisp: (global-font-lock-mode t) (setq auto-mode-alist (append '(("\\.jsp\\'" . html-mode)) auto-mode-alist)) ;(require 'cedet) ;(require 'jde) (require 'mmm-mode) (setq mmm-global-mode 'maybe) (mmm-add-mode-ext-class nil "\\.jsp\\'" 'jsp) (set-face-background 'mmm-default-submode-face "black") It doesn't matter whether I include cedet/JDE, the same thing happens. Raul