Hi guys, I'm trying to get ruby-mode and html-mode to work together with mmm-mode in .rhtml files, and I have a problem: the Ruby code is not colored (syntax highlight). Right now, I have this code in my ..emacs file for eruby: ;; eRuby (require 'mmm-mode) (setq mmm-global-mode 'maybe) (setq mmm-submode-decoration-level 0) (mmm-add-classes '((eruby :submode ruby-mode :front "<%[=#]?" :back "%>"))) (add-to-list 'auto-mode-alist '("\\.rhtml$" . html-mode)) (add-to-list 'mmm-mode-ext-classes-alist '(html-mode nil eruby)) Anything seems suspect to you? Got an idea? Oh, and if I set mmm-submode-decoration-level to 1 or to 2, the Ruby code is highlighted in a pale gray and I can't read anything anymore Thanks for the tips. Vincent