emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#14336: closed (24.3; Octave failed to fontify 'str


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#14336: closed (24.3; Octave failed to fontify 'str' if ' is at line-beginning)
Date: Mon, 06 May 2013 08:23:01 +0000

Your message dated Mon, 06 May 2013 16:21:46 +0800
with message-id <address@hidden>
and subject line Re: bug#14336: 24.3; Octave failed to fontify 'str' if ' is at 
line-beginning
has caused the debbugs.gnu.org bug report #14336,
regarding 24.3; Octave failed to fontify 'str' if ' is at line-beginning
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
14336: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14336
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3; Octave failed to fontify 'str' if ' is at line-beginning Date: Fri, 03 May 2013 05:17:29 +0800
As reported in this post:

http://article.gmane.org/gmane.comp.gnu.octave.general/48005

'abc'

is not fontified if ' is at line beginning.


I have installed the following fix:

diff --git a/lisp/progmodes/octave.el b/lisp/progmodes/octave.el
index a58fdefb..3c9efad9 100644
--- a/lisp/progmodes/octave.el
+++ b/lisp/progmodes/octave.el
@@ -131,7 +131,7 @@ (defun octave-syntax-propertize-function (start end)
   (octave-syntax-propertize-sqs end)
   (funcall (syntax-propertize-rules
             ;; Try to distinguish the string-quotes from the transpose-quotes.
-            ("[[({,; ]\\('\\)"
+            ("\\(?:^\\|[[({,; ]\\)\\('\\)"
              (1 (prog1 "\"'" (octave-syntax-propertize-sqs end)))))
            (point) end))
 



--- End Message ---
--- Begin Message --- Subject: Re: bug#14336: 24.3; Octave failed to fontify 'str' if ' is at line-beginning Date: Mon, 06 May 2013 16:21:46 +0800 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.3)
Fixed in trunk.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]