From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: About multiple spelling in Emacs Date: Mon, 11 May 2020 18:16:11 +0300 Message-ID: <83lflybiys.fsf@gnu.org> References: <224138621.319007.1589125910422@mail1.libero.it> <83pnbbdb7v.fsf@gnu.org> <975708441.345932.1589191850034@mail1.libero.it> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="127342"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 11 17:18:23 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYACE-000X20-6g for ged-emacs-devel@m.gmane-mx.org; Mon, 11 May 2020 17:18:22 +0200 Original-Received: from localhost ([::1]:47670 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYACC-0004DU-Nq for ged-emacs-devel@m.gmane-mx.org; Mon, 11 May 2020 11:18:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYAAT-0002Iz-DP for emacs-devel@gnu.org; Mon, 11 May 2020 11:16:33 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38582) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYAAS-0006hn-Pt; Mon, 11 May 2020 11:16:32 -0400 Original-Received: from [176.228.60.248] (port=1197 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jYAAC-0006Ew-A1; Mon, 11 May 2020 11:16:30 -0400 In-Reply-To: <975708441.345932.1589191850034@mail1.libero.it> (message from Angelo Graziosi on Mon, 11 May 2020 12:10:49 +0200 (CEST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:249800 Archived-At: > Date: Mon, 11 May 2020 12:10:49 +0200 (CEST) > From: Angelo Graziosi > Cc: emacs-devel@gnu.org > > > You mean, spell-checking text that mixes 2 languages? That's possible > > with Hunspell, yes. > > But, how? How can I instruct Emacs to use two dictionaries, say Italian and English? See the doc string of ispell-hunspell-add-multi-dic. Also, someone posted a stack-exchange URL where this question was answered in more detail. In a nutshell, you tell Emacs to invoke Hunspell with a list of two or more dictionaries instead of just one. There's a caveat: you may have typos not flagged as such because a typo in one language might be a valid word in another.