From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#24671: java-mode confused by non-trivial generics Date: Sat, 27 Jul 2019 16:36:23 +0000 Message-ID: <20190727163623.GA9075@ACM> References: <20190727141424.74896.qmail@mail.muc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="213364"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: 24671@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 27 18:37:10 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrPgz-000tND-Oi for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jul 2019 18:37:09 +0200 Original-Received: from localhost ([::1]:46588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrPgy-0001ap-H4 for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jul 2019 12:37:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44048) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrPgt-0001Yy-SB for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 12:37:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hrPgs-0001x7-R7 for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 12:37:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36470) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hrPgs-0001x3-MQ for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 12:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hrPgs-0002sO-I1 for bug-gnu-emacs@gnu.org; Sat, 27 Jul 2019 12:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jul 2019 16:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24671 X-GNU-PR-Package: emacs Original-Received: via spool by 24671-submit@debbugs.gnu.org id=B24671.156424538910982 (code B ref 24671); Sat, 27 Jul 2019 16:37:02 +0000 Original-Received: (at 24671) by debbugs.gnu.org; 27 Jul 2019 16:36:29 +0000 Original-Received: from localhost ([127.0.0.1]:45288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrPgK-0002r4-Pi for submit@debbugs.gnu.org; Sat, 27 Jul 2019 12:36:29 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:26079 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1hrPgJ-0002qu-3H for 24671@debbugs.gnu.org; Sat, 27 Jul 2019 12:36:27 -0400 Original-Received: (qmail 14981 invoked by uid 3782); 27 Jul 2019 15:43:56 -0000 Original-Received: from acm.muc.de (p2E5D5C03.dip0.t-ipconnect.de [46.93.92.3]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 27 Jul 2019 17:43:54 +0200 Original-Received: (qmail 9090 invoked by uid 1000); 27 Jul 2019 16:36:23 -0000 Content-Disposition: inline In-Reply-To: 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163898 Archived-At: Hello, Lars and Daniel. On Sat, Jul 27, 2019 at 17:11:23 +0200, Lars Ingebrigtsen wrote: > Alan Mackenzie writes: > > I think the bug should be reopened: it was about the syntax on < and > > > rather than the fontification. > > If you put point in front of any of the > execute C-M-f, moving to the matching >. > Oh, I see; reopening. > > This doesn't happen in the current scenario because the closing >s, > > written without intervening spaces, get confused with the Java shift > > right operator ">>>". If you insert a space into that triplet, the > > syntax comes back again. > > This will be easy to fix. > I bet. I've committed a fix to the master branch. Maybe one or both of you might want to try it out before the bug is closed. > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no -- Alan Mackenzie (Nuremberg, Germany).