From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Flyspell sans flyspell Date: Sat, 16 Jun 2018 13:57:30 +0100 Message-ID: References: <87po0sozfe.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000002c9656056ec25ea4" X-Trace: blaine.gmane.org 1529155890 485 195.159.176.226 (16 Jun 2018 13:31:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 16 Jun 2018 13:31:30 +0000 (UTC) Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 16 15:31:26 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fUBIb-0008R9-Aq for ged-emacs-devel@m.gmane.org; Sat, 16 Jun 2018 15:31:25 +0200 Original-Received: from localhost ([::1]:51595 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUBKi-0001SJ-CB for ged-emacs-devel@m.gmane.org; Sat, 16 Jun 2018 09:33:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUBJw-0001SE-7s for emacs-devel@gnu.org; Sat, 16 Jun 2018 09:32:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUBJv-000407-AD for emacs-devel@gnu.org; Sat, 16 Jun 2018 09:32:48 -0400 Original-Received: from mail-it0-x233.google.com ([2607:f8b0:4001:c0b::233]:51912) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fUBJv-000401-56 for emacs-devel@gnu.org; Sat, 16 Jun 2018 09:32:47 -0400 Original-Received: by mail-it0-x233.google.com with SMTP id n7-v6so6395566itn.1 for ; Sat, 16 Jun 2018 06:32:46 -0700 (PDT) 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=uzZRIBy8SqVrVkZGxycUxAD+s9iUOSdw2OAiheTj3JQ=; b=euS5jUXOD6GkCl+D+VYlaZSDJX6vtFyedoCdAZX2sOy3B8QvcwF9/1AMSDHNZ40LIJ +Yn14/KELrGhADeQqPbXKxBivMCTgEfKJFOlW4bZxiiRbOw2dZd0KxT0inIu2x2fWLUx p7lTa8RmJx7PVzoBQ2Q6xY41eGGYSstggB5ulpi6a0PJSmmD3pLFw0c7VtPNBI0r8pk7 1alj85ImudMNky1azTL6asWE1SYi9ANznXstDkD901/g03nHi+Wprs6cHSLh2j4ihFNd JuEsAUygdWP7Ne/HJSl037KDfdRmUbw2sWoCh73TAnabaxDyzd/l+YllOSlBxDjkKbIt 4V2w== 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=uzZRIBy8SqVrVkZGxycUxAD+s9iUOSdw2OAiheTj3JQ=; b=eT7EwFWT3UpF9DtlLZ9fEAp+xrF9DHjfvhnolQIwrfsLIjVeVxYx58KRDNdLmmJ8RU yRJL0HijxtsocCofrE8AjeISq+tqDz5sdodN6js5Ox2oRKGREVwPFnwbY26vmaer3EAL wL4waelk92MxyvXxmjX2HY70wX7sAtUHfsyVmDUhZ5PHWrv25cvtrNDJ2rvHxaBSzB0L kI9V8RwWmShvTO3zOfMJPeJpxVPlUsuKDmgd24ql0QESy+EzNNxqaoisjmsEvI5uZtOe yxeu25asV3rYTMSHplgDG6D1JH/raq9yYIl/U6jH0UIba71KuqMZAnY+Gpsg2LMche3R dkvQ== X-Gm-Message-State: APt69E0DkSQwCNG6o40bJHnHqoQK9GA/dbBASJlHXZjIt07b9uNHSKOx p1zM+pPFd00HTQJZSRmvEu3mzZaIhp3xDdDsJX8iWg== X-Google-Smtp-Source: ADUXVKIo+9RxBiTYynPIIDfFjQtg1RBiARP1NFqSCQT2okexWLE1lCwFwQZqG6m0ST/PFVY5Ja9AYIS56gZs2MlidUI= X-Received: by 2002:a24:8b81:: with SMTP id g123-v6mr4617645ite.67.1529155966240; Sat, 16 Jun 2018 06:32:46 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c0b::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:226358 Archived-At: --0000000000002c9656056ec25ea4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Jun 16, 2018, 01:25 Stefan Monnier wrote= : > > Or rather, avec du Flymake. I just pushed some updates that allow > > Flymake and backends to exchange hints about the modified portions of > > the buffer. > > Thanks. > Yeah, let's hope the API makes sense, I haven't tested with anything other than flyspell, so I was hoping you could come up with interesting cases. > > This in turn allowed me to build a very simple prototype > > flyspell-flymake.el (attached after the sig) with backends that reuse > > Flyspell's machinery and turn Flymake into a spell checker. > > Hmm... I would have expected that it's easier to link flymake to > ispell.el than to flyspell.el. But, I admit to not having actually > looked at flyspell's code. > Likewise for ispell from my side. How would you do it there? In particular, I'd like the flymake backend to issue a different diagnostic type for misspellings that have affix rules (a lot of those in Portuguese). Flyspell appears to not care. Jo=C3=A3o --0000000000002c9656056ec25ea4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, = Jun 16, 2018, 01:25 Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> Or rather, avec du Flymake.=C2=A0 I just pushed some upd= ates that allow
> Flymake and backends to exchange hints about the modified portions of<= br> > the buffer.

Thanks.

Yeah, let's hope the API makes sense, I haven't tested with = anything other than flyspell, so I was hoping you could come up with intere= sting cases.


> This in turn allowed me to build a very simple prototype
> flyspell-flymake.el (attached after the sig) with backends that reuse<= br> > Flyspell's machinery and turn Flymake into a spell checker.

Hmm... I would have expected that it's easier to link flymake to
ispell.el than to flyspell.el.=C2=A0 But, I admit to not having actually looked at flyspell's code.

Likewise for ispel= l from my side.=C2=A0 How would you do it there?=C2=A0 In particular, I'= ;d like the flymake backend to issue a different diagnostic type for misspe= llings that have affix rules (a lot of those in Portuguese). Flyspell appea= rs to not care.

Jo=C3=A3= o
--0000000000002c9656056ec25ea4--