From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#32319: 27.0.50; flyspell-mode error on start Date: Tue, 31 Jul 2018 19:03:26 -0700 Message-ID: <87600ug7wx.fsf@ericabrahamsen.net> References: <87o9eoldcv.fsf@ericabrahamsen.net> <834lgfpggw.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1533088927 16795 195.159.176.226 (1 Aug 2018 02:02:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Aug 2018 02:02:07 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: 32319@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 01 04:02:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fkgSf-0004DN-P4 for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Aug 2018 04:02:01 +0200 Original-Received: from localhost ([::1]:33051 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkgUm-0000z4-9E for geb-bug-gnu-emacs@m.gmane.org; Tue, 31 Jul 2018 22:04:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkgUf-0000yy-Pw for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2018 22:04:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkgUc-0003Oa-J5 for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2018 22:04:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60050) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fkgUc-0003OW-Ep for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2018 22:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fkgUc-0000c0-5n for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2018 22:04:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87o9eoldcv.fsf@ericabrahamsen.net> Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Aug 2018 02:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32319 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15330890272330 (code B ref -1); Wed, 01 Aug 2018 02:04:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Aug 2018 02:03:47 +0000 Original-Received: from localhost ([127.0.0.1]:36835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fkgUN-0000bV-Cj for submit@debbugs.gnu.org; Tue, 31 Jul 2018 22:03:47 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fkgUL-0000bI-DD for submit@debbugs.gnu.org; Tue, 31 Jul 2018 22:03:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkgUF-0003Lu-9T for submit@debbugs.gnu.org; Tue, 31 Jul 2018 22:03:40 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52496) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fkgUF-0003Lq-6E for submit@debbugs.gnu.org; Tue, 31 Jul 2018 22:03:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkgUD-0000wl-UU for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2018 22:03:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkgUA-0003LU-Nq for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2018 22:03:37 -0400 Original-Received: from [195.159.176.226] (port=36833 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fkgUA-0003LM-FS for bug-gnu-emacs@gnu.org; Tue, 31 Jul 2018 22:03:34 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fkgS1-0003T8-Mo for bug-gnu-emacs@gnu.org; Wed, 01 Aug 2018 04:01:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 53 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:HJL7J53iHW0e5mqqYMCum8qw508= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:149139 Archived-At: Eli Zaretskii writes: >> From: Eric Abrahamsen >> Date: Mon, 30 Jul 2018 12:42:24 -0700 >> >> >> Turning on flyspell-mode started giving me an error a few days ago, on >> two different machines I use. Both are Arch linux, both running Emacs >> master. >> >> My only ispell customizations: >> >> (setq ispell-program-name (executable-find "hunspell")) >> (setq ispell-personal-dictionary "~/.aspell.en_US.pws") >> >> Starting flyspell-mode gives me: >> >> Debugger entered--Lisp error: (wrong-type-argument stringp nil) >> string-match("," nil 0) >> split-string(nil "," t) >> ispell-parse-hunspell-affix-file(nil) >> ispell-hunspell-fill-dictionary-entry(nil) >> ispell-start-process() >> ispell-init-process() >> ispell-buffer-local-words() >> ispell-accept-buffer-local-defs() >> flyspell-accept-buffer-local-defs(force) >> flyspell-mode-on() >> >> >From "emacs -Q", setting `ispell-program-name' to (executable-find >> "hunspell") (the first line of my customizations above) is sufficient to >> trigger the error. > > You mean, just evaluating > > (setq ispell-program-name (executable-find "hunspell")) > > signals an error?? No, sorry, I meant setting the program name to "hunspell" and then doing anything spelling-related caused an error. But! This was a false alarm: the problem is a bug in the hunspell_en package for Arch linux, which is missing some symlinks, and causing several other programs to fail: https://bugs.archlinux.org/task/59401 It might have been nice if ispell allowed the real error to reach me (during edebugging I did see something like "no affix file found for "en_US""), but I suppose it isn't a big deal. Eric