unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Arash Esbati <arash@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Hunspell 1.6 on Msys2
Date: Thu, 19 Jan 2017 10:04:54 +0100	[thread overview]
Message-ID: <86shofju89.fsf@gnu.org> (raw)
In-Reply-To: <83shog6sm0.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 18 Jan 2017 22:05:59 +0200")

[-- Attachment #1: Type: text/plain, Size: 899 bytes --]

Eli Zaretskii <eliz@gnu.org> 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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-textmodes-ispell.el-ispell-buffer-with-debug-De.patch --]
[-- Type: text/x-patch, Size: 916 bytes --]

From 3bebc3d473884fa27392ed45d7707ec9632fe659 Mon Sep 17 00:00:00 2001
From: Arash Esbati <arash@gnu.org>
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


  reply	other threads:[~2017-01-19  9:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-17 22:16 Hunspell 1.6 on Msys2 Arash Esbati
2017-01-18  3:38 ` Eli Zaretskii
2017-01-18 10:22   ` Arash Esbati
2017-01-18 15:35     ` Eli Zaretskii
2017-01-18 17:57       ` Arash Esbati
2017-01-18 18:20         ` Eli Zaretskii
2017-01-18 18:39           ` Arash Esbati
2017-01-18 19:15             ` Eli Zaretskii
2017-01-18 19:19               ` Eli Zaretskii
2017-01-18 19:54                 ` Arash Esbati
2017-01-18 20:05                   ` Eli Zaretskii
2017-01-19  9:04                     ` Arash Esbati [this message]
2017-01-19 15:56                       ` Eli Zaretskii
2017-01-20  8:54                         ` Arash Esbati

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86shofju89.fsf@gnu.org \
    --to=arash@gnu.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).