(require (quote mim-mode)) (defun slow-syntax-check-mim nil "\ Check Mim syntax slowly. Points out the context of the error, if the syntax is incorrect." (interactive) (byte-code "LjÈÉ!ˆdÇÇÇÇÇŠebˆ ?… ÊËÆ#…›h‰ˆ ÌUƒ4ÇÍÎ�‚— ÏUƒAÇÐÑ�‚—Ò !ÓUƒ~ ?†[ÔÕÖ H×\"Ø\" U?ƒd`‰‚{ @‰ˆ ƒs Sf‚tljˆ A‰‚—Æ…— ƒŽ B‰‚�Lj`‰ˆ ‰ˆ‚)ˆ †¢ ?ƒ¬ÈÙ!‚ü ƒï bˆÚ Ì\"ƒÀÛÜ!‚ì ?ƒÎÛÝÞ !\"‚ìÆ…ìÛߊ`S‰ˆ Sbˆà`á ˆ` ^\")Þ !#‚üÆ…ü bˆÛâÞ !\".‡" [stop point-stack current last-bracket whoops last-point t nil message "checking syntax..." re-search-forward "\\s(\\|\\s)\\|\"\\|[\\]" 34 (byte-code "ÂÃ!ˆÁ‰‡" [current nil re-search-forward "[^\\]\""] 3) ((error (byte-code "`‰‡" [whoops] 2))) 92 (byte-code "ÀÁ!‡" [forward-char 1] 2) ((error (byte-code "À‡" [nil] 1))) char-syntax 41 logand lsh syntax-table -8 127 "Syntax correct" equal error "Unterminated string" "Extraneous %s" char-to-string "Mismatched %s with %s" buffer-substring end-of-line "Unmatched %s"] 19)) (defun fast-syntax-check-mim nil "\ Checks Mim syntax quickly. Answers correct or incorrect, cannot point out the error context." (interactive) (byte-code "ÁˆŠebˆÁm?…ÂÃ`dÄ#‰@Ä\"… Áˆ‚ˆÂ@Ä\"ƒ/ÅÆ!‚2ÇÈ!))‡" [state nil equal parse-partial-sexp 0 message "Syntax correct" error "Syntax incorrect"] 6))