perl-mode highlight breaks down on prototype

Bug #189873 reported by Johan Walles
2
Affects Status Importance Assigned to Milestone
emacs22 (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: emacs22-common

With emacs22-common 22.1-0ubuntu5.1, type the following in a perl-mode buffer (but without the quotes):

"
#!/usr/bin/perl

sub searchCRS($$$$$$);
searchCRS("SELECT $cr_columns FROM CRS crs WHERE category=1 ORDER BY hours DESC, created;", 24, 0, 0, "(Co)|(UC)", "problem");

# Prio 2 list.
"

Note how the last comment is highlighted as string contents, not as a comment. Indentation and everything else thinks it's inside a string as well.

Removing the "sub" line works around this. Just commenting it out doesn't help.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 or 9.04?

Changed in emacs22:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Johan Walles (walles) wrote :

Daniel, I don't have access to an Intrepid system.

Do the provided reproduction instructions trigger the bug for you?

  Regards //Johan

PS: Changing bug status from Incomplete to New because of the provided reproduction instructions.

Changed in emacs22:
status: Incomplete → New
Revision history for this message
era (era) wrote :

Because you didn't really respond to the question, the status should be "incomplete" still. But I tried and I couldn't repro, so I guess this could be set to Invalid.

I'm attaching a screen shot, made on Intrepid amd64, emacs22-gtk. If I understand your description of the problem, I'm not seeing it.

Revision history for this message
Johan Walles (walles) wrote :

Looks good to me too, thanks era!

I'm now on 22.1-0ubuntu10.1 in Hardy, and now it seems to have started working here as well.

Setting to Fix Released since a fix has obviously been released.

Changed in emacs22:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.