From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: bug#17742: Support for enchant? Date: Tue, 10 Jun 2014 01:01:24 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0160bbee4bc32e04fb700799 X-Trace: ger.gmane.org 1402358535 18119 80.91.229.3 (10 Jun 2014 00:02:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Jun 2014 00:02:15 +0000 (UTC) To: 17742@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 10 02:02:10 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wu9Vw-0008Cp-5z for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Jun 2014 02:02:08 +0200 Original-Received: from localhost ([::1]:35659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu9Vv-0007KX-Qb for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Jun 2014 20:02:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu9Vs-0007KS-Er for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2014 20:02:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wu9Vr-0002Ok-5J for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2014 20:02:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu9Vr-0002Og-2S for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2014 20:02:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wu9Vq-0003UN-D0 for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2014 20:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Jun 2014 00:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17742 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.140235850213377 (code B ref -1); Tue, 10 Jun 2014 00:02:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Jun 2014 00:01:42 +0000 Original-Received: from localhost ([127.0.0.1]:42257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wu9VV-0003Tf-Kb for submit@debbugs.gnu.org; Mon, 09 Jun 2014 20:01:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57470) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wu9VR-0003TM-CI for submit@debbugs.gnu.org; Mon, 09 Jun 2014 20:01:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wu9VK-0002EM-NW for submit@debbugs.gnu.org; Mon, 09 Jun 2014 20:01:31 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu9VK-0002EI-L8 for submit@debbugs.gnu.org; Mon, 09 Jun 2014 20:01:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu9VJ-0007J4-EW for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2014 20:01:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wu9VI-0002Dl-GA for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2014 20:01:29 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu9VI-0002Df-Be for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2014 20:01:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55091) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1Wu9VI-0002pQ-27 for bug-emacs@gnu.org; Mon, 09 Jun 2014 20:01:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wu9VG-0002DW-Sy for bug-emacs@gnu.org; Mon, 09 Jun 2014 20:01:27 -0400 Original-Received: from mail-la0-x22f.google.com ([2a00:1450:4010:c03::22f]:64931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu9VG-0002DN-I3 for bug-emacs@gnu.org; Mon, 09 Jun 2014 20:01:26 -0400 Original-Received: by mail-la0-f47.google.com with SMTP id pn19so3461445lab.6 for ; Mon, 09 Jun 2014 17:01:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:date:message-id:subject:from:to:content-type; bh=w/be/n58/chi+mHOYp+F67uvQCj2SQZsu+d4QzMOqJ8=; b=HTG1cGYeod9aoBFpUYKXROqTuZS4HpXoHrXMUpsHuvv6j0B2IHLfj/XUvC/lOfT2Ci nmug/oPX3aTn3fG8gt9llxLqJLtKfYmNXt5OR8mAwlxHif2TVOQDz0JWRQP+7mvk4Pc8 ax/4hgECAxOaoHDqYsSbCD3uTN2EpgV3zLudE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=w/be/n58/chi+mHOYp+F67uvQCj2SQZsu+d4QzMOqJ8=; b=JSLRLuOIxiZDjW6Mbnue57dhJdGE0T03iwGU2EeJNfRQwkHxwMchlSh5iKpVc+u6VT ddf8EOI4JwKbufna4LHm2S6/hiX2k7c5sKB5xaKSCHbUxSkuohtn98QC95e2A23GIJEM K/AAOUTIWrskmzwr3CxtQHdOgbJ+8l0wKxSgxBiepjTOtwgNhsVgp4gvmgyThXsq7437 cyCCiwf94x/i52Bnm6ZB5OOP6xAZf5uWALN4oUBAkx5HZfwOF9/KYKjPc9U8VwfuI8Kl ctDzE5yspf1SOr2Bi0baWfe7Q4dTKktXDkXhUDQ3j6lPSlJtxh+yInFEmFgtn+04KWUF aEVA== X-Gm-Message-State: ALoCoQks14uKVdO8QtBfHeIwo9caitbWCZeIxg0QCmwrPDsyHNs+zP52ODxTOuRKj3kYtIrsowIY X-Received: by 10.152.23.6 with SMTP id i6mr20146530laf.24.1402358484150; Mon, 09 Jun 2014 17:01:24 -0700 (PDT) Original-Received: by 10.152.166.103 with HTTP; Mon, 9 Jun 2014 17:01:24 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90204 Archived-At: --089e0160bbee4bc32e04fb700799 Content-Type: text/plain; charset=UTF-8 It would be good if Emacs supported the Enchant multi-back-end spelling engine wrapper, as this allows users to configure spelling preferences more flexibly than Emacs (in particular, to use different spell-checking engines for different languages), and the configuration works for programs other than Emacs. It seems that it would be pretty trivial to add, since Emacs already works fine (since 2007) if you set ispell-program-name to /usr/bin/enchant. Enchant supports UTF-8 (and only UTF-8) as an encoding, so for optimum functionality, I guess support would need to be added to ispell-encoding8-command (though since this is enchant's only mode of operation, it's unclear that anything needs to be done). In a wider GNU context, the GNU aspell developer wrote a few years ago: "I believe Aspell future depends on making Enchant the system spell checker."[1] Enchant itself seems to be stable, portable, and support a wide range of spelling checker engines, including all those that Emacs already supports; it would be great longer-term to be able to simplify ispell.el by requiring Enchant, and thereby being able to rely on its UTF-8 support and single set of simple options. [1] http://aspell.net/ -- http://rrt.sc3d.org --089e0160bbee4bc32e04fb700799 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It would be good if Emacs supported the Enc= hant multi-back-end spelling engine wrapper, as this allows users to config= ure spelling preferences more flexibly than Emacs (in particular, to use di= fferent spell-checking engines for different languages), and the configurat= ion works for programs other than Emacs.

It seems that it would be pretty trivial to add, since Emacs alre= ady works fine (since 2007) if you set ispell-program-name to /usr/bin/ench= ant.

Enchant supports UTF-8 (and only UTF-8) as an encoding, s= o for optimum functionality, I guess support would need to be added to ispe= ll-encoding8-command (though since this is enchant's only mode of opera= tion, it's unclear that anything needs to be done).

In a wider GNU context, the GNU aspell developer wrote a few year= s ago: "I believe Aspell future depends on making Enchant the system spell checker."[1] Enchant itself seems to be stable, portable,= and support a wide range of spelling checker engines, including all those = that Emacs already supports; it would be great longer-term to be able to si= mplify ispell.el by requiring Enchant, and thereby being able to rely on it= s UTF-8 support and single set of simple options.

[1] http://aspell.net/
--089e0160bbee4bc32e04fb700799--