wisp
 
(Arne Babenhauserheide)
2014-02-23: Hopefully fixed the font-locking regexps: I can now use wisp in org-

Hopefully fixed the font-locking regexps: I can now use wisp in org-mode and export to HTML.

diff --git a/wisp-mode.el b/wisp-mode.el
--- a/wisp-mode.el
+++ b/wisp-mode.el
@@ -82,8 +82,8 @@
      ("#[tf]"  . font-lock-constant-face) ; #t and #f
      ("#\\\\[^ 	]+"  . font-lock-constant-face) ; character literals
      (";" . 'font-lock-comment-delimiter-face)
-; FIXME: The following regexp is broken
-;      ("\\_<[+-]?[0-9]+\\_>\\|\\_[+-]<[0-9]*\\.[0-9]*\\(e[+-]?[0-9]+\\)?\\_>" . font-lock-constant-face) ; numbers
+     ; TODO: Doublecheck this regexp. I do not understand it completely anymore.
+     ("\\_<[+-]?[0-9]+\\_>\\|\\_<[+-][0-9]*\\.[0-9]*\\(e[+-]?[0-9]+\\)?\\_>" . font-lock-constant-face) ; numbers
      ("'()" . font-lock-constant-face) ; empty list
      ("[ 	]'[^	 ]+" . font-lock-constant-face) ; 'name
      (" : \\| \\. " . font-lock-keyword-face) ; leading : or .