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#50370: Fix bug in ispell-init-process error handling Date: Sun, 05 Sep 2021 10:32:08 +0300 Message-ID: <837dfvv5on.fsf@gnu.org> References: <6aeebcfa-8a3a-4668-987b-dbe665c514ad@Spark> <83h7f0wnxr.fsf@gnu.org> <83ilzguqtk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22652"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50370-done@debbugs.gnu.org To: Ian W Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 05 09:33: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 1mMmeN-0005gn-IN for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Sep 2021 09:33:11 +0200 Original-Received: from localhost ([::1]:33672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMmeM-00067p-FH for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Sep 2021 03:33:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMmeE-00064g-Tf for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 03:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37503) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMmeE-00048z-Lr for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 03:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mMmeE-0004Bz-JH for bug-gnu-emacs@gnu.org; Sun, 05 Sep 2021 03:33:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Sep 2021 07:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 50370 X-GNU-PR-Package: emacs Mail-Followup-To: 50370@debbugs.gnu.org, eliz@gnu.org, ian@wahbe.com Original-Received: via spool by 50370-done@debbugs.gnu.org id=D50370.163082713516051 (code D ref 50370); Sun, 05 Sep 2021 07:33:02 +0000 Original-Received: (at 50370-done) by debbugs.gnu.org; 5 Sep 2021 07:32:15 +0000 Original-Received: from localhost ([127.0.0.1]:49048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMmdT-0004Ao-CL for submit@debbugs.gnu.org; Sun, 05 Sep 2021 03:32:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mMmdR-0004Ac-90 for 50370-done@debbugs.gnu.org; Sun, 05 Sep 2021 03:32:14 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56670) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMmdL-0003PB-S1; Sun, 05 Sep 2021 03:32:07 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1617 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 1mMmdL-0003QX-61; Sun, 05 Sep 2021 03:32:07 -0400 In-Reply-To: (message from Ian W on Sat, 4 Sep 2021 12:38:40 -0700) 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:213457 Archived-At: > Date: Sat, 4 Sep 2021 12:38:40 -0700 > From: Ian W > Cc: 50370@debbugs.gnu.org > > I think that hunspell is different. It validates that the dictionary really exists in the beginning of > ispell-start-process: > > (defun ispell-start-process () > "Start the Ispell process, with support for no asynchronous processes. > Keeps argument list for future Ispell invocations for no async support." > ;; `ispell-current-dictionary' and `ispell-current-personal-dictionary' > ;; are properly set in `ispell-internal-change-dictionary'. > > ;; Parse hunspell affix file if using hunspell and entry is uninitialized. > (if ispell-really-hunspell > (or (cadr (assoc ispell-current-dictionary ispell-dictionary-alist)) > (ispell-hunspell-fill-dictionary-entry ispell-current-dictionary))) > …) > > Having seen this, I think that this will only be a problem for ispell and aspell. I just tested the recipe and it > works on “emacs -Q” (I have ispell installed correctly, and emacs defaults to that). Thanks, I installed the change, and I'm therefore closing this bug.