From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: yyoncho Newsgroups: gmane.emacs.devel Subject: Re: Using incremental parsing in Emacs Date: Sun, 5 Jan 2020 21:14:18 +0200 Message-ID: References: <83blrkj1o1.fsf@gnu.org> <86zhf4gwhl.fsf@stephe-leake.org> <83tv5cgvar.fsf@gnu.org> <86v9psgkqe.fsf@stephe-leake.org> <83mub3hao7.fsf@gnu.org> <86r20fgh01.fsf@stephe-leake.org> <83y2unf14x.fsf@gnu.org> <86lfqlhm0s.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000029d3a0059b695ac8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="204773"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 05 20:15:02 2020 Return-path: Envelope-to: ged-emacs-devel@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 1ioBMc-000r7G-ER for ged-emacs-devel@m.gmane.org; Sun, 05 Jan 2020 20:15:02 +0100 Original-Received: from localhost ([::1]:44512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioBMa-000478-LS for ged-emacs-devel@m.gmane.org; Sun, 05 Jan 2020 14:15:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46109) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioBM9-0003hB-9i for emacs-devel@gnu.org; Sun, 05 Jan 2020 14:14:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ioBM8-0007aC-7v for emacs-devel@gnu.org; Sun, 05 Jan 2020 14:14:33 -0500 Original-Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:40231) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ioBM8-0007ZE-0b for emacs-devel@gnu.org; Sun, 05 Jan 2020 14:14:32 -0500 Original-Received: by mail-lf1-x134.google.com with SMTP id i23so35023807lfo.7 for ; Sun, 05 Jan 2020 11:14:31 -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=ckFnQj0VkcEQKKl/hEsEHQV0ryhNaTzOg/2x0UWsc8M=; b=gLDYWQ+iC36C/OJivhVUHGe+Bqe8mIFRUOFEouSBhIi5KPC/uBFLtvcn0QGxyoTtlB gi3ftdIMT7HH9xhHjt+AxJpInNU7OSt61CUbAJQpkfn6QS+gOIzuhZ2IVZ9Jy1wneBYI nUnm419KCB4g4gYV652pOPfSlU4r9dqy3X3imwQYnXhjARk3ey7HBDXmMkleNlxdtBzM q5BzGHgBouFY0o3cTFNddc87w+TDd1I8ZDRmFRBzVQP6AG4wnxmsYkDBQ03lMrQRWyz8 EjcHJ25B8ycXR3aeA4elKF0VDt3puYpUOUY9GJ98V811lwQeHwoSYASZwcqUnk+A+vA0 PROg== 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=ckFnQj0VkcEQKKl/hEsEHQV0ryhNaTzOg/2x0UWsc8M=; b=P0qJknKpsoYftvdYd3uWTdgSw/+zElboj2iIWYa5T5qOu+Yq9820OgBqk3639EhbPu b6BOhxqQmvr5dDMZ5vyZB+oFGzngj8dLY6NcMOW+1+oXCkveJ6lbtME549ktOCK6cgSL hpASp4UbFxrKkthBzb7BnHlMYmogEK9N90dmCeqkjhyno0YWQLViA+fX8cKVoyRzagVn V+W80nLu2iwVt/7coQo+b9VaiHmK4exTd/ZRt0XqwuzIfHybACyvMZMWr2YObRhQnSeL 5h2YyVqs/f5HiwlNOtbrQx65CovwAQvRfdr6bIEVGIjdqJpp3n08rVPQl/0LbEd5qtlP pj5A== X-Gm-Message-State: APjAAAWIoACeU7d/viNykLJCu3BA/xEee6AqnjeVXeZaxPyLP2BFJe8X /wqvKfFBzSOa01Tp/4xhe5GvtKPvx8H1GmJZn9vpXA== X-Google-Smtp-Source: APXvYqxzKZGWZt8Pe9Lu/XPpjgcWkpJCyo7XeL6BcgHc50hu2ENnnUWO228jQQcBW+tNrjMsp/TiMPhjlQOEwcVloLM= X-Received: by 2002:a19:4849:: with SMTP id v70mr54402993lfa.30.1578251670113; Sun, 05 Jan 2020 11:14:30 -0800 (PST) In-Reply-To: <86lfqlhm0s.fsf@stephe-leake.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::134 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:243992 Archived-At: --00000000000029d3a0059b695ac8 Content-Type: text/plain; charset="UTF-8" On Sun, Jan 5, 2020 at 7:05 PM Stephen Leake wrote: > It appears LSP is not actually a "standard", just something Microsoft is > making available; it is totally controlled by Microsoft. I'd be happier > if they turned it over to some standards org (FSF, ISO, IEEE, ...). > The funniest part is that the developers of the server most of the time do not care much about the standard but only whether it works with vscode. To give you an example, when receiving the completion results the client is supposed to calculate the prefix and filter against it. In html file if you have


=
On Sun, Jan 5, 2020 at 7:05 PM Stephe= n Leake <stephen_leake= @stephe-leake.org> wrote:
It appears LSP is not actually a "standard", jus= t something Microsoft is
making available; it is totally controlled by Microsoft. I'd be happier=
if they turned it over to some standards org (FSF, ISO, IEEE, ...).

The funniest part is that the developers of th= e server most of the time do not care much about the standard but only whet= her it works with vscode. To give you an example, when receiving the comple= tion results the client is supposed to calculate=C2=A0the prefix and filter= against it. In html file if you have <foo it will calculate the prefix = foo but if you are in xml file and you want to complete <foo the prefix = to match against is <foo. So, if we want to work against these servers w= e have to implement the vscode's bizarre=C2=A0behaviour.=C2=A0

--00000000000029d3a0059b695ac8--