From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Anand Tamariya Newsgroups: gmane.emacs.devel Subject: Re: Semantic font-lock for Java Date: Wed, 22 Jan 2020 10:43:21 +0530 Message-ID: References: <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 Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 22 06:14:12 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 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 ) 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 ) 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 ) 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 ) 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." 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:244482 Archived-At: --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

This seems to be a complete forked repository.=C2=A0 Is it possible to show=
a patch relative to the current master?

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

you could run a benchmark of scrollin= g 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 hel= p me with steps, I can collect the data.
--000000000000f43fa4059cb395b0--