Commits

ncalexan committed d473b98

Update to version sage-mode-0.7.

Comments (0)

Files changed (3)

 
 == License ==
 
-Copyright (C) 2007, 2008, 2009  Nick Alexander
+Copyright (C) 2007, 2008, 2009, 2010, 2011  Nick Alexander
 
 Author: Nick Alexander <ncalexander [at] gmail.com>
 
 
 == Special Update/Build Instructions ==
 
-[[attachment:sage-mode-0.6.spkg]]
+[[attachment:sage-mode-0.7.spkg]]
 
-Use {{{sage -f sage-mode-0.6.spkg}}}.  The following installation instructions are suggested:
+Use {{{sage -f sage-mode-0.7.spkg}}}.  The following installation instructions are suggested:
 
 A basic install might include the following Emacs Lisp in your .emacs:
 
 
 == Changelog ==
 
+=== sage-mode-0.7 (Nick Alexander, 2011-10-07) ===
+* Fix a bug reported by Ivan Andrus regarding font-lock and
+triple-quoted strings.
+
 === sage-mode-0.6 (Nick Alexander, 2009-05-11) ===
 * `sage-run' no longer waits for a sage: prompt by default.  This can cause
 problems if `sage-startup-after-prompt-hook' is non-trivial, but doesn't lock

emacs/sage-mode.el

 
 \\{sage-mode-map}"
   (setq comment-column 60)
-  (set (make-local-variable 'font-lock-multiline) t)
-  (set (make-local-variable 'font-lock-defaults)
-       `(, (cons
-	    (cons "XXX\\(.*\n\\)*?XXX" font-lock-comment-face)
-	    python-font-lock-keywords)
-	 nil nil nil nil
-	 (font-lock-syntactic-keywords . python-font-lock-syntactic-keywords)
-	 ))
-)
+  (set (make-local-variable 'font-lock-multiline) t))
 
 (defun sage-font-lock ()
   "Install Sage font-lock patterns."
   :group 'sage
   :type 'string)
 
-;; "import sage_emacs as emacs"
 (defcustom sage-startup-after-prompt-command nil
   "*Send this command to the sage slave each time it is executed by `run-sage', AFTER the first prompt is seen."
   :group 'sage