unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15270: 24.3; ruby-mode font-lock bug related to HERE docs
@ 2013-09-05  8:39 Bozhidar Batsov
  2013-09-05 11:45 ` Dmitry Gutov
  0 siblings, 1 reply; 4+ messages in thread
From: Bozhidar Batsov @ 2013-09-05  8:39 UTC (permalink / raw)
  To: 15270

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-09-05 13:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-05  8:39 bug#15270: 24.3; ruby-mode font-lock bug related to HERE docs Bozhidar Batsov
2013-09-05 11:45 ` Dmitry Gutov
2013-09-05 11:48   ` Bozhidar Batsov
2013-09-05 13:06     ` Dmitry Gutov

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).