From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KHiBOA3MPl+GNQAA0tVLHw (envelope-from ) for ; Thu, 20 Aug 2020 19:16:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MP49NA3MPl+UeAAAbx9fmQ (envelope-from ) for ; Thu, 20 Aug 2020 19:16:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 34E5694053D for ; Thu, 20 Aug 2020 19:16:29 +0000 (UTC) Received: from localhost ([::1]:43308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8q32-0006Kw-3B for larch@yhetil.org; Thu, 20 Aug 2020 15:16:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8q2s-0006Km-5H for help-guix@gnu.org; Thu, 20 Aug 2020 15:16:18 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:58018) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8q2o-0007vz-Jn for help-guix@gnu.org; Thu, 20 Aug 2020 15:16:17 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 39d3e6ed; Thu, 20 Aug 2020 19:16:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:from:message-id; s=dkim; bh=HKWgimQSqDtlclVFQaV4nqQII2WAnTVB0iUQUrvPkiw=; b=CaB5FwB1zUp4 FnrCDnyp9x7fbGIgNcYSRwjaPNn9+hriZJIoeAp9nt2884pTCeiMKQ25ZlCqO/hF Jb07cO+UddcNXcjNRl/2r8W5dbUtfk6F+Bk4YvI0AhXnqP8NmKlOEaqpIzojHDR+ sJoXk857+vFqB8Vce+X2rJYYGM4RasK1mHiiq4TRwYAzfz4mu2w/m3SvGoWk2eRd UC2UUU7Hq7EeOcf/UygQMynQrUZz6kTfqLKgjF5WeheOrTW44SDSzpfJ7edODc4I 1QcjUgPv4ntkH8yyA4vYWEENBtXlLs4HtK3oNMxC9kKFbORZH7K52iIv5yqXgu0h eUQeNfjimQ== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 1e10f39c (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 20 Aug 2020 19:16:06 +0000 (UTC) Date: Thu, 20 Aug 2020 15:15:53 -0400 User-Agent: K-9 Mail for Android In-Reply-To: <87eeo1f95n.fsf@disroot.org> References: <87k0xtf9nv.fsf@disroot.org> <87eeo1f95n.fsf@disroot.org> MIME-Version: 1.0 Subject: Re: Guix's enchant misreports numerals on Debian---both buster and bullseye To: help-guix@gnu.org,"Jorge P. de Morais Neto" From: Julien Lepiller Message-ID: Received-SPF: none client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=lepiller.eu header.s=dkim header.b=CaB5FwB1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: d3aiUDlgfrbl So I've look at it quickly=2E It seems our enchant is built only with aspel= l, whereas debian is built with hunspell=2E In fact, our hunspell is able t= o detect the misspellings, and does not flag numbers nor doesn't=2E Maybe y= ou could use hunspell directly as your enchant? Not sure if that works, I'm= not an emacs user=2E I've tried building enchant with hunspell, but although it worked, it stil= l doesn't use the hunspell dictionnary=2E Looking at strace, it ignores $DI= CPATH which hunspell uses, and looks in various other directories=2E Sxmlin= king one of them to $DICPATH didn't work either=2E Enchant was able to find= hunspell's en_US=2Edic file, but then fails when looking for en_US=2Eaff i= n the same directory=2E What is this aff file? On 2020=E5=B9=B48=E6=9C=8820=E6=97=A5 14:45:56 GMT-04:00, "Jorge P=2E de M= orais Neto" wrote: >Em [2020-08-20 qui 15:35:00-0300], Jorge P=2E de Morais Neto escreveu: > >> So enchant 2=2E2=2E8 (either from APT or from Guix) does not understand >> "doesn't"; and, what's worse, enchant-2=2E2=2E8 from Guix reports every >> numeral as a misspelling=2E > >I now reread my experiment and realized enchant from Guix does >understand "doesn't"=2E So enchant 2=2E2=2E8 from Guix gets "doesn't" >correctly, but not numerals, and enchant 2=2E2=2E8 from APT gets numerals >correctly, but not "doesn't"=2E Could enchant get both numerals and >"doesn't" correctly? That would be ideal=2E Failing that, APT's enchant >situation is much preferable than Guix's enchant=2E > >Regards > >--=20 >- >- If an email of mine arrives at your spam box, please notify me=2E >- Please adopt free/libre formats like PDF, ODF, Org, LaTeX, Opus, WebM >and 7z=2E >- Free/libre software for Replicant, LineageOS and Android: >https://f-droid=2Eorg >- [[https://www=2Egnu=2Eorg/philosophy/free-sw=2Ehtml][What is free >software?]]