From: Leo Liu <sdl.web@gmail.com>
To: 14336@debbugs.gnu.org
Subject: bug#14336: 24.3; Octave failed to fontify 'str' if ' is at line-beginning
Date: Fri, 03 May 2013 05:17:29 +0800 [thread overview]
Message-ID: <m1hailxes6.fsf@gmail.com> (raw)
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))
next reply other threads:[~2013-05-02 21:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-02 21:17 Leo Liu [this message]
2013-05-06 7:45 ` bug#14336: 24.3; Octave failed to fontify 'str' if ' is at line-beginning Glenn Morris
2013-05-06 8:21 ` Leo Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1hailxes6.fsf@gmail.com \
--to=sdl.web@gmail.com \
--cc=14336@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.