emacs-devel
[Top][All Lists]
Advanced

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

Re: [Johan Walles] perl-mode highlight breaks down on prototype


From: Lennart Borgman (gmail)
Subject: Re: [Johan Walles] perl-mode highlight breaks down on prototype
Date: Thu, 07 Feb 2008 23:02:42 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

Michael Olson wrote:
I'm forwarding this to the emacs-devel mailing list (from the Ubuntu
bug-tracker) in hopes that someone can help to diagnose this problem.

I just tested with CVS Emacs from 2008-01-30. It looks ok there.

GNU Emacs 23.0.50.1 (i386-mingw-nt5.1.2600) of 2008-01-30

------------------------------------------------------------------------

Subject:
[Bug 189873] [NEW] perl-mode highlight breaks down on prototype
From:
Johan Walles <address@hidden>
Date:
Thu, 07 Feb 2008 10:29:40 -0000
To:
address@hidden

To:
address@hidden


Public bug reported:

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.

** Affects: emacs22 (Ubuntu)
     Importance: Undecided
         Status: New



------------------------------------------------------------------------







reply via email to

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