From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thomas Riccardi Newsgroups: gmane.emacs.bugs Subject: bug#6853: 24.0.50; python mode coloring broke Date: Sat, 23 Jun 2012 23:58:21 +0200 Message-ID: References: <1281740748.5720.76.camel@kiwi-pc2> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=20cf307f3342e8accf04c32ad804 X-Trace: dough.gmane.org 1340488763 14428 80.91.229.3 (23 Jun 2012 21:59:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Jun 2012 21:59:23 +0000 (UTC) Cc: 6853@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 23 23:59:22 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SiYMT-0001pT-Ny for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2012 23:59:21 +0200 Original-Received: from localhost ([::1]:36667 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiYMT-0006kR-R6 for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Jun 2012 17:59:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33703) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiYMQ-0006k5-NZ for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 17:59:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SiYMO-0004iN-Rz for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 17:59:18 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SiYMO-0004iI-MK for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 17:59:16 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SiYQ2-00080p-5a for bug-gnu-emacs@gnu.org; Sat, 23 Jun 2012 18:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Riccardi Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jun 2012 22:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6853 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo unreproducible Original-Received: via spool by 6853-submit@debbugs.gnu.org id=B6853.134048893130724 (code B ref 6853); Sat, 23 Jun 2012 22:03:02 +0000 Original-Received: (at 6853) by debbugs.gnu.org; 23 Jun 2012 22:02:11 +0000 Original-Received: from localhost ([127.0.0.1]:54407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiYPC-0007zU-D1 for submit@debbugs.gnu.org; Sat, 23 Jun 2012 18:02:10 -0400 Original-Received: from mail-vc0-f172.google.com ([209.85.220.172]:38033) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SiYPA-0007zN-CO for 6853@debbugs.gnu.org; Sat, 23 Jun 2012 18:02:09 -0400 Original-Received: by vcqp1 with SMTP id p1so1669023vcq.3 for <6853@debbugs.gnu.org>; Sat, 23 Jun 2012 14:58:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2Cb3miXRovxIz5/BWUe0wsEi5hknwmEBN26jwutOh6Y=; b=p0hHNZaZQZzrl8M8BvgOy3JWtG/zSnrGcZ4bvnCTTc2HUGCxVLo5ym6FbE5zhd/f0d +fbw2skdAPe8vsCNB6yQS5zcbEUlrVCQoXT4OdoFYyO1SLrsH+I9QUmFpMFGlHsOFxOc QRIgxb7Jfj5cDmOnBZVjg95o2H9Hw4zSy4io+wAsIUDeiTLCNBg0ByUxbpYBO8Ofu9Mf PpeDGXDx/4Qp8fLA1Lz+6cicoTko8aRke5moLsc+Pmq7WZG61/UGq86JYUmr/RAXOTIP 5H8rzMNFC0qwalwF4M18vK2D9k8jZqfrapELaZx2UkFS4fxbA0d6t+TmRpCEz4NIuPQ3 ML3A== Original-Received: by 10.52.67.134 with SMTP id n6mr3416931vdt.23.1340488702012; Sat, 23 Jun 2012 14:58:22 -0700 (PDT) Original-Received: by 10.52.33.208 with HTTP; Sat, 23 Jun 2012 14:58:21 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:61231 Archived-At: --20cf307f3342e8accf04c32ad804 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Jun 19, 2012 at 1:06 AM, Glenn Morris wrote: > Thomas Riccardi wrote: > >> emacs trunk revno: 101071 >> >> >> How to reproduce: >> 1/ emacs -Q test.py >> 2/ coloring is wrong starting L96 >> >> >> The test.py file is joint to this email. > > Thanks for the report; sorry no-one ever replied. > > It looks like a complicated example file, and I don't know what I am > supposed to be seeing. Line 96 looks the same to me as line 95. Do you > still see this issue, and if so could you say exactly what is wrong? The test.py file is indeed an unnecessary complicated example. Here is a simpler file reproducing the issue: def test(): """""" return None The issue is the following: All the lines after the empty triple-quoted string are colored with the 'font-lock-string-face' face. This seems to be a legit python code: http://docs.python.org/reference/lexical_analysis.html#string-literals There is the same issue with triple-quoted strings using simple quotes '. --20cf307f3342e8accf04c32ad804 Content-Type: application/octet-stream; name="test2.py" Content-Disposition: attachment; filename="test2.py" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h3t7x13t0 ZGVmIHRlc3QoKToKCSIiIiIiIgoJcmV0dXJuIE5vbmUKCQo= --20cf307f3342e8accf04c32ad804--