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 15:34:52 +0200 Message-ID: <83k0dxpo5f.fsf@gnu.org> References: <87pp5az1u7.fsf@sc3d.org> <83twumnem2.fsf@gnu.org> <83iob1nxfb.fsf@gnu.org> <87o83bxhll.fsf@gnus.org> <83fsonq6w9.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25550"; 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 15:27:11 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 1nJcJr-0006LQ-7H for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Feb 2022 15:27:11 +0100 Original-Received: from localhost ([::1]:49016 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJcJp-0003D1-Na for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Feb 2022 09:27:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJbWM-00045t-Tb for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 08:36:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46340) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJbWM-0005lK-JW for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 08:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nJbWM-0007lz-Ah for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 08:36: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 13:36: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.164484572129817 (code B ref 20741); Mon, 14 Feb 2022 13:36:02 +0000 Original-Received: (at 20741) by debbugs.gnu.org; 14 Feb 2022 13:35:21 +0000 Original-Received: from localhost ([127.0.0.1]:40237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJbVe-0007kp-F8 for submit@debbugs.gnu.org; Mon, 14 Feb 2022 08:35:21 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJbVR-0007jw-Jq for 20741@debbugs.gnu.org; Mon, 14 Feb 2022 08:35:17 -0500 Original-Received: from [2001:470:142:3::e] (port=58682 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 1nJbVK-0005VT-7e; Mon, 14 Feb 2022 08:34:59 -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=R96VDqDS5wmaRtuJms2oYtNpbs6LOmoW8RxfmXFQC48=; b=DfuDasl7QBIs HIXj3PejyyuBrbFQpL5HKIZagQup/93TCWDp81ELVZuI5tlc+S4a//EmsYABMLJMlQ2VvJanQjzff UvttmSnygpbbhosKlHZVBtwybcF/1uyX0bRHnKE3OYCD4jho/PVj0eKm/u11uGKEzkKkHWqnMaI23 Ba91C+HRhmav+uJdQ6r9/p14n6Klyl3Bwbvs0VB7SN238KNGosUgCUTM8X/Fv9RjeW9VeBIotmGGu EprOOvCnOFmrZtxPlyY81OvizTiX//lsXbnrr09wh8pnksqKnFQtdOwDdPydfvwqPA32sgM/M/AqX zxj3O+1R0PG0ea92BKGsfw==; Original-Received: from [87.69.77.57] (port=1667 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 1nJbVG-0007Ae-4H; Mon, 14 Feb 2022 08:34:57 -0500 In-Reply-To: (message from Reuben Thomas on Sun, 13 Feb 2022 21:33:32 +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:226884 Archived-At: > From: Reuben Thomas > Date: Sun, 13 Feb 2022 21:33:32 +0000 > Cc: Lars Ingebrigtsen , 20741@debbugs.gnu.org > > Maybe we should have a list of exceptions? > > As an upstream spellchecker maintainer, I don't think that's a good idea. Emacs should just be using the > spellchecker. If it's not working, the problem should be fixed in the spellchecker. I don't think I understand what this means in practice. "Use the spell-checker" how? Do you mean we should not break words on punctuation characters, or do you mean not to break them only on '.', or do you mean something else? Emacs is widely used to edit program sources, where stuff like "file.attribute" and "list-my-packages" happens quite frequently. Right now, these are not marked as misspellings, but if we pass them to the speller with the punctuation, we are likely to get back indications of misspelled words, which is not what we want. Thus my questions above: if we want to handle punctuation characters smarter than just considering them part of the NOT-CASECHARS class, we need to come up with a specification that will improve the situation, not make it worse. Can we do that? > To be honest, I'm not sure Emacs can do much here. I tend to agree, but maybe we can come up with some minor improvements, even if they don't solve the problem in its entirety.