From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.devel Subject: Re: Hunspell 1.6 on Msys2 Date: Thu, 19 Jan 2017 10:04:54 +0100 Message-ID: <86shofju89.fsf@gnu.org> References: <86a8apjprg.fsf@gnu.org> <83lgu982bb.fsf@gnu.org> <861sw0k6ps.fsf@gnu.org> <83h94w8jp9.fsf@gnu.org> <86fukg5jzk.fsf@gnu.org> <8337gg8c1m.fsf@gnu.org> <86inpcmcuq.fsf@gnu.org> <83wpds6uxq.fsf@gnu.org> <83vatc6ur2.fsf@gnu.org> <86bmv4m9e2.fsf@gnu.org> <83shog6sm0.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1484816777 8807 195.159.176.226 (19 Jan 2017 09:06:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 19 Jan 2017 09:06:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 19 10:06:12 2017 Return-path: Envelope-to: ged-emacs-devel@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 1cU8fU-00018H-DC for ged-emacs-devel@m.gmane.org; Thu, 19 Jan 2017 10:06:04 +0100 Original-Received: from localhost ([::1]:46637 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cU8fZ-0001qT-A1 for ged-emacs-devel@m.gmane.org; Thu, 19 Jan 2017 04:06:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cU8ea-0001n0-I7 for emacs-devel@gnu.org; Thu, 19 Jan 2017 04:05:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cU8eW-0007AL-Kx for emacs-devel@gnu.org; Thu, 19 Jan 2017 04:05:08 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cU8eW-0007AD-I1 for emacs-devel@gnu.org; Thu, 19 Jan 2017 04:05:04 -0500 Original-Received: from p54acebd2.dip0.t-ipconnect.de ([84.172.235.210]:51574 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1cU8eV-0005Or-F7; Thu, 19 Jan 2017 04:05:03 -0500 In-Reply-To: <83shog6sm0.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 18 Jan 2017 22:05:59 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:211400 Archived-At: --=-=-= Content-Type: text/plain Eli Zaretskii writes: > Is this in the MSYS Bash? I meant inside Emacs. I tried all of the following: 1) Started Msys bash by clicking on mingw64.exe 2) Made a test.bat containing msys2_shell.cmd -mingw64 -mintty 3) At Windows cmd, typed bash -c 'MSYSTEM=MINGW64 exec /usr/bin/bash --login -i' How do you start Msys? > I have none of these. Windows runtime ignores these variables, but > maybe MSYS2 Hunspell doesn't. What happens if you set LC_ALL=C and > try your recipe again? I set that in .bash_profile with the combinations mentioned above, but no avail. I'm out of ideas, but since it works for you, the problem must be at my end. For now, I will downgrade Hunspell and keeping searching. Many thanks again for looking at this. While we're at it, if found a small typo in the doc-string of `ispell-buffer-with-debug', patch is attached. Best, Arash --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-lisp-textmodes-ispell.el-ispell-buffer-with-debug-De.patch >From 3bebc3d473884fa27392ed45d7707ec9632fe659 Mon Sep 17 00:00:00 2001 From: Arash Esbati Date: Thu, 19 Jan 2017 09:26:15 +0100 Subject: [PATCH] ; * lisp/textmodes/ispell.el (ispell-buffer-with-debug): Delete space. --- lisp/textmodes/ispell.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index d9a1c71..6920de4 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -3803,7 +3803,7 @@ ispell-buffer ;;;###autoload (defun ispell-buffer-with-debug (&optional append) "`ispell-buffer' with some output sent to `ispell-debug-buffer' buffer. -If APPEND is non-n il, append the info to previous buffer if exists." +If APPEND is non-nil, append the info to previous buffer if exists." (interactive) (let ((ispell-debug-buffer (ispell-create-debug-buffer append))) (ispell-buffer))) -- 2.10.2 --=-=-=--