From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.bugs Subject: bug#18378: wrong fontification of Java code Date: Mon, 1 Sep 2014 11:48:14 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113483b4cfab880501fde6da X-Trace: ger.gmane.org 1409564955 19073 80.91.229.3 (1 Sep 2014 09:49:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Sep 2014 09:49:15 +0000 (UTC) To: 18378@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 01 11:49:08 2014 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 1XOOEV-0004hH-8A for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Sep 2014 11:49:07 +0200 Original-Received: from localhost ([::1]:58970 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOOEU-0007GU-Uj for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Sep 2014 05:49:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOOER-0007GN-SZ for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 05:49:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOOER-0004Cf-1a for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 05:49:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOOEQ-0004Cb-Uh for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 05:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XOOEQ-000229-Dk for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 05:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Sep 2014 09:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18378 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14095649067773 (code B ref -1); Mon, 01 Sep 2014 09:49:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Sep 2014 09:48:26 +0000 Original-Received: from localhost ([127.0.0.1]:55400 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XOODp-00021J-Eu for submit@debbugs.gnu.org; Mon, 01 Sep 2014 05:48:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48097) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XOODn-000214-G0 for submit@debbugs.gnu.org; Mon, 01 Sep 2014 05:48:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOODh-0003yO-Dn for submit@debbugs.gnu.org; Mon, 01 Sep 2014 05:48:18 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:36541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOODh-0003yK-AR for submit@debbugs.gnu.org; Mon, 01 Sep 2014 05:48:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOODg-0007EI-IJ for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 05:48:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XOODf-0003xz-H6 for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 05:48:16 -0400 Original-Received: from mail-oa0-x22e.google.com ([2607:f8b0:4003:c02::22e]:52007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XOODf-0003xu-Cx for bug-gnu-emacs@gnu.org; Mon, 01 Sep 2014 05:48:15 -0400 Original-Received: by mail-oa0-f46.google.com with SMTP id m19so3624475oag.33 for ; Mon, 01 Sep 2014 02:48:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ZcE1YdKFGWxzUcNmkm7WijFBPOMBatvDtPEjF9OYHlI=; b=InOdrlDaiVdiWrM1Ka/rRCnEqycNn6LyJBb7FZuPCLnNH9nssz2QFDk0LBsAiuFQz2 DxeLgBcZq3rXVBnwLOTWRSecffxrOTRY0U8xfd283QP0OnFkXX/ZuwJ/zvtZR5gsIBt6 MU+bQEFcwD2OuVfxGUtL8qEzginXs3GnETHbJ5YgZR9dqifD8BLZLrkqWejJlrESNQ+e lPLM3E2ARvyKkclPX/tITUiadxlIt5zwGrYl+BFlWyK65o/QZsK6ZnYL21gke9QH52C3 RPgnfgexYEm7QLOqp/40bApYYchEM/VWgFmUAKJjGIfFxPfE5Tzj/fCuhERnLs8N78Oa s1OQ== X-Received: by 10.60.74.232 with SMTP id x8mr205245oev.84.1409564894275; Mon, 01 Sep 2014 02:48:14 -0700 (PDT) Original-Received: by 10.182.125.5 with HTTP; Mon, 1 Sep 2014 02:48:14 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:92918 Archived-At: --001a113483b4cfab880501fde6da Content-Type: text/plain; charset=UTF-8 class X { public void x () { for (int this_is_not_a_function_name : getX ()) { } } } In current trunk (compiled five minutes ago) 'this_is_not_a_function_name' above is fontified as a function name. This seems to depend on whether I have '()' after 'getX' or not. Paul --001a113483b4cfab880501fde6da Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
class X
{
=C2=A0=C2=A0=C2=A0 public void x= ()
=C2=A0=C2=A0=C2=A0 {
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 f= or (int this_is_not_a_function_name : getX ()) {
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 }
=C2=A0=C2=A0=C2=A0 }
}

In curren= t trunk (compiled five minutes ago) 'this_is_not_a_function_name' a= bove is fontified as a function name. This seems to depend on whether I hav= e '()' after 'getX' or not.

Paul
--001a113483b4cfab880501fde6da--