From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitri Paduchikh Newsgroups: gmane.emacs.bugs Subject: bug#24435: 25.1; Problem using Hunspell Date: Fri, 16 Sep 2016 01:59:58 +0500 Message-ID: <8760pwg9pt.fsf@gmail.com> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473973290 18781 195.159.176.226 (15 Sep 2016 21:01:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Sep 2016 21:01:30 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 24435@debbugs.gnu.org, npostavs@users.sourceforge.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 15 23:01:21 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 1bkdmW-0003Km-8A for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Sep 2016 23:01:16 +0200 Original-Received: from localhost ([::1]:37372 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkdmU-00031b-IO for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Sep 2016 17:01:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkdmN-00031C-UZ for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 17:01:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkdmJ-00025s-3u for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 17:01:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkdmJ-00025Y-1U for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 17:01:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bkdmI-0000Df-IO for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2016 17:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitri Paduchikh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Sep 2016 21:01: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.1473973209776 (code B ref 24435); Thu, 15 Sep 2016 21:01:02 +0000 Original-Received: (at 24435) by debbugs.gnu.org; 15 Sep 2016 21:00:09 +0000 Original-Received: from localhost ([127.0.0.1]:60802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkdlR-0000CS-D3 for submit@debbugs.gnu.org; Thu, 15 Sep 2016 17:00:09 -0400 Original-Received: from mail-lf0-f50.google.com ([209.85.215.50]:33651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkdlP-0000B0-52 for 24435@debbugs.gnu.org; Thu, 15 Sep 2016 17:00:07 -0400 Original-Received: by mail-lf0-f50.google.com with SMTP id h127so52919901lfh.0 for <24435@debbugs.gnu.org>; Thu, 15 Sep 2016 14:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=yvvFR/P5e5LAEkue7z86nUVvFv7oE4VMr8pfdH5gb+E=; b=01bFEZH/fv2a5RadLJNq3d7WPVebDDAGYu8Gy8kzWvPshY6udaVUHMTuDOWimioH6n I7Wk8EEO/tA9AJryli4Fzj/2+zxDeK+18GOftrUOeiDXeGDa7MMQDExcOG1bMnUYqvaT pvCCVzpX4xm1nULcFFXN1O8LrsCTt5mYUthT1wVnf6aOZKw6rq8BAXasgmhQ3mbIyogs dEm802XRgnnG0QOygH1Ps0LLZzEjEatT/TS/oH8NjPNus9oPO0vp2fD6LCRLoos3NHmN /JU5nvxOwnZXgmEqBbF1k6Tvploh8ZJv7xF311+8+YWvs6oWIl3IVPDTlHmc4za19TFj rCpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=yvvFR/P5e5LAEkue7z86nUVvFv7oE4VMr8pfdH5gb+E=; b=C3BOcGv8s9IKlBkEm9vz2vFi1v3hLSzfEE24V92MXzuaQqq2WkM8Pikb6XwI7aegGC NPZGUcBIHqk4jEO4KOwItATrl8XQ0HtKCF0g7Z6PxTDMIfmNd9YCrYwp47S9cz4mCub2 pCxPYJC0M8CuAaQAHWG/iEFdpfctBHtP8iFz7odX2e7N5l1PKKeKDEUjidn6yd8/mNX7 I3KY1R388eGeHqyu/th+OwoSdLfVzR6XelWp9U1Aoibm6j+rBbJtSUy1nvakG8+ux2+S kYMPcX5Gy9ku1/8UlZDmhbdiT/aeRv71T2C0YgZUOGULkXQckrTdUXteVyPNH2jo1KM9 kj6g== X-Gm-Message-State: AE9vXwNydSk/MMZDeH/mN3hxqeIo0coXR+r5r/3fOQ2HBc8KfsgyG+kjkEyJPhFiYfVU2w== X-Received: by 10.46.1.170 with SMTP id f42mr4684728lji.25.1473973200838; Thu, 15 Sep 2016 14:00:00 -0700 (PDT) Original-Received: from gmail.com ([46.48.49.226]) by smtp.gmail.com with ESMTPSA id u2sm1463391lja.16.2016.09.15.13.59.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Sep 2016 13:59:59 -0700 (PDT) In-Reply-To: <83k2ed6y0a.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 15 Sep 2016 17:25:25 +0300") 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:123358 Archived-At: Hello, Eli Zaretskii wrote: >> From: Dmitri Paduchikh >> 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