From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail
From: Anand Tamariya <atamariya@gmail.com>
Newsgroups: gmane.emacs.devel
Subject: Re: Semantic font-lock for Java
Date: Wed, 22 Jan 2020 10:43:21 +0530
Message-ID: <CADm7Y4=isYoz05oYk+J597WykFqfbtr7JcxELeYE2-Fq9n7aig@mail.gmail.com>
References: <CADm7Y4mgswK2UmTG8ivPZZNXV-WfJBUrBeMhoOLqran4ng_BTg@mail.gmail.com>
 <83eevsx1eh.fsf@gnu.org>
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="000000000000f43fa4059cb395b0"
Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202";
	logging-data="94664"; mail-complaints-to="usenet@ciao.gmane.io"
Cc: emacs-devel@gnu.org
To: Eli Zaretskii <eliz@gnu.org>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 22 06:14:12 2020
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
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 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1iu8LE-000ObF-Om
	for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Jan 2020 06:14:12 +0100
Original-Received: from localhost ([::1]:36748 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>)
	id 1iu8LD-00072z-RD
	for ged-emacs-devel@m.gmane-mx.org; Wed, 22 Jan 2020 00:14:11 -0500
Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57141)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <atamariya@gmail.com>) id 1iu8Kf-0006ZF-8h
 for emacs-devel@gnu.org; Wed, 22 Jan 2020 00:13:38 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <atamariya@gmail.com>) id 1iu8Kd-0003RL-51
 for emacs-devel@gnu.org; Wed, 22 Jan 2020 00:13:37 -0500
Original-Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]:38815)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <atamariya@gmail.com>)
 id 1iu8Kb-0003PT-E6; Wed, 22 Jan 2020 00:13:33 -0500
Original-Received: by mail-io1-xd2e.google.com with SMTP id i7so5411273ioo.5;
 Tue, 21 Jan 2020 21:13:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=iUkL8ZZwjinMBlvawkYdlprzKxuVqCmVVqTVxpGYmXs=;
 b=M3ryE9QpRe+P19qWJvT7wr/PnRZ29oWTZ7Yq6xfcYzs4rKs/ijQt14jyAxs84q9G+8
 bUp36osvh4o6JHQk0M6kfLJIfuiOFeTD2kBgUW2UxCVltRoD/GRu/ytNyvgc+OsLBeC/
 0Cm0ra8Z0hNQFKbXv8a4E/lftcUXm0g5wD5MDSR1uh6TQI/5Og7dVUgDg5xRm3wOlUeu
 5Hy3qAYQcgJLZPTwPXt8m+u0g7rEIsv6T+xN19+N7SW585kvHAoz+uS0Z3m/xvA8L6On
 0M84gtbUkzT3zjBE4UlppPxh1v2uw7+izGcs+JbNLsp/vyorfsoubUgS5By1g2AgYr/5
 MI4Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=iUkL8ZZwjinMBlvawkYdlprzKxuVqCmVVqTVxpGYmXs=;
 b=Z0wNWf1D1ccprD0aFV7i1RfLGb2rv88pDNqyWhUugtTN36/sAq2Q64buraekTrlnY6
 p0ANfeIl6HF+Bpk3KwrrmFY4/oUNrbyV+l21JJxWTzvUAtv7ON8YvFDbbmVPR7adkBfZ
 4PUbbTvgWdywW4CW6ja9916gmPJN4h2Rl2dnu/4pCMqEoHyEyvaLVSbPPDpGXFRnplpB
 U9uCN0plbKfn2gt3LCzZFAvbBlGeErJRMFb52pB4KKixjFcsZbl8ZCc5xgojdEtneAZc
 Inibn0stm+Vz9MHQNMJA8v72yR9lNOJ4QoBhFrfkVyDnOMTCPVpUFJHrSATjLELXrR8U
 naOw==
X-Gm-Message-State: APjAAAXuqcrX+IPSFjGKrkrpRGLP7SUdk6JSYLpxgfxss6Qmc9+2r6uQ
 fus+blrvyMGfx4ZgtWMl+V3iFBkVDWcmSzwTHGXFJT/tIQM=
X-Google-Smtp-Source: APXvYqzLmvLJef+1Gnc0hMEkwLdQ2ECrXx72N5+iy8GtAZI6gWPh3rV21VgEUjOs48lbJqfFrV4vq70SxiWg/XNzj3E=
X-Received: by 2002:a6b:e204:: with SMTP id z4mr2423587ioc.308.1579670012443; 
 Tue, 21 Jan 2020 21:13:32 -0800 (PST)
In-Reply-To: <83eevsx1eh.fsf@gnu.org>
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2607:f8b0:4864:20::d2e
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
 <mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org
Original-Sender: "Emacs-devel"
 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>
Xref: news.gmane.io gmane.emacs.devel:244482
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/244482>

--000000000000f43fa4059cb395b0
Content-Type: text/plain; charset="UTF-8"

> This seems to be a complete forked repository.  Is it possible to show
> a patch relative to the current master?
>
https://gitlab.com/atamariya/emacs/compare/v0.5...dev

Most relevant changes are in lisp/cedet/semantic/java.el . Other minor
changes are for disabling jit-lock.
- Font lock setup : semantic-font-lock-mode()
- Fontify region function: extract()
- Helper function: semantic-fontify-tag()

you could run a benchmark of scrolling through a
> large source file top to bottom, and show the results in terms of time
> and number of GCs.

Not sure how to do this. If you can help me with steps, I can collect the
data.

--000000000000f43fa4059cb395b0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_quote"><blockquote class=3D"gmail_=
quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,=
204);padding-left:1ex">
This seems to be a complete forked repository.=C2=A0 Is it possible to show=
<br>
a patch relative to the current master?<br></blockquote><div><a href=3D"htt=
ps://gitlab.com/atamariya/emacs/compare/v0.5...dev">https://gitlab.com/atam=
ariya/emacs/compare/v0.5...dev</a></div><div><br></div><div>Most relevant c=
hanges are in lisp/cedet/semantic/java.el . Other minor changes are for dis=
abling jit-lock.</div><div>- Font lock setup : semantic-font-lock-mode()</d=
iv><div>- Fontify region function: extract()</div><div>- Helper function: s=
emantic-fontify-tag()</div><div><br><div class=3D"gmail_quote"><blockquote =
class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px sol=
id rgb(204,204,204);padding-left:1ex">you could run a benchmark of scrollin=
g through a<br>
large source file top to bottom, and show the results in terms of time<br>
and number of GCs.</blockquote><div>Not sure how to do this. If you can hel=
p me with steps, I can collect the data. <br></div></div></div></div></div>

--000000000000f43fa4059cb395b0--