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.devel Subject: Re: Semantic font-lock for Java Date: Tue, 28 Jan 2020 19:43:49 +0000 Message-ID: <20200128194349.GA6394@ACM> References: <83eevsx1eh.fsf@gnu.org> <83wo9jtncf.fsf@gnu.org> 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="122781"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Anand Tamariya Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 28 20:44:57 2020 Return-path: Envelope-to: ged-emacs-devel@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 1iwWnB-000VuW-IE for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Jan 2020 20:44:57 +0100 Original-Received: from localhost ([::1]:36712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwWnA-0002xo-MA for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Jan 2020 14:44:56 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35479) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iwWmA-0001NI-IC for emacs-devel@gnu.org; Tue, 28 Jan 2020 14:43:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iwWm9-0001uc-Dz for emacs-devel@gnu.org; Tue, 28 Jan 2020 14:43:54 -0500 Original-Received: from colin.muc.de ([193.149.48.1]:48469 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1iwWm9-0001r2-2t for emacs-devel@gnu.org; Tue, 28 Jan 2020 14:43:53 -0500 Original-Received: (qmail 21305 invoked by uid 3782); 28 Jan 2020 19:43:52 -0000 Original-Received: from acm.muc.de (p4FE15BB8.dip0.t-ipconnect.de [79.225.91.184]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 28 Jan 2020 20:43:49 +0100 Original-Received: (qmail 6590 invoked by uid 1000); 28 Jan 2020 19:43:49 -0000 Content-Disposition: inline In-Reply-To: X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:244727 Archived-At: Hello, Anand. On Thu, Jan 23, 2020 at 11:06:57 +0530, Anand Tamariya wrote: [ .... ] > BTW I should admit that it is WIP. Right now, my focus is only on accuracy. > I have made no attempts on optimization. So consider the results > accordingly. Just as a matter of interest, CC Mode has an extensive test suite for indentation and fontification. It is available in directory /tests in the mercurial repository which can be downloaded as detailed on http://cc-mode.sourceforge.net/hgaccess.php. You might find the parts dealing with Java and fontification interesting or useful. There are instructions on use near the beginning of the file 000tests.el [ .... ] -- Alan Mackenzie (Nuremberg, Germany).