From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#20741: 24.4; flyspell doesn't work with abbreviations ending in a period Date: Mon, 14 Feb 2022 11:44:56 +0100 Message-ID: <8735klu3pz.fsf@gnus.org> References: <87pp5az1u7.fsf@sc3d.org> <83twumnem2.fsf@gnu.org> <83iob1nxfb.fsf@gnu.org> <87o83bxhll.fsf@gnus.org> <83fsonq6w9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26164"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 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 11:51:22 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 1nJYx0-0006aN-3s for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Feb 2022 11:51:22 +0100 Original-Received: from localhost ([::1]:47788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJYwx-0005KM-8w for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Feb 2022 05:51:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJYrq-0002PD-Rx for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 05:46:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46060) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJYrp-0001sh-Kc for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 05:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nJYrp-0003IG-II for bug-gnu-emacs@gnu.org; Mon, 14 Feb 2022 05:46:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Feb 2022 10:46:01 +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.16448355139431 (code B ref 20741); Mon, 14 Feb 2022 10:46:01 +0000 Original-Received: (at 20741) by debbugs.gnu.org; 14 Feb 2022 10:45:13 +0000 Original-Received: from localhost ([127.0.0.1]:39957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJYr2-0002RV-S0 for submit@debbugs.gnu.org; Mon, 14 Feb 2022 05:45:13 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:34952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJYr0-0002JL-BM for 20741@debbugs.gnu.org; Mon, 14 Feb 2022 05:45:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ifaoaAlbY/gbpUhszXFJ7FeXUVcsFGiCZAP2jsVspRA=; b=tb7TL7DaTm13Zgag1+dttET0Mi MKBGPAFBn8V71Un7F1YNGCtZl74egdnK5mCh4F5zlSgukjOH8VTtz490ufv+E6LPHasoRAJPv6sQK lTVBg+dzNt8ue/VbQuVWEk63dB2J9GOWc8i0o7NiRDG3FqeBrOlPv7+jpGhEeHODwLjY=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nJYqq-000707-Kj; Mon, 14 Feb 2022 11:45:03 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAALVBMVEUzLzBMTDdBPTRn ajqZoDivxTjb5S4PDQ01O0M5SExVWVg7RDlBPUKLlG7///+ItTPNAAAAAWJLR0QOb70wTwAAAAd0 SU1FB+YCDgoeNoC6WfwAAAGDSURBVDjL1ZOxboMwEIYPltDSShyeqi6EN7BM+wLQvkBDnyBh7paV EbaM0C7MFkjJ1oglc6S+QfMutREQkxB16dJDGPF/uv/OJxvgHwS64F5imnUBMOo6J5KjywRvRm1V 1d0pIjqgPyx81UyXMkGZEgyAIHbrQHG0vBbYNowCNp4Alj6e8GtM/gxMzoGRynU5ApIGnJtI3SiW b+2vud423zTjeZ5nqw5c83YOiZDzWFi1QMNuQEYSNzU6YN31xVcqAFz31eNL+4uPOzdkkzfiacof wWeSXGVxCbzYSYkXx+QEkrS4Lb85lABVMXBOy8PXoar4jlcnk3gvS873APtyCNKVKdY1nMU2+6g3 23ykfbPGDaGIA/FevLWNG8bQdgag1igVgyQMFd2Rp88LfUQNVSAvkPYUBjNx1imxVCPhEQSLkHoU iQ2OIhPqhVE0R2SEUeyOrsYIoew5iiKRwBglHUCcIsVHAV4IMp/2G9FRF8B7jcIFC3xU2kIZxIvm oc8s6MEPo/hbI+3QpFIAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDItMTRUMTA6MzA6NTQrMDA6 MDC9rYNHAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTAyLTE0VDEwOjMwOjU0KzAwOjAwzPA7+wAA AABJRU5ErkJggg== X-Now-Playing: Moose's _Still in a Dream (3)_: "Suzanne" In-Reply-To: (Reuben Thomas's message of "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:226871 Archived-At: Reuben Thomas writes: > To be honest, I'm not sure Emacs can do much here. As far as I can > tell, hunspell doesn't cope well with characters like "." that > normally are non-word characters, but *can* occur in a word. > > Relatedly, see: https://github.com/hunspell/hunspell/issues/361 So it's a problem on the hunspell side, and not because Emacs is considering the "." to be a non-word character? (I haven't tried to debug what's going on.) There's also a problem in common abbreviations like "i.e.", which is considered as the words "i" and "e", apparently... I was wondering whether Emacs could query the backend speller whether it had the word "foo." in the dictionary before squiggly-lining "foo", but I'm very unfamiliar with how these functions work. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no