From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: bug#17742: Acknowledgement (Support for enchant?) Date: Mon, 19 Dec 2016 12:41:53 +0000 Message-ID: References: <834m2hjbmr.fsf@gnu.org> <83bmwfbxaf.fsf@gnu.org> <837f73bqwv.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11407fdc9782290544023e68 X-Trace: blaine.gmane.org 1482151348 18146 195.159.176.226 (19 Dec 2016 12:42:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2016 12:42:28 +0000 (UTC) Cc: 17742@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 19 13:42:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cIxGh-00029C-NL for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Dec 2016 13:42:16 +0100 Original-Received: from localhost ([::1]:45008 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIxGi-0000JL-Sx for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Dec 2016 07:42:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIxGZ-0000J4-6F for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 07:42:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIxGU-0003Ax-QM for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 07:42:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59765) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cIxGU-0003Ak-Mb for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 07:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cIxGU-0007lE-HK for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 07:42: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, 19 Dec 2016 12:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17742-submit@debbugs.gnu.org id=B17742.148215132129826 (code B ref 17742); Mon, 19 Dec 2016 12:42:02 +0000 Original-Received: (at 17742) by debbugs.gnu.org; 19 Dec 2016 12:42:01 +0000 Original-Received: from localhost ([127.0.0.1]:46931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cIxGS-0007l0-PB for submit@debbugs.gnu.org; Mon, 19 Dec 2016 07:42:00 -0500 Original-Received: from mail-qt0-f175.google.com ([209.85.216.175]:35994) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cIxGR-0007kn-RA for 17742@debbugs.gnu.org; Mon, 19 Dec 2016 07:42:00 -0500 Original-Received: by mail-qt0-f175.google.com with SMTP id w33so145303951qtc.3 for <17742@debbugs.gnu.org>; Mon, 19 Dec 2016 04:41:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=hxjwEOzwyFSjuPnUe8HNW2FS7yFR1/vV/K5IWHL2Cow=; b=0IMZylxd41TPx2eQ9PeZHm4iBOdFSF1AEYU20wQMXjBmpOy5C64+N3Z9hXM6NxLOXm hcl0KMebKl+53ZrAIKIykACEn3DKgmnA7vSVav6A0ibMN4oI6y8ni7aEC9QSVHxOSphl AzvGjGAJhmFJcps4TcQkLT26zb5v1hNCMyzBs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=hxjwEOzwyFSjuPnUe8HNW2FS7yFR1/vV/K5IWHL2Cow=; b=h6kzpgN7GOFqM3z7XZIL4OHGIJEjegpI85UwKi6yomdtMe+Rz0NYYCxpHl4gxI1YjN H8dvbsXlMKVK5eDzJt0Q6yWLaD5Tw3wSGYUxtCraryAmIL/KokD7R6v7z3xNhh8ZhT0r f9QFHjSL/y+TIBzzHR/MXlt8xiSSZUvNM+Zw3uMcY/0h2t6IJ6+LvO+MUqgPTnLsRyze Il55uyGHs8vaLBJy87MMr8J9HXunq8BHJBJiDKnrwyZIvdPeJIYsuHvPSPxue3QbkJs6 z8PPky+rrQiiVsZYEK2tMQDmsjIciAMEo/qqgS5e/qANcnxkQ3QMobFtFWMlc4NQPM1i Sa4A== X-Gm-Message-State: AIkVDXJNogjLdYpoJaNDwPElr+OA/JAQc2FqBaJXKP+ySnaluwx1syMzC3Dr6evGB/heeKqnleZf/Ir8lOLFEnBC X-Received: by 10.237.63.99 with SMTP id q32mr16197729qtf.156.1482151314253; Mon, 19 Dec 2016 04:41:54 -0800 (PST) Original-Received: by 10.140.88.51 with HTTP; Mon, 19 Dec 2016 04:41:53 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:127170 Archived-At: --001a11407fdc9782290544023e68 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 19 December 2016 at 01:02, Reuben Thomas wrote: > On 18 December 2016 at 23:39, Reuben Thomas wrote: > >> >> So a reasonable definition of cache units (I will not say "words" any >> more) might be whitespace-delimited strings. This would not need casecha= rs, >> not-casechars, otherchars and many-otherchars-p. >> >> I've put this on my to-investigate list for the future; of course, if >> there's an obvious reason it wouldn't work, do let me know! >> > > =E2=80=8BBasic tests using [[:alpha:]] for casechars and [^[:alpha:]] for > not-casechars seem to work OK. > =E2=80=8BI meant [[:graph:]] and [^[:graph:]].=E2=80=8B > =E2=80=8BWhat would be a more rigorous test? So far I just tried some > spell-checking and use of flyspell. > =E2=80=8BAlso, as I realised while preparing the patch for bug#25230, it is= only hunspell that has special information about character classes. All the others just use [:alpha:]. So if it's good enough for ispell and aspell, can't it be good enough for enchant? (It just means that for now "direct Hunspell" is arguably better than "Hunspell via Enchant".) --=20 http://rrt.sc3d.org --001a11407fdc9782290544023e68 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On = 19 December 2016 at 01:02, Reuben Thomas <rrt@sc3d.org> wrote:
On 18 December 2016 at 23:39, Reuben Thomas <rrt@sc3d.org>= wrote:
<= div style=3D"font-size:small">
<= div class=3D"gmail_quote">
So a reasonab= le definition of cache units (I will not say "words" any more) mi= ght be whitespace-delimited strings. This would not need casechars, not-cas= echars, otherchars and many-otherchars-p.

I've= put this on my to-investigate list for the future; of course, if there'= ;s an obvious reason it wouldn't work, do let me know!

=E2=80=8BBasic tests using [[:alpha:]] for casechar= s and [^[:alpha:]] for not-casechars seem to work OK.

=E2=80=8BI meant [[:graph:]] and [^[:graph:]].=E2=80= =8B
=C2=A0
=E2=80=8BWh= at would be a more rigorous test? So far I just tried some spell-checking a= nd use of flyspell.

=
=E2=80=8BAlso, = as I realised while preparing the patch for bug#25230, it is only hunspell = that has special information about character classes. All the others just u= se [:alpha:]. So if it's good enough for ispell and aspell, can't i= t be good enough for enchant? (It just means that for now "direct Huns= pell" is arguably better than "Hunspell via Enchant".)
=

--
--001a11407fdc9782290544023e68--