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#24435: 25.1; Problem using Hunspell Date: Fri, 16 Sep 2016 09:29:12 +0300 Message-ID: <83lgys5pdz.fsf@gnu.org> References: <87a8fazkaf.fsf@gmail.com> <8760pyzeam.fsf@gmail.com> <8360py8lnd.fsf@gnu.org> <871t0mz899.fsf@gmail.com> <83sht271tw.fsf@gnu.org> <87wpiexmx6.fsf@gmail.com> <83k2ed6y0a.fsf@gnu.org> <8760pwg9pt.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1474007423 25459 195.159.176.226 (16 Sep 2016 06:30:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Sep 2016 06:30:23 +0000 (UTC) Cc: 24435@debbugs.gnu.org, npostavs@users.sourceforge.net To: Dmitri Paduchikh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 16 08:30:18 2016 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 1bkmf9-0005iI-N0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Sep 2016 08:30:15 +0200 Original-Received: from localhost ([::1]:38752 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkmf8-00026p-0E for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Sep 2016 02:30:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkmf2-00024A-6A for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2016 02:30:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkmex-0006Ki-71 for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2016 02:30:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkmex-0006Ke-37 for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2016 02:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bkmew-0007c1-U4 for bug-gnu-emacs@gnu.org; Fri, 16 Sep 2016 02:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Sep 2016 06:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24435 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24435-submit@debbugs.gnu.org id=B24435.147400735429180 (code B ref 24435); Fri, 16 Sep 2016 06:30:02 +0000 Original-Received: (at 24435) by debbugs.gnu.org; 16 Sep 2016 06:29:14 +0000 Original-Received: from localhost ([127.0.0.1]:60952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkmeA-0007aa-2p for submit@debbugs.gnu.org; Fri, 16 Sep 2016 02:29:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53457) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkme8-0007aO-CE for 24435@debbugs.gnu.org; Fri, 16 Sep 2016 02:29:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkmdz-0005u1-Dp for 24435@debbugs.gnu.org; Fri, 16 Sep 2016 02:29:07 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkmdz-0005rX-Az; Fri, 16 Sep 2016 02:29:03 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3563 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bkmdx-0007TX-C2; Fri, 16 Sep 2016 02:29:01 -0400 In-reply-to: <8760pwg9pt.fsf@gmail.com> (message from Dmitri Paduchikh on Fri, 16 Sep 2016 01:59:58 +0500) 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:123371 Archived-At: > From: Dmitri Paduchikh > 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?