Issue731

classification
Title mmm-mode 1.05 leads to infinite loops
Type defect Module mmm-mode
Severity hang Platform N/A
Keywords Nosy List graaff
explanation
process
These controls should only be changed by committers and tracker administrators.
Status new   Reason
Superseder  
Priority normal   Assigned To

Created on 2010-10-03.11:50:19 by graaff, last changed 2010-10-03.11:50:19 by graaff.

Messages
msg2218 [hidden] ([hidden]) Date: 2010-10-03.11:50:19
After upgrading to mmm-mode 1.05 my mixed mode html/ruby mmm mode got
into an infinite loop while loading these buffers, making it impossible
to edit such files in XEmacs. Downgrading to 1.03 while leaving
everything else the same solved the issue for me. My mmm settings from
init.el are included below.

(setq mmm-submode-decoration-level 2)
(set-face-background 'mmm-output-submode-face  "Navy")
(set-face-background 'mmm-code-submode-face    "DarkSlateBlue")
(set-face-background 'mmm-comment-submode-face "DarkOliveGreen")
(mmm-add-classes
 '((erb-code
    :submode ruby-mode
    :match-face (("<%#" . mmm-comment-submode-face)
                 ("<%=" . mmm-output-submode-face)
                 ("<%"  . mmm-code-submode-face))
    :front "<%[#=]?" 
    :back "%>" 
    :insert ((?% erb-code       nil @ "<%"  @ " " _ " " @ "%>" @)
             (?# erb-comment    nil @ "<%#" @ " " _ " " @ "%>" @)
             (?= erb-expression nil @ "<%=" @ " " _ " " @ "%>" @))
    )))
(add-hook 'html-mode-hook
          (lambda ()
            (setq mmm-classes '(erb-code))
            (mmm-mode-on)))
History
Date User Action Args
2010-10-03 11:50:19graaffcreate