From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alexandre Garreau Newsgroups: gmane.emacs.devel Subject: Re: Grammar checking in Emacs Date: Tue, 16 Nov 2021 07:28:57 +0100 Message-ID: <14139634.W7bVFoZECn@galex-713.eu> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8797"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , Daniel =?ISO-8859-1?Q?Mart=EDn?= To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 16 07:31:02 2021 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 1mmrzi-00025Z-8B for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Nov 2021 07:31:02 +0100 Original-Received: from localhost ([::1]:51496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmrzg-0005Cc-DR for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Nov 2021 01:31:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43856) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmrxo-00043Y-UM for emacs-devel@gnu.org; Tue, 16 Nov 2021 01:29:04 -0500 Original-Received: from [2a00:5884:8305::1] (port=36152 helo=galex-713.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmrxm-0007ls-PP for emacs-devel@gnu.org; Tue, 16 Nov 2021 01:29:04 -0500 Original-Received: from gal by galex-713.eu with local (Exim 4.92) (envelope-from ) id 1mmrxi-0005oH-2d; Tue, 16 Nov 2021 07:28:58 +0100 In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:5884:8305::1 (failed) Received-SPF: pass client-ip=2a00:5884:8305::1; envelope-from=galex-713@galex-713.eu; helo=galex-713.eu X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:279535 Archived-At: Le lundi 15 novembre 2021, 03:46:19 CET Stefan Monnier a =C3=A9crit : > > The question is if those feelings about grammar checking still hold > > true. I think one of the most popular free programs to do grammar > > checking is LanguageTool (https://languagetool.org). I've quickly > > tested it and it detected some non-trivial grammar mistakes, in > > English > > and Spanish at least. I didn't see false positives, which is a good > > thing in this kind of tools. You can try the tool from its website > > without installing it on your computer. >=20 > IIUC (after looking at https://github.com/languagetool-org/languagetool) > this is structured as a grammar-checking server (written in Java) that > can run on a remote host and then client applications connect to it and > presumably send their text to it a bit like they'd do with an LSP > server, except the clients aren't expected to launch the server. >=20 > Sadly it's not packaged for Debian (see > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D403619 suggests for > the details). I can't see any info about using it on Fedora either. > AFAICT the most popular way to install it is as a "snap" package, which > I consider to be a euphemism for a blob :-( a very heavy and hype blob > > Is there interest in having this feature in Emacs? Perhaps as an ELPA > > package, if the technology is not mature enough to have it in Core? >=20 > I think it would be nice to provide a package for such grammar checking, > yes. We should be careful not to encourage users to just connect to > someone else's LaguageTool server, since that would be SaaSS, but other > than that I see no reason not to have such a package in GNU ELPA. I > don't expect many users to have such a server, so it's probably not > widespread enough to justify having it in core, currently. I wonder if the increasing tendency to write software extensions as=20 servers instead of libraries is calculated not only to promote SaaSS and=20 dependency, but even to promote a way of interfacing software that allows=20 circumventing copyleft=E2=80=A6