From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: [Johan Walles] perl-mode highlight breaks down on prototype Date: Thu, 07 Feb 2008 23:02:42 +0100 Message-ID: <47AB8002.2020603@gmail.com> References: <87ir10lcur.fsf@grepfind.mwolson.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202421813 1575 80.91.229.12 (7 Feb 2008 22:03:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Feb 2008 22:03:33 +0000 (UTC) Cc: Johan Walles , emacs-devel@gnu.org To: Michael Olson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 07 23:03:52 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JNEqV-0003ps-E9 for ged-emacs-devel@m.gmane.org; Thu, 07 Feb 2008 23:03:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNEq2-000710-UO for ged-emacs-devel@m.gmane.org; Thu, 07 Feb 2008 17:03:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNEpa-0006kq-TL for emacs-devel@gnu.org; Thu, 07 Feb 2008 17:02:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNEpa-0006kO-9C for emacs-devel@gnu.org; Thu, 07 Feb 2008 17:02:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNEpa-0006kD-20 for emacs-devel@gnu.org; Thu, 07 Feb 2008 17:02:54 -0500 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JNEpV-00008d-Qc; Thu, 07 Feb 2008 17:02:50 -0500 Original-Received: from c83-254-148-228.bredband.comhem.se ([83.254.148.228]:65353 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JNEpU-0003At-3n; Thu, 07 Feb 2008 23:02:48 +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 In-Reply-To: <87ir10lcur.fsf@grepfind.mwolson.org> X-Antivirus: avast! (VPS 080206-0, 2008-02-06), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.148.228 X-Scan-Result: No virus found in message 1JNEpU-0003At-3n. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1JNEpU-0003At-3n 0a89c5c234572c0e7402719c002f8f07 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:88469 Archived-At: 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 > Date: > Thu, 07 Feb 2008 10:29:40 -0000 > To: > mwolson@member.fsf.org > > To: > mwolson@member.fsf.org > > > 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 > > > > ------------------------------------------------------------------------ > > >