From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.help Subject: wcheck-mode (was: Getting Hunspell working properly in Linux) Date: Sun, 11 Sep 2011 09:49:02 +0300 Message-ID: <87wrdffuap.fsf@mithlond.arda> References: <4E625F6A.3000307@gmail.com> <87obz1tmy2.fsf@gmail.com> <877h5gwj2a.fsf@mithlond.arda> <87wrdgq8b6.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1315723764 25769 80.91.229.12 (11 Sep 2011 06:49:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 11 Sep 2011 06:49:24 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: rasmus@gmx.us Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 11 08:49:17 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R2dqt-0008TI-Gu for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Sep 2011 08:49:15 +0200 Original-Received: from localhost ([::1]:56236 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2dqs-0004nC-3u for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Sep 2011 02:49:14 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2dqn-0004mw-HE for help-gnu-emacs@gnu.org; Sun, 11 Sep 2011 02:49:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R2dqm-0005Gn-6i for help-gnu-emacs@gnu.org; Sun, 11 Sep 2011 02:49:09 -0400 Original-Received: from mta-out.inet.fi ([195.156.147.13]:43821 helo=jenni2.inet.fi) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R2dql-0005Ge-Ri for help-gnu-emacs@gnu.org; Sun, 11 Sep 2011 02:49:08 -0400 Original-Received: from mithlond.arda (84.251.132.215) by jenni2.inet.fi (8.5.133) id 4DF73E850442BD32; Sun, 11 Sep 2011 09:49:03 +0300 Original-Received: from dtw by mithlond.arda with local (Exim 4.72) (envelope-from ) id 1R2dqg-0000jv-P0; Sun, 11 Sep 2011 09:49:02 +0300 In-Reply-To: <87wrdgq8b6.fsf@gmail.com> (rasmus@gmx.us's message of "Sun, 11 Sep 2011 01:36:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 195.156.147.13 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82208 Archived-At: * 2011-09-11T01:36:13+02:00 * wrote: > I have been playing a little bit with wcheck, and I have a question. > Is it possible to combine dictionaries? For example combining a > whitespace dictionary with a human language dictionary? Not possible, sorry. In my head I've been designing a nice support for multiple simultaneous wcheck languages but it's not completely trivial. I still believe it's possible with reasonable efforts, though. I haven't written any actual code experiments to that direction yet but someday I may. Mixing two (or more) external checker programs is simple. For example, if one wants to accept all words written either in Finnish or English one could use a shell script as the spelling checker: #!/bin/sh enchant -l -d fi | enchant -l -d en_GB I think language option connection=pty is required with shell scripts. > From wcheck-language-data-defaults it also seems that the regexp > fields are used for other stuff by default. Options in wcheck-language-data-defaults are used when a language-specific option does not exist or has an invalid value. That's all. > Thanks for wcheck! Thank you. It's nice to know that you find it useful.