From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/56684 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Different ispell dictionaries in different groups? Date: Thu, 11 Mar 2004 23:15:25 +0100 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079043369 30500 80.91.224.253 (11 Mar 2004 22:16:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 Mar 2004 22:16:09 +0000 (UTC) Original-X-From: ding-owner+M5223@lists.math.uh.edu Thu Mar 11 23:16:03 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B1YTD-0004ve-00 for ; Thu, 11 Mar 2004 23:16:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1B1YSr-0004fy-00; Thu, 11 Mar 2004 16:15:41 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1B1YSj-0004fs-00 for ding@lists.math.uh.edu; Thu, 11 Mar 2004 16:15:33 -0600 Original-Received: from yxa.extundo.com (178.230.13.217.in-addr.dgcsystems.net [217.13.230.178]) by justine.libertine.org (Postfix) with ESMTP id A52253A0043 for ; Thu, 11 Mar 2004 16:15:30 -0600 (CST) Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.11/8.12.11) with ESMTP id i2BMFStD020987 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 11 Mar 2004 23:15:29 +0100 Original-To: ding@gnus.org Mail-Copies-To: nobody X-Hashcash: 0:040311:ding@gnus.org:1b0ed37e7a0243af In-Reply-To: (Jonas Steverud's message of "Thu, 11 Mar 2004 22:58:36 +0100") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:56684 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:56684 Jonas Steverud writes: > A "quick" question: > > My main language is Swedish and about half of may emails are in > Swedish and the rest are in English. I have just started to use > flyspell-mode (yes, I am slow on the uptake) and I thought it would be > nice to have set which dictionary to use on a per group basis. > > My first experiment with adding (FOOBAR (ispell-change-dictionary > "xxx")) (xxx = english|svenska) to the group parameters did not go > well, the summary buffer used the correct dictionary but not the > message in message-mode, it always used "english". > > Any suggestions? Not an answer, but I'd really like for a feature in flyspell to auto-detect "secondary" languages. Flyspell could try to count common English words, and common Swedish words, and chose accordingly. Or try to switch dictionary when the failure rate is > 50 %, and see if the failure rate decreases. I think this approach would be more reliable than group parameters.