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 13:06:59 +0500	[thread overview]
Message-ID: <87r38ke09o.fsf@gmail.com> (raw)
In-Reply-To: <83lgys5pdz.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 16 Sep 2016 09:29:12 +0300")

Hello,

Eli Zaretskii <eliz@gnu.org> wrote:

>> From: Dmitri Paduchikh <dpaduchikh@gmail.com>
>> Cc: npostavs@users.sourceforge.net,  24435@debbugs.gnu.org
>> Date: Fri, 16 Sep 2016 01:59:58 +0500
>> 
>> > 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
>> $ 

> Does it mean hunspell is a shell script, which omits the -a when it
> invokes the actual program?  How else to explain the fact that -a
> disappears?

You are right. It is my own script which I wrote away back with some
obscure purpose and did not remove.

$ cat `which hunspell`
#!/bin/sh
shift
exec /usr/bin/hunspell "$@"

After removing this script, unmodified ispell.el works as expected.
Sorry for false alarm.

Best regards
Dmitri Paduchikh





  reply	other threads:[~2016-09-16  8:06 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
2016-09-16  6:29                 ` Eli Zaretskii
2016-09-16  8:06                   ` Dmitri Paduchikh [this message]
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=87r38ke09o.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.