From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Reuben Thomas via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#20741: 24.4; flyspell doesn't work with abbreviations ending in a period Date: Mon, 14 Feb 2022 15:27:54 +0000 Message-ID: References: <87pp5az1u7.fsf@sc3d.org> <83twumnem2.fsf@gnu.org> <83iob1nxfb.fsf@gnu.org> <87o83bxhll.fsf@gnus.org> <83fsonq6w9.fsf@gnu.org> <83k0dxpo5f.fsf@gnu.org> <83ee45pj7r.fsf@gnu.org> Reply-To: Reuben Thomas Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000190b3f05d7fc1066" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34530"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 20741@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 14 17:14:29 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1nJdzh-0008o8-Gz for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Feb 2022 17:14:29 +0100 Original-Received: from localhost ([::1]:38834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJdzg-00053r-0r for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Feb 2022 11:14:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJdHi-0006l3-Qt for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 10:29:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJdHi-00048V-HB for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 10:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nJdHi-0003lc-Bg for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 10:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Feb 2022 15:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20741 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 20741-submit@debbugs.gnu.org id=B20741.164485250414405 (code B ref 20741); Mon, 14 Feb 2022 15:29:02 +0000 Original-Received: (at 20741) by debbugs.gnu.org; 14 Feb 2022 15:28:24 +0000 Original-Received: from localhost ([127.0.0.1]:42317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJdH6-0003kG-4H for submit@debbugs.gnu.org; Mon, 14 Feb 2022 10:28:24 -0500 Original-Received: from mail-pj1-f48.google.com ([209.85.216.48]:44879) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJdGu-0003jp-CN for 20741@debbugs.gnu.org; Mon, 14 Feb 2022 10:28:22 -0500 Original-Received: by mail-pj1-f48.google.com with SMTP id d9-20020a17090a498900b001b8bb1d00e7so16158600pjh.3 for <20741@debbugs.gnu.org>; Mon, 14 Feb 2022 07:28:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MV4enPLMS3UjgM30BU8GeR1gv3oJcb5yAUJQWrB/+Uo=; b=eFnJ9XUcnfF5Fh36oA+Tauq6tiblk/EjGYod7EWcyqdFOL4fEI8ns4VfnJCfMceVOv XHZWy2GWDTJp2SD4f3DNBycZmOiv/JCOo+NDKklsTjP4nEO29EOIxgIiwkKEhXgKGLQD s2DLLy3nb6kpfhbBGzyNIvU0TgFgJG6D0nocM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MV4enPLMS3UjgM30BU8GeR1gv3oJcb5yAUJQWrB/+Uo=; b=FAkO9GedhRhTGj279qX+tlW8Zldrh8iyBdF9PS30YNUwJ64Ez62Oo0YERxyRLz1CKg V5tJK4yiQV/CjM787xir05i+XaM9sd9YvQVsuIkQmU2SC1ukNox7MXRUCDiNoHrfi2Qn WC4ENQSRWpQ/wUAoZNmPXQt9L1HVF/cqz57szTEpZ3HvpAQTQD5oYq7z8/8SsQRz0iD4 hLwQDOpE9EOaTbjLKg0kPd5HqIrLKtFoWOecMZqL4UGMvowMNWJCD1pUekckQ64mwdWt uRGxLpVqKYpJW/pX+muVw3cUh1ai5LhUF0RvjQ/hRf8j+rTdmcEbI5nfaHG35Aa3n9mb 0Y2A== X-Gm-Message-State: AOAM5304VKy7BBVHPAtjiHN06d5TsgvA4CjRUz4tvXD7Y4Ioj3WqNARJ fNdhq/ZdBYV9g4iZCrmXgOCot1vVXWJJbZnOfYf0jqFYq8w= X-Google-Smtp-Source: ABdhPJy4jpri4xXfTcYLT5PzvegCMAbqI7Q8MtUrpNEnh47lGnOnQDn6vpUZjQvUP516wuUJrLO/pfNVKFe3P4ZAvrw= X-Received: by 2002:a17:902:bd4a:: with SMTP id b10mr279387plx.152.1644852485352; Mon, 14 Feb 2022 07:28:05 -0800 (PST) In-Reply-To: <83ee45pj7r.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:226903 Archived-At: --000000000000190b3f05d7fc1066 Content-Type: text/plain; charset="UTF-8" On Mon, 14 Feb 2022 at 15:21, Eli Zaretskii wrote: > > It's the same case: references to variables and other symbols in > comments and strings of a program are very frequent. They are also > very frequent in email messages which discuss programming, such as > this discussion (I have Flyspell turned on in all my email buffers). > I think we can distinguish 3 different problems here: 1. Natural language spellchecking. That's what this issue is about. 2. Spell-checking code. (Essentially, identifiers.) 3. Finding code inside natural language, and checking it as if it were code. (That's what you're talking about here.) This is not a spellchecking problem, it's a problem of identifying which spell-checking apparatus to use, rather like font-lock for multi-language buffers. It's hard to see how to do it without some syntactic clue (e.g. the use of backticks in markdown), as used in multi-language buffers for font-locking. -- https://rrt.sc3d.org --000000000000190b3f05d7fc1066 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, 14 Feb 2022 at 15:21, Eli Zaretskii <eliz@gnu.org> wrote:

It's the same case: references to variables and other symbols in
comments and strings of a program are very frequent.=C2=A0 They are also very frequent in email messages which discuss programming, such as
this discussion (I have Flyspell turned on in all my email buffers).

I think we can di= stinguish 3 different problems here:

1. Natural language spellchecking. That's what this issu= e is about.
2. Spell-checking code. (Essentially, i= dentifiers.)
3. Finding code inside natural languag= e, and checking it as if it were code. (That's what you're talking = about here.) This is not a spellchecking problem, it's a problem of ide= ntifying which spell-checking apparatus to use, rather like font-lock for m= ulti-language buffers. It's hard to see how to do it without some synta= ctic clue (e.g. the use of backticks in markdown), as used in multi-languag= e buffers for font-locking.

--
<= a href=3D"https://rrt.sc3d.org" target=3D"_blank">https://rrt.sc3d.org<= /div>
--000000000000190b3f05d7fc1066--