From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20741: 24.4; flyspell doesn't work with abbreviations ending in a period Date: Mon, 14 Feb 2022 18:42:18 +0200 Message-ID: <83czjppfh1.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33296"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 20741@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 14 17:43:15 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 1nJeRW-0008S9-1H for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Feb 2022 17:43:14 +0100 Original-Received: from localhost ([::1]:57524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJeRV-0002BK-2P for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Feb 2022 11:43:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJeRK-0002AP-QY for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 11:43:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48517) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJeRK-0001wU-Gd for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 11:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nJeRK-0005vJ-FZ for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 11:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Feb 2022 16:43: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.164485694722723 (code B ref 20741); Mon, 14 Feb 2022 16:43:02 +0000 Original-Received: (at 20741) by debbugs.gnu.org; 14 Feb 2022 16:42:27 +0000 Original-Received: from localhost ([127.0.0.1]:42414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJeQl-0005uR-6z for submit@debbugs.gnu.org; Mon, 14 Feb 2022 11:42:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJeQj-0005u8-8R for 20741@debbugs.gnu.org; Mon, 14 Feb 2022 11:42:26 -0500 Original-Received: from [2001:470:142:3::e] (port=35212 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJeQd-0001tf-OU; Mon, 14 Feb 2022 11:42:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=IsjSvnmCWj2xb3iEbM1r3YJgrx/Mefe61XY6nbUCNsU=; b=XQx5f6yVrU2N kS9HlH5yov6hOhIZJdjSAujrmAPOM+h4Ip+ePvuaMHl17zulthRzOy/4iXMMiTdjDzUlAyXrovtgj QmWh1mI7hfk+BBJIVQBT9eiPFi+HvkIR5YSO/xTTxja6e7mAlluSsLFt/g4Fhk+L//hD/3Q5dGD1K wgezrrTQULrlYCSKL4w5VZnSmITJ4Cdj3dGGLyumw6fy0tLZT756sopynW7sCqfYi3rP8/mqaA4VU Dc5xbRkoY3XgJSJ65WjCqCPMzrmcAGBIa4R0zRvhrAjei/9SHooM1AADJNW10rG5RK3OqzljEU3qy 0LcZkkxdr5hDD8ju7gFW1Q==; Original-Received: from [87.69.77.57] (port=1186 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJeQd-0003ap-97; Mon, 14 Feb 2022 11:42:19 -0500 In-Reply-To: (message from Reuben Thomas on Mon, 14 Feb 2022 15:27:54 +0000) 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:226904 Archived-At: > From: Reuben Thomas > Date: Mon, 14 Feb 2022 15:27:54 +0000 > Cc: larsi@gnus.org, 20741@debbugs.gnu.org > > 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. Like I said: when we talk about this stuff in email, it's both case 1 and case 3. Anyway: what are the practical proposals for improving this? Are we going to handle only periods, or does anyone have a more general solution?