From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Peter Oliver Newsgroups: gmane.emacs.devel Subject: Re: Grammar checking in Emacs Date: Mon, 15 Nov 2021 22:43:56 +0000 (GMT) Message-ID: <297e7f60-e97d-f162-d57-13335b65f4c4@froglet.home.mavit.org.uk> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="-1463811583-399141818-1637016236=:3494" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23769"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, =?ISO-8859-15?Q?Daniel_Mart=EDn?= To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 15 23:47:59 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 1mmkla-0005ya-8P for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Nov 2021 23:47:58 +0100 Original-Received: from localhost ([::1]:44434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmklY-0003sR-RL for ged-emacs-devel@m.gmane-mx.org; Mon, 15 Nov 2021 17:47:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmkhp-0001Tt-JM for emacs-devel@gnu.org; Mon, 15 Nov 2021 17:44:05 -0500 Original-Received: from [2a00:1450:4864:20::332] (port=35660 helo=mail-wm1-x332.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmkhm-0003mU-V1 for emacs-devel@gnu.org; Mon, 15 Nov 2021 17:44:04 -0500 Original-Received: by mail-wm1-x332.google.com with SMTP id 77-20020a1c0450000000b0033123de3425so478522wme.0 for ; Mon, 15 Nov 2021 14:44:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mavit.org.uk; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :mime-version; bh=pBpM+bSlH3UGYNsORzm63c/AuJx6Ojg3VO3sepGZiN8=; b=URK00e12DwezTz3TLsBxTV9p1Qm3x3JKLyurbJuZsnP6h2UTnDy4Bnd35tsKujVp8L fDJ/aoMGOvqibWYLuKeNwQ6Ha9FXOEKTFGGJp9P6ndkrGVXZlJR/DJTUSc2cGCW7d9vW c+BG9v0c3rCMP8hWTCp+1ZVw0jkwh9o9rEQWk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:mime-version; bh=pBpM+bSlH3UGYNsORzm63c/AuJx6Ojg3VO3sepGZiN8=; b=fkMsFDT3i+WYSLitOzsnf7vG9PnlaHCeJ5eyJ6VtxfvseM8GXEfxxA1qbTWoDObHJP DUtnhgiNDbfGedtrKOP7ZQv/vfhjuYoa7gj3vvVp3LJmn7DL7IBmNo570mwBbNE3v+yY ZlozNx1zZRDVKvQ14tnxt+4t4wWlhvTossMP6RjlmeOgDqY32V+lZ+pC1kaHXdOHIiyZ Ga0UuRhv6A7HwIRgNJWBwc0tBoBq6NDv/MJMWRqYrfjUa0XG+kjo/1jNVJdpKvSB8iLb KqV4E3K63I5lbGN8TOpIPCVNWb20lyKpfIQGq1DWwV6vFen0hdY1ec97zvi9wW0y+bor 7YIA== X-Gm-Message-State: AOAM532XdrN+ETbDu2hWlniZ3ygRSOCk8e4csckoCDupQUIp3cju3zVJ j3PHd0yMFVouw+KeSEOSvdWOmg== X-Google-Smtp-Source: ABdhPJxdt5ib9+RjIOlf5N2hOpY2cbb4iUKGhRSMXzbzXwbrQDNU5ZqGAH2uLSMY9YhAGeLWUX3BiQ== X-Received: by 2002:a7b:ce16:: with SMTP id m22mr2201216wmc.39.1637016238910; Mon, 15 Nov 2021 14:43:58 -0800 (PST) Original-Received: from froglet.home.mavit.org.uk (cpc118948-dudl14-2-0-cust32.16-1.cable.virginm.net. [82.37.201.33]) by smtp.gmail.com with ESMTPSA id d6sm15494443wrx.60.2021.11.15.14.43.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Nov 2021 14:43:58 -0800 (PST) Original-Received: from froglet.home.mavit.org.uk (localhost [127.0.0.1]) by froglet.home.mavit.org.uk (8.17.1/8.15.2) with ESMTPS id 1AFMhuSj005581 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 15 Nov 2021 22:43:56 GMT Original-Received: from localhost (mavit@localhost) by froglet.home.mavit.org.uk (8.17.1/8.17.1/Submit) with ESMTP id 1AFMhuXI005578; Mon, 15 Nov 2021 22:43:56 GMT X-Authentication-Warning: froglet.home.mavit.org.uk: mavit owned process doing -bs In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::332 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=p.d.oliver@mavit.org.uk; helo=mail-wm1-x332.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=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:279521 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463811583-399141818-1637016236=:3494 Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 8BIT On Sun, 14 Nov 2021, Stefan Monnier wrote: > 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. I recently enhanced flycheck-languagetool so that it¢s able to start its own server if so configured, so I¢m sure something similar could be done with the various other LanguageTool modes. > Sadly it's not packaged for Debian (see > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=403619 suggests for > the details). I can't see any info about using it on Fedora either. Fedora have pretty much given up on packaging Java applications now, I think. > AFAICT the most popular way to install it is as a "snap" package, which > I consider to be a euphemism for a blob :-( You can unzip prebuilt JARs from https://languagetool.org/download/LanguageTool-stable.zip, which seems simpler but similarly blobby. -- Peter Oliver ---1463811583-399141818-1637016236=:3494--