From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Agustin Martin Newsgroups: gmane.emacs.devel Subject: Working in minimal hunspell support for ispell.el Date: Wed, 17 Dec 2008 22:38:33 +0100 Message-ID: <20081217213833.GA4789@agmartin.aq.upm.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229574006 18322 80.91.229.12 (18 Dec 2008 04:20:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Dec 2008 04:20:06 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 18 05:21:12 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LDANq-0006NZ-Qk for ged-emacs-devel@m.gmane.org; Thu, 18 Dec 2008 05:21:11 +0100 Original-Received: from localhost ([127.0.0.1]:53794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDAMc-0007Ot-2n for ged-emacs-devel@m.gmane.org; Wed, 17 Dec 2008 23:19:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LD45n-0002mY-Sx for emacs-devel@gnu.org; Wed, 17 Dec 2008 16:38:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LD45k-0002m6-Bl for emacs-devel@gnu.org; Wed, 17 Dec 2008 16:38:07 -0500 Original-Received: from [199.232.76.173] (port=52209 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LD45k-0002m1-5x for emacs-devel@gnu.org; Wed, 17 Dec 2008 16:38:04 -0500 Original-Received: from edison.ccupm.upm.es ([138.100.4.49]:60088) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LD45j-0006zZ-MP for emacs-devel@gnu.org; Wed, 17 Dec 2008 16:38:04 -0500 Original-Received: from debian (domagus.ccupm.upm.es [138.100.247.74]) by edison.ccupm.upm.es (8.13.8/8.13.8) with ESMTP id mBHLaFhg018877; Wed, 17 Dec 2008 22:36:15 +0100 Original-Received: by debian (Postfix, from userid 1000) id AB5611743DB; Wed, 17 Dec 2008 22:38:33 +0100 (CET) Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-Mailman-Approved-At: Wed, 17 Dec 2008 23:19:49 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:107022 Archived-At: Hi, I have been doing some work for a minimal hunspell support in ispell.el, mostly to use "-i" option and not using "-m" which for hunspell means different. These changes should work in recent hunspell, and if failing in older ones will at least give an error instead of causing emacs get stalled, as now happens. hunspell had some recent regressions in the "-a" pipe interface, so not so recent versions will fail, but will at least complain. I am still pending of some final checks, but plan to commit soon. My current changes do not check hunspell versions. I have been doing some work in parallel for that in ispell-check-version. ispell/aspell/hunspell versioning is pretty simple, so I am considering rewriting part of ispell-check-version to be more clear to me, and use a ispell-check-minver comparison function that, for emacs23, will be aliased to version<=. If version<= is not bound I am writing a fallback definition supported by emacs21 and xemacs, intended to keep smaller my Debian changes to pristine ispell.el. Cheers, -- Agustin