From: Bozhidar Batsov <bozhidar.batsov@gmail.com>
To: 15270@debbugs.gnu.org
Subject: bug#15270: 24.3; ruby-mode font-lock bug related to HERE docs
Date: Thu, 5 Sep 2013 11:39:03 +0300 [thread overview]
Message-ID: <2BAAD12BA3864781BD45D35513E14023@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 877 bytes --]
Code like the following breaks font-locking logic of ruby-mode:
expected_source = <<-END.strip_indent
each do |x|
some_method
other_method
end
END
The second END gets highlighted as a constant, instead of a string. I guess the two consecutive ends cause the problem.
Here's a screenshot - http://i42.tinypic.com/122jeap.jpg
In GNU Emacs 24.3.1 (x86_64-apple-darwin12.4.0, NS apple-appkit-1187.39)
of 2013-08-12 on Bozhidars-MacBook-Pro.local
Windowing system distributor `Apple', version 10.3.1187
Configured using:
`configure '--prefix=/usr/local/Cellar/emacs/24.3' '--without-dbus'
'--enable-locallisppath=/usr/local/share/emacs/site-lisp'
'--infodir=/usr/local/Cellar/emacs/24.3/share/info/emacs'
'--without-gnutls' '--with-ns' '--disable-ns-self-contained' 'CC=cc''
--
Cheers,
Bozhidar
[-- Attachment #2: Type: text/html, Size: 1612 bytes --]
next reply other threads:[~2013-09-05 8:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-05 8:39 Bozhidar Batsov [this message]
2013-09-05 11:45 ` bug#15270: 24.3; ruby-mode font-lock bug related to HERE docs Dmitry Gutov
2013-09-05 11:48 ` Bozhidar Batsov
2013-09-05 13:06 ` Dmitry Gutov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2BAAD12BA3864781BD45D35513E14023@gmail.com \
--to=bozhidar.batsov@gmail.com \
--cc=15270@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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).