From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#18378: [Patch] wrong fontification of Java code Date: Tue, 11 Feb 2020 20:06:38 +0000 Message-ID: <20200211200638.GA6677@ACM> References: <87eevtq14x.fsf@marxist.se> <20200122205906.GC4319@ACM> <87h80mgt1q.fsf@marxist.se> <20200123180947.GA30959@ACM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="21830"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Jordon Biondo , 18378@debbugs.gnu.org, Paul Pogonyshev To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 11 21:07:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j1boP-0005as-Fq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Feb 2020 21:07:13 +0100 Original-Received: from localhost ([::1]:56696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1boO-0003j1-5D for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Feb 2020 15:07:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46497) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1boF-0003it-ML for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2020 15:07:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1boE-0004rI-Lh for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2020 15:07:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51622) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j1boE-0004qp-IK for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2020 15:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j1boE-0003IU-Ae for bug-gnu-emacs@gnu.org; Tue, 11 Feb 2020 15:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Feb 2020 20:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18378 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 18378-submit@debbugs.gnu.org id=B18378.158145160312643 (code B ref 18378); Tue, 11 Feb 2020 20:07:02 +0000 Original-Received: (at 18378) by debbugs.gnu.org; 11 Feb 2020 20:06:43 +0000 Original-Received: from localhost ([127.0.0.1]:57595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1bnv-0003Hr-5I for submit@debbugs.gnu.org; Tue, 11 Feb 2020 15:06:43 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:63130 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1j1bnt-0003Hi-As for 18378@debbugs.gnu.org; Tue, 11 Feb 2020 15:06:42 -0500 Original-Received: (qmail 42557 invoked by uid 3782); 11 Feb 2020 20:06:39 -0000 Original-Received: from acm.muc.de (p4FE15B78.dip0.t-ipconnect.de [79.225.91.120]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 11 Feb 2020 21:06:38 +0100 Original-Received: (qmail 6693 invoked by uid 1000); 11 Feb 2020 20:06:38 -0000 Content-Disposition: inline In-Reply-To: <20200123180947.GA30959@ACM> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:175954 Archived-At: Hello again, Stefan. Ping? -- Alan Mackenzie (Nuremberg, Germany). On Thu, Jan 23, 2020 at 18:09:47 +0000, Alan Mackenzie wrote: > Hello, Stefan. > On Thu, Jan 23, 2020 at 15:13:05 +0100, Stefan Kangas wrote: > > Hi Alan, > > Alan Mackenzie writes: > > > I missed this bug report back in 2014. The code has moved around so > > > much since then that Jordon's patch no longer applies. But a simple > > > patch with the same idea appears to fix this bug: > > Thanks for taking a look. > > With your fix, applied on the master branch, in the example given: > > class X > > { > > public void x () > > { > > for (int this_is_not_a_function_name : getX ()) { > > } > > } > > } > > The "int" no longer has font-lock-type-face. Should it? > That's funny. It has font-lock-type-face for me, in all of emacs-27, > master and standalone CC Mode (in master). font-lock-type-face is indeed > correct, here. > Are you sure you were .... (I don't think I need to fill in the dots for > you. ;-) > > Best regards, > > Stefan Kangas > -- > Alan Mackenzie (Nuremberg, Germany).