From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Titus von der Malsburg Newsgroups: gmane.emacs.devel Subject: Re: Changing dictionary while flyspell-buffer is running Date: Thu, 21 Feb 2019 09:34:09 +0100 Message-ID: <87k1htsfpa.fsf@posteo.de> References: <874l8ztmgk.fsf@posteo.de> <838sy9hkgk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="258043"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.1.0; emacs 26.1.91 Cc: rms@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 21 09:34:31 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gwjoK-0014x4-Js for ged-emacs-devel@m.gmane.org; Thu, 21 Feb 2019 09:34:28 +0100 Original-Received: from localhost ([127.0.0.1]:56431 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwjoJ-0002ea-Fc for ged-emacs-devel@m.gmane.org; Thu, 21 Feb 2019 03:34:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwjo8-0002dq-9u for emacs-devel@gnu.org; Thu, 21 Feb 2019 03:34:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwjo7-0007e8-Be for emacs-devel@gnu.org; Thu, 21 Feb 2019 03:34:16 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:56110) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gwjo6-0007cz-NY for emacs-devel@gnu.org; Thu, 21 Feb 2019 03:34:15 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 1761C160062 for ; Thu, 21 Feb 2019 09:34:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1550738052; bh=UCdIrtiRMcX3SUwzq/34O59iJUxlmNXeF+VH2nC4pCI=; h=From:To:Cc:Subject:Date:From; b=GrGookr5oQIEmrJ9kDz/KiZONdYMCcjQW0cfVdF+IhvgoagfhduxZkqqxeGS9CW6e 2+Ctg1R7hPJTk5O80n6ey8Xxmpp0KYVQnZ89qPXJY7YlRCTVqhtzeoT5Vk0/2wqcb6 bB868KaToCBhP5jNk+dqysyJoKGOcXHgj4U5hSjOvviohollGta0HJ9W+QwHV/ctTH KjD4l60l7Fn0ATaYaiDtf3aZBaQuKOL+gy1RhPiFBPJaEZ+rsmqIMBsUaTx4n4LcXo fE9OiCBf3RgHDUFpGQFf3VUunZlKTXq6TnqBPWFWoZmpTGRaxjuFRthYyXpMpO0J50 dawoqlRKFcTVA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 444nnY5XVfz6tmQ; Thu, 21 Feb 2019 09:34:09 +0100 (CET) In-reply-to: <838sy9hkgk.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.67.36.65 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:233508 Archived-At: On 2019-02-21 Thu 04:46, Eli Zaretskii wrote: >> From: Richard Stallman >> Date: Wed, 20 Feb 2019 22:26:32 -0500 >> Cc: emacs-devel@gnu.org >> >> I don't use flyspell, but I would appreciate this feature of >> automatically selecting the proper dictionary. > > Mayb I suggest to install Hunspell, then? It supports loading several > dictionaries at once, and will eliminate the need to switch a > dictionary while spell-checking a multi-lingual document. Emacs > already supports that feature of Hunspell. Hunspell is a fantastic spell-checker. But this approach has two downsides: 1. Hunspell is slow compared to ispell/aspell, which can be a problem with larger documents. 2. If you set multiple dictionaries, you will get false negatives since a typo in one language might be a word in another language. Depending on the set of languages used, this could be a real problem. Titus -- Dr. Titus von der Malsburg Department of Linguistics University of Potsdam, Germany https://tmalsburg.github.io