From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32319: 27.0.50; flyspell-mode error on start Date: Sat, 11 Aug 2018 10:36:14 +0300 Message-ID: <83h8k1mk29.fsf@gnu.org> References: <87o9eoldcv.fsf@ericabrahamsen.net> <834lgfpggw.fsf@gnu.org> <87600ug7wx.fsf@ericabrahamsen.net> <83effiocc9.fsf@gnu.org> <87d0v1vp9h.fsf@ericabrahamsen.net> <83ftzutmw4.fsf@gnu.org> <87tvo9pevo.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1533972911 32391 195.159.176.226 (11 Aug 2018 07:35:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 11 Aug 2018 07:35:11 +0000 (UTC) Cc: 32319-done@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 11 09:35:06 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 1foOQP-0008G1-Vt for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Aug 2018 09:35:02 +0200 Original-Received: from localhost ([::1]:59147 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1foOSW-0005tk-JC for geb-bug-gnu-emacs@m.gmane.org; Sat, 11 Aug 2018 03:37:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1foOSP-0005t9-Lu for bug-gnu-emacs@gnu.org; Sat, 11 Aug 2018 03:37:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1foOSM-0003hv-Jb for bug-gnu-emacs@gnu.org; Sat, 11 Aug 2018 03:37:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42739) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1foOSM-0003hj-Fd for bug-gnu-emacs@gnu.org; Sat, 11 Aug 2018 03:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1foOSM-0003bO-9o for bug-gnu-emacs@gnu.org; Sat, 11 Aug 2018 03:37:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Aug 2018 07:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 32319 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 32319@debbugs.gnu.org, eliz@gnu.org, eric@ericabrahamsen.net Original-Received: via spool by 32319-done@debbugs.gnu.org id=D32319.153397298113792 (code D ref 32319); Sat, 11 Aug 2018 07:37:02 +0000 Original-Received: (at 32319-done) by debbugs.gnu.org; 11 Aug 2018 07:36:21 +0000 Original-Received: from localhost ([127.0.0.1]:47756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1foORh-0003aO-Aq for submit@debbugs.gnu.org; Sat, 11 Aug 2018 03:36:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1foORg-0003aC-BU for 32319-done@debbugs.gnu.org; Sat, 11 Aug 2018 03:36:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1foORX-0003AL-Vy for 32319-done@debbugs.gnu.org; Sat, 11 Aug 2018 03:36:15 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1foORX-0003AG-SA; Sat, 11 Aug 2018 03:36:11 -0400 Original-Received: from [176.228.60.248] (port=3950 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1foORX-0006zy-Ac; Sat, 11 Aug 2018 03:36:11 -0400 In-reply-to: <87tvo9pevo.fsf@ericabrahamsen.net> (message from Eric Abrahamsen on Sat, 04 Aug 2018 22:21:47 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:149424 Archived-At: > From: Eric Abrahamsen > Cc: 32319@debbugs.gnu.org > Date: Sat, 04 Aug 2018 22:21:47 -0700 > > > Does the patch below produce a useful diagnostic? > > This patch is just fine, and would certainly be a lot better than the > current situation. I only note that, if we allow this function to fail > silently, the error you get *later on*, when you try to use flyspell to > do something, comes directly from hunspell and says exactly what the > problem is (ie, which dictionary it tried and failed to load). That's > even more helpful. If we did that, this function could just call > `ispell-print-if-debug' and log the failure quietly. > > But raising an error directly is also fine, and might be preferable in > order to avoid creating weird problems further down the line. OK, so I installed my patch on the master branch, and I'm marking this bug done. Thanks for the analysis and the feedback.