Comment 2 for bug 988109

Revision history for this message
Russell Sim (russell-sim) wrote :

good idea! I set the default mode using
(setq auto-mode-alist (cons '("\\.php$" . html-mumamo-mode) auto-mode-alist))

but html-mumamo-mode seems to produce the same error,

mumamo-do-fontify-2: mumamo-do-fontify m=php-mode, s/e=1263/1291 syn-min/max=1268/1289: Wrong type argument: syntax-table-p, nil
MU:mumamo-do-fontify-2: mumamo-do-fontify m=php-mode, s/e=1034/1059 syn-min/max=1039/1057: Wrong type argument: syntax-table-p, nil
** In buffer maintenance-page.tpl.php
  backtrace()
  mumamo-display-error(mumamo-do-fontify-2 "mumamo-do-fontify m=%s, s/e=%s/%s syn-min/max=%s/%s: %s" php-mode 1034 1059 1039 1057 "Wrong type argument: syntax-table-p, nil")
  byte-code("\306\307\310

\311
!&\207" [chunk-major start end chunk-syntax-min chunk-syntax-max err mumamo-display-error mumamo-do-fontify-2 "mumamo-do-fontify m=%s, s/e=%s/%s syn-min/max=%s/%s: %s" error-message-string] 10)
  byte-code("\306 \211

]
^
\307
 \310\311\312


J\211
U\2035

<snip>

  byte-code("\306\307\"\211\310 !
J\311\312



\313BBBBBBD!\210+\306\207" [major need-major-mode evaled-set-mode major-mode start end mumamo-get-major-mode-substitute fontification mumamo-get-major-mode-setup progn mumamo-do-fontify (major) verbose chunk-syntax-min chunk-syntax-max] 10)
  mumamo-fontify-region-with(1034 1059 nil php-mode 1039 1057)
  mumamo-fontify-region-1(1008 1066 nil)
  mumamo-fontify-region(1008 1066 nil)
  font-lock-fontify-region(1008 1066)
  run-hook-with-args(font-lock-fontify-region 1008 1066)
  byte-code("\302\303 #\207" [start next run-hook-with-args jit-lock-functions] 4)
  jit-lock-fontify-now(1008 1508)
  jit-lock-function(1008)
  mumamo-jit-lock-function(1008)