From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#51843: Ispell personal dictionary breaks other dictionaries Date: Sun, 14 Nov 2021 16:31:14 +0200 Message-ID: <834k8evmfh.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11056"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51843@debbugs.gnu.org To: Tor Kringeland Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 14 15:32:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1mmGYF-0002fy-Qa for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Nov 2021 15:32:12 +0100 Original-Received: from localhost ([::1]:47432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmGYE-0001sJ-TA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Nov 2021 09:32:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmGY7-0001rz-GD for bug-gnu-emacs@gnu.org; Sun, 14 Nov 2021 09:32:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38037) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmGY7-00065T-8F for bug-gnu-emacs@gnu.org; Sun, 14 Nov 2021 09:32:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mmGY7-0007Nd-5v for bug-gnu-emacs@gnu.org; Sun, 14 Nov 2021 09:32:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Nov 2021 14:32:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51843 X-GNU-PR-Package: emacs Original-Received: via spool by 51843-submit@debbugs.gnu.org id=B51843.163690029528292 (code B ref 51843); Sun, 14 Nov 2021 14:32:03 +0000 Original-Received: (at 51843) by debbugs.gnu.org; 14 Nov 2021 14:31:35 +0000 Original-Received: from localhost ([127.0.0.1]:49578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmGXf-0007ME-Fp for submit@debbugs.gnu.org; Sun, 14 Nov 2021 09:31:35 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mmGXd-0007Lv-Vb for 51843@debbugs.gnu.org; Sun, 14 Nov 2021 09:31:34 -0500 Original-Received: from [2001:470:142:3::e] (port=55204 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmGXY-00064E-D3; Sun, 14 Nov 2021 09:31:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=eg25EoAMGr0H66S4HX362wtxSpwVUQ+ubVIHXLnEm4Q=; b=i2TekU7nEU0a aI/MWGL5qw7g5zV521vayo1IL5NGTdGG9wmLu0TwWwqTQQI/yMiEGxA1evXNyRZjT6AQOpHJo9egi 78bNYeI5AvJzCM9tTHMrdDzWbVBjBlNH52VBbFk4fRZ6zaxKVTCF0LXA5b8U226g4DoMGAcCHdRup 4MezttXId+KV4YjTWdAX39vcIKarz/abd8UPtMjBmrLyeXVPecuwC30LNKCZ7byCmIFVxM8GEMIAp ztW4SMy4BjRJHsLZ4K9c19TUfoFP5lkt3t+2kLeSLESS+zLDgwcd/jFrlAuPj6pUn02DYEJtblX/1 +1OJxc/Ait6VqyRjJG/NLg==; Original-Received: from [87.69.77.57] (port=3617 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmGXX-0008KY-Vz; Sun, 14 Nov 2021 09:31:28 -0500 In-Reply-To: (message from Tor Kringeland on Sun, 14 Nov 2021 14:50:01 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:219944 Archived-At: > From: Tor Kringeland > Date: Sun, 14 Nov 2021 14:50:01 +0100 > > Using e.g. `ispell' with an English dictionary and setting > `ispell-personal-dictionary' to, say, `/tmp/words.txt' will add new > words to this file when using this dictionary. However, if I change the > dictionary to something else (like a Norwegian dictionary), I get the > following output > > Starting new Ispell process /usr/local/bin/aspell with english dictionary...done > ispell-init-process: Error: Expected language "nn" but got "en". > > when running `ispell-word' on a misspelled word. By extension this > breaks `flyspell-mode'. If I set `ispell-personal-dictionary' back to > nil, though, things works as usual. > > For reference this happens on a build of Emacs 29 from 11 November using > `-Q' on macOS Catalina, though I remember having this problem for quite > some time. Isn't this the same problem with the LANG setting in the environment?