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: Mon, 30 Jul 2018 12:42:24 -0700 Message-ID: <87o9eoldcv.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1532979673 747 195.159.176.226 (30 Jul 2018 19:41:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Jul 2018 19:41:13 +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 Mon Jul 30 21:41:09 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 1fkE2W-0008WP-WF for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jul 2018 21:41:09 +0200 Original-Received: from localhost ([::1]:55571 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkE4d-0000QK-PM for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jul 2018 15:43:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkE4Q-0000M4-Op for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2018 15:43:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkE4M-0000YU-Ct for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2018 15:43:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58667) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fkE4M-0000YO-8N for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2018 15:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fkE4L-0005af-Uo for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2018 15:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Jul 2018 19:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 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.153297976521459 (code B ref -1); Mon, 30 Jul 2018 19:43:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jul 2018 19:42:45 +0000 Original-Received: from localhost ([127.0.0.1]:35452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fkE44-0005a3-Pn for submit@debbugs.gnu.org; Mon, 30 Jul 2018 15:42:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fkE43-0005Zq-AF for submit@debbugs.gnu.org; Mon, 30 Jul 2018 15:42:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkE3x-0000BP-6N for submit@debbugs.gnu.org; Mon, 30 Jul 2018 15:42:38 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:52990) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fkE3x-0000BL-23 for submit@debbugs.gnu.org; Mon, 30 Jul 2018 15:42:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkE3v-0000JH-Tq for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2018 15:42:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkE3t-0000AX-AA for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2018 15:42:35 -0400 Original-Received: from mail.ericabrahamsen.net ([50.56.99.223]:48214) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fkE3t-00009W-3Q for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2018 15:42:33 -0400 Original-Received: from localhost (97-113-227-87.tukw.qwest.net [97.113.227.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 8DFF8C0F34 for ; Mon, 30 Jul 2018 19:42:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.ericabrahamsen.net; s=mail; t=1532979745; bh=4B1bMKvdJWcCeGeFgjfFnJUzICTjU3av02fs7V5Urm0=; h=From:To:Subject:Date:From; b=nWtoqhDcBqrfnsO1guSKMchlEQfhqaCmqAxGRPemiO8+0jSeA8kC+7ggRVqMqNIg9 09bBgpITH5FAVhoxXbF4g9Xq+jLo0L90A/5L/gkkLFD5QdpsW59/NYvgJrjflSP1zx ngnD094e8gbYWcQFFbr+dSECVtLNfqpvkx0DZKu4= 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:149084 Archived-At: 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. `ispell-current-dictionary' seems to be nil during the whole process, which causes the eventual error. The Hunspell version on Arch is "1.6.2", which is the value of `ispell-really-hunspell'. Hope that's enough information! In GNU Emacs 27.0.50 (build 37, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) of 2018-07-30 built on clem Repository revision: 63ef79329935b790b9c8107125bce66e1f272c2e Windowing system distributor 'The X.Org Foundation', version 11.0.12000000 System Description: Arch Linux Recent messages: Entering debugger... Debug on Error disabled globally Mark set Mark activated Back to top level Mark set Quit [2 times] Mark saved where search started "/usr/bin/hunspell" "1.6.2"