all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitri Paduchikh <dpaduchikh@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 24435@debbugs.gnu.org, npostavs@users.sourceforge.net
Subject: bug#24435: 25.1; Problem using Hunspell
Date: Fri, 16 Sep 2016 01:59:58 +0500	[thread overview]
Message-ID: <8760pwg9pt.fsf@gmail.com> (raw)
In-Reply-To: <83k2ed6y0a.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 15 Sep 2016 17:25:25 +0300")

Hello,

Eli Zaretskii <eliz@gnu.org> wrote:

>> From: Dmitri Paduchikh <dpaduchikh@gmail.com>
>> Cc: npostavs@users.sourceforge.net,  24435@debbugs.gnu.org
>> Date: Thu, 15 Sep 2016 01:10:29 +0500
>> 
>> > Also, can you look (in 'ps' or some similar system utility) what is
>> > the exact command line that Emacs invokes Hunspell in your case?
>> 
>> It was
>> 
>> $ pgrep -a hunspell
>> 5897 /usr/bin/hunspell  -d ru_RU -i UTF-8
>> 
>> After this I have added "-a" to ispell-extra-args and now it seems to be
>> working.

> How did it happen that Hunspell was invoked without the -a switch,
> though?  AFAICS, ispell-start-process hard-codes the -a switch, so it
> should have been invoked with it.

With ispell-extra-args being empty, the eventual form to start Hunspell is

* make-process(:name "ispell" :buffer nil :command ("hunspell" "-a" ""
  "-d" "ru_RU" "-i" "UTF-8"))

However right after evaluation of this form pgrep shows this:

$ pgrep -a hunspell
6310 /usr/bin/hunspell  -d ru_RU -i UTF-8
$ tr \\0 \\n < /proc/6310/cmdline | cat -n
     1	/usr/bin/hunspell
     2	
     3	-d
     4	ru_RU
     5	-i
     6	UTF-8
$ 

Best regards
Dmitri Paduchikh





  parent reply	other threads:[~2016-09-15 20:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-14 13:24 bug#24435: 25.1; Problem using Hunspell Dmitri Paduchikh
2016-09-14 13:46 ` Noam Postavsky
2016-09-14 15:33   ` Dmitri Paduchikh
2016-09-14 16:57     ` Eli Zaretskii
2016-09-14 17:44       ` Dmitri Paduchikh
2016-09-14 18:50         ` Eli Zaretskii
2016-09-14 20:10           ` Dmitri Paduchikh
2016-09-15 14:25             ` Eli Zaretskii
2016-09-15 15:22               ` Agustin Martin
2016-09-15 16:20                 ` Eli Zaretskii
2016-09-15 17:36                   ` Agustin Martin
2016-09-15 20:59               ` Dmitri Paduchikh [this message]
2016-09-16  6:29                 ` Eli Zaretskii
2016-09-16  8:06                   ` Dmitri Paduchikh
2016-09-16  8:34                     ` Eli Zaretskii
2016-09-14 16:40 ` Eli Zaretskii
2016-09-15 13:41   ` Agustin Martin
2016-09-15 21:42     ` Dmitri Paduchikh

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

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

  git send-email \
    --in-reply-to=8760pwg9pt.fsf@gmail.com \
    --to=dpaduchikh@gmail.com \
    --cc=24435@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=npostavs@users.sourceforge.net \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.