From unknown Sun Aug 10 16:50:58 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#24435 <24435@debbugs.gnu.org> To: bug#24435 <24435@debbugs.gnu.org> Subject: Status: 25.1; Problem using Hunspell Reply-To: bug#24435 <24435@debbugs.gnu.org> Date: Sun, 10 Aug 2025 23:50:58 +0000 retitle 24435 25.1; Problem using Hunspell reassign 24435 emacs submitter 24435 Dmitri Paduchikh severity 24435 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 14 09:26:20 2016 Received: (at submit) by debbugs.gnu.org; 14 Sep 2016 13:26:20 +0000 Received: from localhost ([127.0.0.1]:59191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkACe-0003C5-10 for submit@debbugs.gnu.org; Wed, 14 Sep 2016 09:26:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkACY-0003Bo-CU for submit@debbugs.gnu.org; Wed, 14 Sep 2016 09:26:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkACO-0000xQ-VK for submit@debbugs.gnu.org; Wed, 14 Sep 2016 09:26:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,FREEMAIL_FROM, RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkACO-0000wz-TF for submit@debbugs.gnu.org; Wed, 14 Sep 2016 09:26:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47508) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkACJ-00082w-Kh for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2016 09:25:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkACE-0000te-1A for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2016 09:25:54 -0400 Received: from mail-lf0-f51.google.com ([209.85.215.51]:33659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkACD-0000nJ-Pn for bug-gnu-emacs@gnu.org; Wed, 14 Sep 2016 09:25:49 -0400 Received: by mail-lf0-f51.google.com with SMTP id h127so9943246lfh.0 for ; Wed, 14 Sep 2016 06:25:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:user-agent:date:message-id:mime-version; bh=6sgFeOGpW+AEiDJ1IRC10dLqB32J2xdLG3Ta2brlK0c=; b=hN6p4cC5CBnSHghdgU79XKU7BNMdFEbTUkQJOztOiLRBjUF0Il8zr2RiiMDuKStbrO Wju6b4Frjx1OFvYoBd42lZIXSMRxauPQdoqWTZdA6xDJQP0VjbkB/FhIB072j6B/5UnA UDI1LFKX7v5my8aBtFeo3QAIiUiLMJzBApZ0plnKQmavOAZkEy1WUwE9N6qQ7GRGDY8G a3Izhx5RXKcGZmSr8Bq/ABSZSciCBEtuQFBU9EVT93J1CWgiwITEpDoP22uB982WZOGc jyQtl+kOAd1kL3KKmeRU6oRfZ2A2RwR4zaj0e2AAVedQ4aPfY6oSF8GVdR5SCuEpkX0c M37Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:user-agent:date:message-id :mime-version; bh=6sgFeOGpW+AEiDJ1IRC10dLqB32J2xdLG3Ta2brlK0c=; b=c1iGGm7/A3shOtMSNqbbB9sZ+elq0psWS8Xd+A5M6tNcsrku7ivnj4M3EosRVsmT6r NioPcPV43MUaD4A2W6IM1qFNDnFUk6DGw+g3ovO/6A+LblXBpD2hVVbNBU3VDdFwHG3/ N4mD4JbBe4GpWDVcSmCLBk4B5UcgK9wgc0wK8qA9oyirPHeYz8Lf9EmkF14Fdy70pj/M Js6CC4kVcsXzg7/9a31GXBqCwQgBfuIxFSzdh2LjxM2bupjRq6SkdXvUKmKqgnTq+qPb Ov5ioNKTPM1Yp2cXKHra8oxA0Ej4R6UR9Ql5lYGE5jaxOMhe/+idGKg43jDEHgvITcNB n93Q== X-Gm-Message-State: AE9vXwMIbkSXujvRX0aXvSPC92iXTsPhbFuBk/2va/+IWnDaspsViSYLPGb5X/9ONG0udw== X-Received: by 10.25.27.195 with SMTP id b186mr1098532lfb.74.1473859467024; Wed, 14 Sep 2016 06:24:27 -0700 (PDT) Received: from gmail.com ([46.48.49.226]) by smtp.gmail.com with ESMTPSA id e82sm4799649lji.42.2016.09.14.06.24.25 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Sep 2016 06:24:25 -0700 (PDT) From: Dmitri Paduchikh To: bug-gnu-emacs@gnu.org Subject: 25.1; Problem using Hunspell User-Agent: Gnus/5.13 (Gnus v5.13) Date: Wed, 14 Sep 2016 18:24:24 +0500 Message-ID: <87a8fazkaf.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.5 (---) Hello, Judging from ispell.el it should work with Hunspell, so I tried to use it. But attempts to check a word produce the following error message. | Starting new Ispell process hunspell with ru_RU dictionary... | hunspell release 3.1.12 or greater is required (ispell-check-version) The latest version of Hunspell is 1.4.1 as can be seen here: https://github.com/hunspell/hunspell/releases As I understand, the problem arises because ispell-check-version finds version information using regexp "(but really Hunspell \\([0-9]+\\.[0-9\\.-]+\\)?)" The output of hunspell -vv does not match it, hence the results. $ hunspell -vv < /dev/null Hunspell 1.4.0 $ Best regards Dmitri Paduchikh In GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.9) of 2016-09-09 built on nocturne.localdomain From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 14 09:47:14 2016 Received: (at 24435) by debbugs.gnu.org; 14 Sep 2016 13:47:14 +0000 Received: from localhost ([127.0.0.1]:59197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkAWr-0003gB-Oe for submit@debbugs.gnu.org; Wed, 14 Sep 2016 09:47:14 -0400 Received: from mail-oi0-f49.google.com ([209.85.218.49]:35995) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkAWl-0003fd-TR for 24435@debbugs.gnu.org; Wed, 14 Sep 2016 09:47:09 -0400 Received: by mail-oi0-f49.google.com with SMTP id q188so21633901oia.3 for <24435@debbugs.gnu.org>; Wed, 14 Sep 2016 06:47:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=FjZQ4fxZJ5WBDz38xKD5dV4oURwEXb8yaBriXKfps6E=; b=pRIa4wSG8Ghb4TSEMNON07kWk4p5fLw6ppdoX86v5q5MHu/M2l9biFb88+irnjJzUJ DoTt5PyQ/DsS5vNHWF8LVLiyP4yIPVDDcd1fmQ70AhssFglK2Gh5bpFBkdFgK9jvd27E //gm85m+5iukyydeqp4w20FgjYJdJRHTwjkJyNSAHRn7b7tvHJoZrqIHWEGUqSieBWss A6wQ3blPNvXWnN+Lj80FJbcqEQYNzJxsxUlpCZ/YJwmelFslan12AFEwX4iS8FwTgTRb XMn7kMRZXZrokb8V/zCugr5ubL7A1bIU/TX+oQC1DhAW8OabXp2lZTPJRifwsyLg/Sw4 Mb/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=FjZQ4fxZJ5WBDz38xKD5dV4oURwEXb8yaBriXKfps6E=; b=MQPlc5Zr/3XpKV7uCwh0Z7UpuOKf73ri4qYcw4O1b/epUVIatMBb7Koo3WNBMLvUGp j+/2CAr+aZ8PPzWiS0Q+qNkG6oNP9GlS6IF+ParvVFBu3TtHeHDsW5JZ64AaIWVVWP9K wLCMGyiM2rRv1CDv09pjDfO1dWuu8KPJXUKeTyq0vHgN7Ss/UpcA3vA+uLuGAa48Xxz8 tlVnhwHalinOHzgVd81GvZLW418l/jlnPvX0hFaGWwZZ179v0qMzkw7VsyNUeazfkjms aTskUn+Wi/B8AHppjb+c42Z7BURnLwmR3a55ZGnkTQi+d+F3gjZzqf3BUkRTgPucps6l 1iPw== X-Gm-Message-State: AE9vXwOPb0shUshZgy/717aLOM+tkYeyBdrzndoaH3gvScCTfrSa6buMM5I8buIYRpNlZo4BjBicWNPhZU3AXQ== X-Received: by 10.202.79.144 with SMTP id d138mr2284881oib.117.1473860817103; Wed, 14 Sep 2016 06:46:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.41.144 with HTTP; Wed, 14 Sep 2016 06:46:56 -0700 (PDT) In-Reply-To: <87a8fazkaf.fsf@gmail.com> References: <87a8fazkaf.fsf@gmail.com> From: Noam Postavsky Date: Wed, 14 Sep 2016 09:46:56 -0400 X-Google-Sender-Auth: qQ2IbZkgwum6UBHbrTNsD1xGgbo Message-ID: Subject: Re: bug#24435: 25.1; Problem using Hunspell To: Dmitri Paduchikh Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24435 Cc: 24435@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) On Wed, Sep 14, 2016 at 9:24 AM, Dmitri Paduchikh wrote: > Hello, > > Judging from ispell.el it should work with Hunspell, so I tried to use > it. But attempts to check a word produce the following error message. > > | Starting new Ispell process hunspell with ru_RU dictionary... > | hunspell release 3.1.12 or greater is required (ispell-check-version) > > The latest version of Hunspell is 1.4.1 as can be seen here: > https://github.com/hunspell/hunspell/releases > > As I understand, the problem arises because ispell-check-version finds > version information using regexp > > "(but really Hunspell \\([0-9]+\\.[0-9\\.-]+\\)?)" > > The output of hunspell -vv does not match it, hence the results. > > $ hunspell -vv < /dev/null > Hunspell 1.4.0 I guess older Hunspell versions printed a different string. Does it work if you change the regexp to "\\(?:(but really \\)?Hunspell \\([0-9]+\\.[0-9\\.-]+\\)?)?" From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 14 11:34:03 2016 Received: (at 24435) by debbugs.gnu.org; 14 Sep 2016 15:34:03 +0000 Received: from localhost ([127.0.0.1]:59680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkCCI-0007up-Oo for submit@debbugs.gnu.org; Wed, 14 Sep 2016 11:34:02 -0400 Received: from mail-lf0-f47.google.com ([209.85.215.47]:34750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkCCH-0007uL-J9 for 24435@debbugs.gnu.org; Wed, 14 Sep 2016 11:34:02 -0400 Received: by mail-lf0-f47.google.com with SMTP id u14so13120407lfd.1 for <24435@debbugs.gnu.org>; Wed, 14 Sep 2016 08:34:01 -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:content-transfer-encoding; bh=3mvHLRKIPo9AONy9kyDig/0d2kQMX6DmoOqyNgY61Z0=; b=EE1HCmHLEPz2cSqWM5yFF0CcjA/HW0gWeZoo4HJc0hwyEvxHPVkNFGXLPIQwj2h6Bm QhPu7RHSl4L7aj6xr2ohWId48oMldrd3co7vrAul5s/D9+C1cO9K6AR4oJLputUBnX3V MOQPdKYc9PR21mUEYKR8f5vWdJYCz/kwX1+WP3k4kp2J4aBTqo/D5ZpFV+cU6uExl3ZY uPFj6AUR9cVne1de99caeGsDCP9cBZ/iIe5FumTmi4AbJPXqC7V+s9G1WIixN/i7TJgw 7pmSm1+cZLQBTHraPqoLamSPffMRw+M0NFMLFkmT0RzPjx9Axf4c7lYVs8/DgJN+W/hY Elog== 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:content-transfer-encoding; bh=3mvHLRKIPo9AONy9kyDig/0d2kQMX6DmoOqyNgY61Z0=; b=djUkibSRMEB0QZwfktg3JVTsFvgcleJsJUUruZT7uCPu8lOwrCqzX3jVtdVtEi3K+7 mpoxDKSG8Cbg63EcCSBiAmh5+iMq1MfQZ47wpyMP/HEjz1FZTEtbMFwlhmjEeM9uizcu BedktipAc56muJfcu4WOPfPJq5c0DwiqxcvXjLEkAID55u280VMWzNm7t7+4tCbPkmxP 0Sy+eI7TNbIvSEUjiwoOBBooMd6Ysns71HIHV99ey9qwtrFTjEfxT7Trh6Me/JMIg2i3 aCH5uIhwvfLLU9NbbDyHqhRf5I8usS6dvRGlpqLnh1pxJ4pdrPsDTZjnTsFhIzx5F69X Q1qQ== X-Gm-Message-State: AE9vXwPpZpXtjrL1iFkszuTU6UTgiLwyEuWUvGtXlvoJBXc4HULBAxLTe/Ka/CxMPCCE0Q== X-Received: by 10.25.218.6 with SMTP id r6mr1529903lfg.111.1473867235631; Wed, 14 Sep 2016 08:33:55 -0700 (PDT) Received: from gmail.com ([46.48.49.226]) by smtp.gmail.com with ESMTPSA id g3sm5101306lji.1.2016.09.14.08.33.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Sep 2016 08:33:54 -0700 (PDT) From: Dmitri Paduchikh To: Noam Postavsky Subject: Re: bug#24435: 25.1; Problem using Hunspell References: <87a8fazkaf.fsf@gmail.com> Date: Wed, 14 Sep 2016 20:33:53 +0500 In-Reply-To: (Noam Postavsky's message of "Wed, 14 Sep 2016 09:46:56 -0400") Message-ID: <8760pyzeam.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24435 Cc: 24435@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) Hello, Noam Postavsky wrote: > On Wed, Sep 14, 2016 at 9:24 AM, Dmitri Paduchikh = wrote: >> Hello, >> >> Judging from ispell.el it should work with Hunspell, so I tried to use >> it. But attempts to check a word produce the following error message. >> >> | Starting new Ispell process hunspell with ru_RU dictionary... >> | hunspell release 3.1.12 or greater is required (ispell-check-version) >> >> The latest version of Hunspell is 1.4.1 as can be seen here: >> https://github.com/hunspell/hunspell/releases >> >> As I understand, the problem arises because ispell-check-version finds >> version information using regexp >> >> "(but really Hunspell \\([0-9]+\\.[0-9\\.-]+\\)?)" >> >> The output of hunspell -vv does not match it, hence the results. >> >> $ hunspell -vv < /dev/null >> Hunspell 1.4.0 > I guess older Hunspell versions printed a different string. Does it > work if you change the regexp to > "\\(?:(but really \\)?Hunspell \\([0-9]+\\.[0-9\\.-]+\\)?)?" Sadly, it does not. The immediate cause of this error message is that regexp for ispell-program-version matches the Hunspell output. Then the corresponding check for Ispell version produces this error. The change shown below makes the version check pass, but another problem appears: | Starting new Ispell process hunspell with ru_RU dictionary... | ispell-phaf: No matching entry for ru_RU in =E2=80=98ispell-hunspell-dict= -paths-alist=E2=80=99. | (ispell-parse-hunspell-affix-file) It seems that Hunspell itself does not have any difficulty locating the dictionary. $ hunspell -a -d ru_RU Hunspell 1.4.0 =D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B0=D0=B0 & =D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B0=D0=B0 3 0: =D0=BF=D1=80= =D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B0, =D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80= =D0=BA=D0=B0=D0=BC, =D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B0=D1=85 Below is the change I made to work arround the version check. --- orig/ispell.el 2016-06-29 23:52:37.000000000 +0500 +++ ispell.el 2016-09-14 20:01:50.529079147 +0500 @@ -881,7 +881,7 @@ ;; Get relevant version strings. Only xx.yy.... format works well (let (case-fold-search) (setq ispell-program-version - (and (search-forward-regexp "\\([0-9]+\\.[0-9\\.]+\\)" nil t) + (and (search-forward-regexp "\\bIspell Version \\([0-9]+\\.[0-9\\.]= +\\)" nil t) (match-string 1))) =20 ;; Make sure these variables are (re-)initialized to the default value @@ -897,7 +897,7 @@ (match-string 1))) (setq ispell-really-hunspell (and (search-forward-regexp - "(but really Hunspell \\([0-9]+\\.[0-9\\.-]+\\)?)" + "\\bHunspell \\([0-9]+\\.[0-9-.]+\\)?" nil t) (match-string 1))))) =20 @@ -907,12 +907,13 @@ (ispell-minver "3.1.12") (hunspell8-minver "1.1.6")) =20 - (if (ispell-check-minver ispell0-minver ispell-program-version) - (or (ispell-check-minver ispell-minver ispell-program-version) - (setq ispell-offset 0)) - (error "%s release %s or greater is required" - ispell-program-name - ispell-minver)) + (cond ((or (null ispell-program-version) + (ispell-check-minver ispell-minver ispell-program-versi= on))) + ((ispell-check-minver ispell0-minver ispell-program-version) + (setq ispell-offset 0)) + (:else (error "%s release %s or greater is required" + ispell-program-name + ispell-minver))) =20 (cond (ispell-really-aspell From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 14 12:40:10 2016 Received: (at 24435) by debbugs.gnu.org; 14 Sep 2016 16:40:10 +0000 Received: from localhost ([127.0.0.1]:59702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkDEI-00011c-Bm for submit@debbugs.gnu.org; Wed, 14 Sep 2016 12:40:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48393) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkDEG-00011Q-Vw for 24435@debbugs.gnu.org; Wed, 14 Sep 2016 12:40:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkDE6-0004wT-V7 for 24435@debbugs.gnu.org; Wed, 14 Sep 2016 12:40:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkDE6-0004vy-Rb; Wed, 14 Sep 2016 12:39:58 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3710 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bkDE4-0006do-PC; Wed, 14 Sep 2016 12:39:57 -0400 Date: Wed, 14 Sep 2016 19:40:01 +0300 Message-Id: <83a8fa8mfy.fsf@gnu.org> From: Eli Zaretskii To: Dmitri Paduchikh In-reply-to: <87a8fazkaf.fsf@gmail.com> (message from Dmitri Paduchikh on Wed, 14 Sep 2016 18:24:24 +0500) Subject: Re: bug#24435: 25.1; Problem using Hunspell References: <87a8fazkaf.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.2 (-------) X-Debbugs-Envelope-To: 24435 Cc: 24435@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.2 (-------) > From: Dmitri Paduchikh > Date: Wed, 14 Sep 2016 18:24:24 +0500 > > Judging from ispell.el it should work with Hunspell, so I tried to use > it. But attempts to check a word produce the following error message. > > | Starting new Ispell process hunspell with ru_RU dictionary... > | hunspell release 3.1.12 or greater is required (ispell-check-version) > > The latest version of Hunspell is 1.4.1 as can be seen here: > https://github.com/hunspell/hunspell/releases > > As I understand, the problem arises because ispell-check-version finds > version information using regexp > > "(but really Hunspell \\([0-9]+\\.[0-9\\.-]+\\)?)" > > The output of hunspell -vv does not match it, hence the results. > > $ hunspell -vv < /dev/null > Hunspell 1.4.0 > $ They've changed the output in backward-incompatible ways. Previous versions responded thusly: @(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2) Since this change breaks backward compatibility, does that mean Hunspell is no longer compatible with the Ispell-like interface that Emacs expects? From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 14 12:57:20 2016 Received: (at 24435) by debbugs.gnu.org; 14 Sep 2016 16:57:20 +0000 Received: from localhost ([127.0.0.1]:59718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkDUt-0001QY-Pb for submit@debbugs.gnu.org; Wed, 14 Sep 2016 12:57:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkDUs-0001QN-Kr for 24435@debbugs.gnu.org; Wed, 14 Sep 2016 12:57:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkDUj-0003n2-LM for 24435@debbugs.gnu.org; Wed, 14 Sep 2016 12:57:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkDUj-0003md-I9; Wed, 14 Sep 2016 12:57:09 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3734 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bkDUh-0000Ke-43; Wed, 14 Sep 2016 12:57:08 -0400 Date: Wed, 14 Sep 2016 19:57:10 +0300 Message-Id: <8360py8lnd.fsf@gnu.org> From: Eli Zaretskii To: Dmitri Paduchikh In-reply-to: <8760pyzeam.fsf@gmail.com> (message from Dmitri Paduchikh on Wed, 14 Sep 2016 20:33:53 +0500) Subject: Re: bug#24435: 25.1; Problem using Hunspell References: <87a8fazkaf.fsf@gmail.com> <8760pyzeam.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.2 (-------) X-Debbugs-Envelope-To: 24435 Cc: 24435@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.2 (-------) > From: Dmitri Paduchikh > Date: Wed, 14 Sep 2016 20:33:53 +0500 > Cc: 24435@debbugs.gnu.org > > > I guess older Hunspell versions printed a different string. Does it > > work if you change the regexp to > > > "\\(?:(but really \\)?Hunspell \\([0-9]+\\.[0-9\\.-]+\\)?)?" > > Sadly, it does not. The immediate cause of this error message is that > regexp for ispell-program-version matches the Hunspell output. Then the > corresponding check for Ispell version produces this error. The change > shown below makes the version check pass, but another problem appears: > > | Starting new Ispell process hunspell with ru_RU dictionary... > | ispell-phaf: No matching entry for ru_RU in ‘ispell-hunspell-dict-paths-alist’. > | (ispell-parse-hunspell-affix-file) > > It seems that Hunspell itself does not have any difficulty locating the > dictionary. > > $ hunspell -a -d ru_RU > Hunspell 1.4.0 > проверкаа > & проверкаа 3 0: проверка, проверкам, проверках What does your Hunspell output when invoked thus: $ hunspell -D It should output all the dictionaries it has available -- that is what ispell.el expects. It was a long-standing bug in Hunspell that (some versions of) it didn't, so I'm guessing that bug is still not fixed. Look in their bug database for a patch, apply it, rebuild Hunspell, and it should work (unless my guess is wrong and some other factor is at work here). > Below is the change I made to work arround the version check. Thanks, but I think this part is too drastic: > - (if (ispell-check-minver ispell0-minver ispell-program-version) > - (or (ispell-check-minver ispell-minver ispell-program-version) > - (setq ispell-offset 0)) > - (error "%s release %s or greater is required" > - ispell-program-name > - ispell-minver)) > + (cond ((or (null ispell-program-version) > + (ispell-check-minver ispell-minver ispell-program-version))) > + ((ispell-check-minver ispell0-minver ispell-program-version) > + (setq ispell-offset 0)) > + (:else (error "%s release %s or greater is required" > + ispell-program-name > + ispell-minver))) We cannot give up the test of ispell-program-version. I suggest to do this the other way around: if Hunspell reports version 1.4 or greater, _then_ and only then skip the ispell-program-version test. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 14 13:44:28 2016 Received: (at 24435) by debbugs.gnu.org; 14 Sep 2016 17:44:28 +0000 Received: from localhost ([127.0.0.1]:59763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkEEW-0004Cj-7F for submit@debbugs.gnu.org; Wed, 14 Sep 2016 13:44:28 -0400 Received: from mail-lf0-f49.google.com ([209.85.215.49]:33563) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkEEU-0004CW-K0 for 24435@debbugs.gnu.org; Wed, 14 Sep 2016 13:44:27 -0400 Received: by mail-lf0-f49.google.com with SMTP id h127so15750288lfh.0 for <24435@debbugs.gnu.org>; Wed, 14 Sep 2016 10:44:26 -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:content-transfer-encoding; bh=jboVWUUmwdbDVRyJFIsKOScAzOJMxgUhExwFwIOS9kE=; b=YjvSYEHMdlbg5ShS0DcsGgyrGDXBjIWnm0mEYCKzbfLXqJkyFwM+An79ECtum4IUcb rFKOXdZyMA0Kk50LT8zsMTYPmCtekGFGYTIe49yk46ytHchvqWgJ8IWa2qUHiUEN1Tlf RJFMt3iL8hsgDq6wLtuRpA3nU0JfTQ1878XSm7Offlog2W14el3UX2iUPVprDkEybYjQ hnlnuGjlyFL43gYLM93TMlAp0+iqVC/yPvt8GlRxani1JLhl9A1m4BPeRdxZnzFbKmSz 4019rnLgvyVNAmdae+5+2E+vxhImPYVt6NghQmUHe/qmEHJgLiX0C038Jtm8yWGyF480 bJyQ== 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:content-transfer-encoding; bh=jboVWUUmwdbDVRyJFIsKOScAzOJMxgUhExwFwIOS9kE=; b=T3Z4450D13TYR+lxfYtSkTxwxL7PyoPvDyGWg6NdqnAr8JzC8G1ANFXwD0cdYbC8nG yAs1tGAVV21UJ6i+1AS+J6fT8bAYNaOjTXRPqW0lZ7gb6fGAxa7+Z5Rz1syLRDE5rUOH bfl58J/8JUkZNsBq7AS3G2Sq4L7f7vymBkOJiHDYneQgrbeYERK9GaqRztgHs+cmnTGg XZnDBJVLl0p8kG+8jf6V10/pROvqNSN7MTxFo5u9BLtYrAy9L/iOE+RP0vU3DKTR1XgF mnGHZ24Hn/mC34ni8CbRoTY736j4D/ec61VwWXl066wObVkMS7HoXpQgEf4f/rsjIjGP F8gw== X-Gm-Message-State: AE9vXwMeDFdLDWG/3JYbgAmE5phsJRCxwrQy5f52fXMx3hZfLnUBQWvGKJ6wA6tQT9qwqA== X-Received: by 10.25.25.145 with SMTP id 139mr1612141lfz.117.1473875060466; Wed, 14 Sep 2016 10:44:20 -0700 (PDT) Received: from gmail.com ([46.48.49.226]) by smtp.gmail.com with ESMTPSA id g38sm5126054ljg.24.2016.09.14.10.44.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Sep 2016 10:44:19 -0700 (PDT) From: Dmitri Paduchikh To: Eli Zaretskii Subject: Re: bug#24435: 25.1; Problem using Hunspell References: <87a8fazkaf.fsf@gmail.com> <8760pyzeam.fsf@gmail.com> <8360py8lnd.fsf@gnu.org> Date: Wed, 14 Sep 2016 22:44:18 +0500 In-Reply-To: <8360py8lnd.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 14 Sep 2016 19:57:10 +0300") Message-ID: <871t0mz899.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24435 Cc: 24435@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, Eli Zaretskii wrote: >> | ispell-phaf: No matching entry for ru_RU in =E2=80=98ispell-hunspell-d= ict-paths-alist=E2=80=99. >> | (ispell-parse-hunspell-affix-file) >>=20 >> It seems that Hunspell itself does not have any difficulty locating the >> dictionary. >>=20 >> $ hunspell -a -d ru_RU >> Hunspell 1.4.0 >> =D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B0=D0=B0 >> & =D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B0=D0=B0 3 0: =D0=BF=D1= =80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B0, =D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1= =80=D0=BA=D0=B0=D0=BC, =D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B0=D1= =85 > What does your Hunspell output when invoked thus: > $ hunspell -D $ hunspell -D < /dev/null Hunspell 1.4.0 $ hunspell -a -D < /dev/null SEARCH PATH: .::/usr/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts:/Library= /Spelling:/home/dmai/.openoffice.org/3/user/wordbook:.openoffice.org2/user/= wordbook:.openoffice.org2.0/user/wordbook:Library/Spelling:/opt/openoffice.= org/basis3.0/share/dict/ooo:/usr/lib/openoffice.org/basis3.0/share/dict/ooo= :/opt/openoffice.org2.4/share/dict/ooo:/usr/lib/openoffice.org2.4/share/dic= t/ooo:/opt/openoffice.org2.3/share/dict/ooo:/usr/lib/openoffice.org2.3/shar= e/dict/ooo:/opt/openoffice.org2.2/share/dict/ooo:/usr/lib/openoffice.org2.2= /share/dict/ooo:/opt/openoffice.org2.1/share/dict/ooo:/usr/lib/openoffice.o= rg2.1/share/dict/ooo:/opt/openoffice.org2.0/share/dict/ooo:/usr/lib/openoff= ice.org2.0/share/dict/ooo AVAILABLE DICTIONARIES (path is not mandatory for -d option): /usr/share/hunspell/ru_RU /usr/share/hunspell/en_NG /usr/share/hunspell/en_PH /usr/share/hunspell/en_DK /usr/share/hunspell/en_NZ /usr/share/hunspell/en_BS /usr/share/hunspell/en_AU /usr/share/hunspell/en_IE /usr/share/hunspell/en_GB-large /usr/share/hunspell/en_BW /usr/share/hunspell/en_US /usr/share/hunspell/en_CA /usr/share/hunspell/en_HK /usr/share/hunspell/en_NA /usr/share/hunspell/en_GH /usr/share/hunspell/en_BZ /usr/share/hunspell/en_SG /usr/share/hunspell/en_GB /usr/share/hunspell/en_ZW /usr/share/hunspell/en_TT /usr/share/hunspell/en_ZA /usr/share/hunspell/en_IN /usr/share/hunspell/en_AG /usr/share/hunspell/en_JM /usr/share/myspell/dicts/ru_RU /usr/share/myspell/dicts/en_NG /usr/share/myspell/dicts/en_PH /usr/share/myspell/dicts/en_DK /usr/share/myspell/dicts/en_NZ /usr/share/myspell/dicts/en_BS /usr/share/myspell/dicts/en_AU /usr/share/myspell/dicts/en_IE /usr/share/myspell/dicts/en_GB-large /usr/share/myspell/dicts/en_BW /usr/share/myspell/dicts/en_US /usr/share/myspell/dicts/en_CA /usr/share/myspell/dicts/en_HK /usr/share/myspell/dicts/en_NA /usr/share/myspell/dicts/en_GH /usr/share/myspell/dicts/en_BZ /usr/share/myspell/dicts/en_SG /usr/share/myspell/dicts/en_GB /usr/share/myspell/dicts/en_ZW /usr/share/myspell/dicts/en_TT /usr/share/myspell/dicts/en_ZA /usr/share/myspell/dicts/en_IN /usr/share/myspell/dicts/en_AG /usr/share/myspell/dicts/en_JM LOADED DICTIONARY: /usr/share/hunspell/ru_RU.aff /usr/share/hunspell/ru_RU.dic Hunspell 1.4.0 $=20 The information about dictionaries is output to stderr, and the version string - to stdout. I have added -a to ispell-call-process inside ispell-find-hunspell-dictionaries, re-customized ispell-program-name (since ispell-find-hunspell-dictionaries seems to be called through its customization setter), and the error with missing dictionaries disappeared. Now when I try to check some word, after waiting for several seconds I get this message: | Starting new Ispell process hunspell with ru_RU dictionary... | Hunspell 1.4.0 (ispell-init-process) Subsequent attempts give such result: | Checking spelling of =D0=92=D0=9F=D0=95=D0=A0=D0=81=D0=94... | Error checking word =D0=92=D0=9F=D0=95=D0=A0=D0=81=D0=94 using hunspell w= ith ru_RU dictionary The word seems to pass spellcheck using CLI interface. $ echo =D0=B2=D0=BF=D0=B5=D1=80=D1=91=D0=B4 | hunspell -a -d ru_RU Hunspell 1.4.0 * $=20 Best regards Dmitri Paduchikh From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 14 14:50:58 2016 Received: (at 24435) by debbugs.gnu.org; 14 Sep 2016 18:50:58 +0000 Received: from localhost ([127.0.0.1]:59797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkFGs-0005ka-5x for submit@debbugs.gnu.org; Wed, 14 Sep 2016 14:50:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkFGq-0005kO-JM for 24435@debbugs.gnu.org; Wed, 14 Sep 2016 14:50:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkFGi-0000B0-9x for 24435@debbugs.gnu.org; Wed, 14 Sep 2016 14:50:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkFGi-0000Am-6O; Wed, 14 Sep 2016 14:50:48 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4305 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bkFGe-0002n9-Ad; Wed, 14 Sep 2016 14:50:46 -0400 Date: Wed, 14 Sep 2016 21:50:35 +0300 Message-Id: <83sht271tw.fsf@gnu.org> From: Eli Zaretskii To: Dmitri Paduchikh In-reply-to: <871t0mz899.fsf@gmail.com> (message from Dmitri Paduchikh on Wed, 14 Sep 2016 22:44:18 +0500) Subject: Re: bug#24435: 25.1; Problem using Hunspell References: <87a8fazkaf.fsf@gmail.com> <8760pyzeam.fsf@gmail.com> <8360py8lnd.fsf@gnu.org> <871t0mz899.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.2 (-------) X-Debbugs-Envelope-To: 24435 Cc: 24435@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.2 (-------) > From: Dmitri Paduchikh > Cc: npostavs@users.sourceforge.net, 24435@debbugs.gnu.org > Date: Wed, 14 Sep 2016 22:44:18 +0500 > > > What does your Hunspell output when invoked thus: > > $ hunspell -D > > $ hunspell -D < /dev/null > Hunspell 1.4.0 That's the bug. > Now when I try to check some word, after waiting for > several seconds I get this message: > > | Starting new Ispell process hunspell with ru_RU dictionary... > | Hunspell 1.4.0 (ispell-init-process) > > Subsequent attempts give such result: > > | Checking spelling of ВПЕРЁД... > | Error checking word ВПЕРЁД using hunspell with ru_RU dictionary > > The word seems to pass spellcheck using CLI interface. > > $ echo вперёд | hunspell -a -d ru_RU > Hunspell 1.4.0 > * You used a lower-case variant of the word in the CLI test, so the results could be different. What happens when you pass exactly ВПЕРЁД in the CLI case? Also, can you look (in 'ps' or some similar system utility) what is the exact command line that Emacs invokes Hunspell in your case? From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 14 16:10:38 2016 Received: (at 24435) by debbugs.gnu.org; 14 Sep 2016 20:10:39 +0000 Received: from localhost ([127.0.0.1]:59854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkGVy-0007g0-Lg for submit@debbugs.gnu.org; Wed, 14 Sep 2016 16:10:38 -0400 Received: from mail-lf0-f54.google.com ([209.85.215.54]:36858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkGVx-0007fl-CZ for 24435@debbugs.gnu.org; Wed, 14 Sep 2016 16:10:37 -0400 Received: by mail-lf0-f54.google.com with SMTP id g62so18281934lfe.3 for <24435@debbugs.gnu.org>; Wed, 14 Sep 2016 13:10:37 -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:content-transfer-encoding; bh=pIdPfqDBVaD3Cp4Ix7CbQsNqNeMNS4dbopphFl5zYkk=; b=elzW/Qbx3rOke4nTag+9ijDAIzXlTR63hy2bEpc0i2zGzYRgYc9fpymCWCyW4VFFA5 DO17KR0agJ3Dd+p9ZyevoG4tWMQnKY5rJ5FF9rXdNqf9Z3XQO1QFBgGvzp/6Tg0iL7K6 PwIcf4vrVj/WEOnQbweKFiDI88Cgz4fL60PwfFow8D1Xh06TPBgDh7bRWvAo3PTfIHgP WhfS8Sa2NlK0lqisplN1NNmp03p4qmfjDK0MS6HCshvcwNrO1TOuIYhE+IW6mtWTqWw2 Ncpol/dwrECk2Nlet4nKtwm934qBntuw8Dk2U9ie3VwFgu6kzOrKYhVIneFR7ODaCBCU oygQ== 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:content-transfer-encoding; bh=pIdPfqDBVaD3Cp4Ix7CbQsNqNeMNS4dbopphFl5zYkk=; b=nMIHOdbSpVSjH9yC+xiBFVAJqvbUjkFeXM1c7iOn51Eiuq+nMSTVwOfU6Njv8o7my0 FiubOtlk4/B6Dheff0ttUnc6kTjeJBMg6FjVS3DHiEiRmEBsWyBrBHd3MwnXXI+DVay3 stUJkI594zhq65KEG2NQyKwZaW7jYjVdzeIW2p5SaCFdzYP9HrP2tZOM9gLhJH/4hvIC VlPo03CJep8YblMd50JzszhHE1SDpTlKEkTDaATaDqWZ5trs5ZKJciCvpOH+DD6NGK6r Pe7mItmrK1DQ7hvZoFfkfsT8I7hSuhhPCXbXbxaBarDY+f9MaQF2i+ykn9TEj2i2wXSk AS7w== X-Gm-Message-State: AE9vXwNzv8pN7Ok8CJl03h3LuGX/BAHnjmEsg8057bBzY423vnnGp6LKuUBpWZbX08ztNQ== X-Received: by 10.25.214.42 with SMTP id n42mr2020986lfg.109.1473883831500; Wed, 14 Sep 2016 13:10:31 -0700 (PDT) Received: from gmail.com ([46.48.49.226]) by smtp.gmail.com with ESMTPSA id 36sm5247523ljb.36.2016.09.14.13.10.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Sep 2016 13:10:30 -0700 (PDT) From: Dmitri Paduchikh To: Eli Zaretskii Subject: Re: bug#24435: 25.1; Problem using Hunspell References: <87a8fazkaf.fsf@gmail.com> <8760pyzeam.fsf@gmail.com> <8360py8lnd.fsf@gnu.org> <871t0mz899.fsf@gmail.com> <83sht271tw.fsf@gnu.org> Date: Thu, 15 Sep 2016 01:10:29 +0500 In-Reply-To: <83sht271tw.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 14 Sep 2016 21:50:35 +0300") Message-ID: <87wpiexmx6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24435 Cc: 24435@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) Hello, Eli Zaretskii wrote: >> Now when I try to check some word, after waiting for >> several seconds I get this message: >> >> | Starting new Ispell process hunspell with ru_RU dictionary... >> | Hunspell 1.4.0 (ispell-init-process) >> >> Subsequent attempts give such result: >> >> | Checking spelling of ... >> | Error checking word using hunspell with ru_RU dictionary >> >> The word seems to pass spellcheck using CLI interface. >> >> $ echo ң | hunspell -a -d ru_RU >> Hunspell 1.4.0 >> * > You used a lower-case variant of the word in the CLI test, so the > results could be different. What happens when you pass exactly > in the CLI case? No, I check lower-case word in Emacs as well. I thought that probably it is because ispell.el converts the word to uppercase. Anyway, CLI test with uppercase word gives the same result. > 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. Well, with all preceding arrangements. Thank you for hints. Best regards Dmitri Paduchikh From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 09:41:34 2016 Received: (at 24435) by debbugs.gnu.org; 15 Sep 2016 13:41:34 +0000 Received: from localhost ([127.0.0.1]:60119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkWuw-0003Uk-Rd for submit@debbugs.gnu.org; Thu, 15 Sep 2016 09:41:34 -0400 Received: from neon-v2.ccupm.upm.es ([138.100.198.70]:38839) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkWur-0003UY-NE for 24435@debbugs.gnu.org; Thu, 15 Sep 2016 09:41:29 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) (user=agustin.martin@upm.es mech=LOGIN bits=0) by neon-v2.ccupm.upm.es (8.14.4/8.14.4/neon-v2-001) with ESMTP id u8FDfND5023222 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Sep 2016 15:41:23 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id A6B3E40790; Thu, 15 Sep 2016 15:41:23 +0200 (CEST) Date: Thu, 15 Sep 2016 15:41:23 +0200 From: Agustin Martin To: 24435@debbugs.gnu.org, Dmitri Paduchikh Subject: Re: bug#24435: 25.1; Problem using Hunspell Message-ID: <20160915134123.4mxa3cukzybd7w6d@agmartin.aq.upm.es> References: <87a8fazkaf.fsf@gmail.com> <83a8fa8mfy.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83a8fa8mfy.fsf@gnu.org> User-Agent: NeoMutt/ (1.7.0) X-Spam-Score: -4.5 (----) X-Debbugs-Envelope-To: 24435 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.5 (----) On Wed, Sep 14, 2016 at 07:40:01PM +0300, Eli Zaretskii wrote: > > From: Dmitri Paduchikh > > Date: Wed, 14 Sep 2016 18:24:24 +0500 > > > > Judging from ispell.el it should work with Hunspell, so I tried to use > > it. But attempts to check a word produce the following error message. > > > > | Starting new Ispell process hunspell with ru_RU dictionary... > > | hunspell release 3.1.12 or greater is required (ispell-check-version) > > > > The latest version of Hunspell is 1.4.1 as can be seen here: > > https://github.com/hunspell/hunspell/releases > > > > As I understand, the problem arises because ispell-check-version finds > > version information using regexp > > > > "(but really Hunspell \\([0-9]+\\.[0-9\\.-]+\\)?)" > > > > The output of hunspell -vv does not match it, hence the results. > > > > $ hunspell -vv < /dev/null > > Hunspell 1.4.0 > > $ > > They've changed the output in backward-incompatible ways. Previous > versions responded thusly: > > @(#) International Ispell Version 3.2.06 (but really Hunspell 1.3.2) > > Since this change breaks backward compatibility, does that mean > Hunspell is no longer compatible with the Ispell-like interface that > Emacs expects? Hi, I have been looking at hunspell git repo, https://github.com/hunspell/hunspell That string is defined in src/tools/hunspell.cxx file (line 60, HUNSPELL_PIPE_HEADING) and seems to still be there. No changes in it since end of last January, and they were only formatting changes. With hunspell-1.4.1 in Debian GNU/Linux (note that 1.4.0 version is wrong), $ hunspell -vv < /dev/null @(#) International Ispell Version 3.2.06 (but really Hunspell 1.4.0) $ hunspell -a < /dev/null @(#) International Ispell Version 3.2.06 (but really Hunspell 1.4.0) Although by the way, $ hunspell -va < /dev/null Hunspell 1.4.0 $ hunspell -vva < /dev/null Hunspell 1.4.0 Where does your hunspell come from? Regards, -- Agustin From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 10:25:39 2016 Received: (at 24435) by debbugs.gnu.org; 15 Sep 2016 14:25:39 +0000 Received: from localhost ([127.0.0.1]:60572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkXbb-0004f7-2h for submit@debbugs.gnu.org; Thu, 15 Sep 2016 10:25:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55125) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkXbU-0004eq-Ue for 24435@debbugs.gnu.org; Thu, 15 Sep 2016 10:25:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkXbK-0002GS-W9 for 24435@debbugs.gnu.org; Thu, 15 Sep 2016 10:25:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkXbK-0002G3-Sw; Thu, 15 Sep 2016 10:25:18 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1179 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bkXbJ-0002FT-9B; Thu, 15 Sep 2016 10:25:17 -0400 Date: Thu, 15 Sep 2016 17:25:25 +0300 Message-Id: <83k2ed6y0a.fsf@gnu.org> From: Eli Zaretskii To: Dmitri Paduchikh In-reply-to: <87wpiexmx6.fsf@gmail.com> (message from Dmitri Paduchikh on Thu, 15 Sep 2016 01:10:29 +0500) Subject: Re: bug#24435: 25.1; Problem using Hunspell 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> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.2 (-------) X-Debbugs-Envelope-To: 24435 Cc: 24435@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.2 (-------) > 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 11:22:13 2016 Received: (at 24435) by debbugs.gnu.org; 15 Sep 2016 15:22:13 +0000 Received: from localhost ([127.0.0.1]:60629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkYUL-00067K-Ff for submit@debbugs.gnu.org; Thu, 15 Sep 2016 11:22:13 -0400 Received: from neon-v1.ccupm.upm.es ([138.100.198.71]:44352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkYUF-000674-Mx for 24435@debbugs.gnu.org; Thu, 15 Sep 2016 11:22:08 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) (user=agustin.martin@upm.es mech=LOGIN bits=0) by neon-v1.ccupm.upm.es (8.14.4/8.14.4/neon-v1-002) with ESMTP id u8FFM0bv017965 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Sep 2016 17:22:01 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 293C34079E; Thu, 15 Sep 2016 17:22:01 +0200 (CEST) Date: Thu, 15 Sep 2016 17:22:01 +0200 From: Agustin Martin To: 24435@debbugs.gnu.org Subject: Re: bug#24435: 25.1; Problem using Hunspell Message-ID: <20160915152200.wr5hndsrb2fznqtr@agmartin.aq.upm.es> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83k2ed6y0a.fsf@gnu.org> User-Agent: NeoMutt/ (1.7.0) X-Spam-Score: -4.5 (----) X-Debbugs-Envelope-To: 24435 Cc: Dmitri Paduchikh , npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.5 (----) On Thu, Sep 15, 2016 at 05:25:25PM +0300, 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. I think it is ispell-call-process what is used for this particular purpose by ispell-check-version. No -a seems used here. -- Agustin From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 12:20:30 2016 Received: (at 24435) by debbugs.gnu.org; 15 Sep 2016 16:20:30 +0000 Received: from localhost ([127.0.0.1]:60696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkZOo-0001fa-33 for submit@debbugs.gnu.org; Thu, 15 Sep 2016 12:20:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkZOm-0001fJ-Hw for 24435@debbugs.gnu.org; Thu, 15 Sep 2016 12:20:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkZOf-0007qs-HH for 24435@debbugs.gnu.org; Thu, 15 Sep 2016 12:20:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38459) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkZOO-0007h3-Gi; Thu, 15 Sep 2016 12:20:04 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1829 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bkZOM-0000gn-Dn; Thu, 15 Sep 2016 12:20:03 -0400 Date: Thu, 15 Sep 2016 19:20:09 +0300 Message-Id: <8337l16sp2.fsf@gnu.org> From: Eli Zaretskii To: Agustin Martin In-reply-to: <20160915152200.wr5hndsrb2fznqtr@agmartin.aq.upm.es> (message from Agustin Martin on Thu, 15 Sep 2016 17:22:01 +0200) Subject: Re: bug#24435: 25.1; Problem using Hunspell 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> <20160915152200.wr5hndsrb2fznqtr@agmartin.aq.upm.es> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.2 (-------) X-Debbugs-Envelope-To: 24435 Cc: dpaduchikh@gmail.com, 24435@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.2 (-------) > Date: Thu, 15 Sep 2016 17:22:01 +0200 > From: Agustin Martin > Cc: Dmitri Paduchikh , npostavs@users.sourceforge.net > > On Thu, Sep 15, 2016 at 05:25:25PM +0300, 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. > > I think it is ispell-call-process what is used for this particular purpose > by ispell-check-version. No -a seems used here. I think you are talking about checking the version, whereas I was talking about how Hunspell is invoked for the spell-check itself. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 13:36:48 2016 Received: (at 24435) by debbugs.gnu.org; 15 Sep 2016 17:36:49 +0000 Received: from localhost ([127.0.0.1]:60731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkaae-0003m9-O4 for submit@debbugs.gnu.org; Thu, 15 Sep 2016 13:36:48 -0400 Received: from neon-v2.ccupm.upm.es ([138.100.198.70]:33376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkaad-0003m1-3H for 24435@debbugs.gnu.org; Thu, 15 Sep 2016 13:36:47 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) (user=agustin.martin@upm.es mech=LOGIN bits=0) by neon-v2.ccupm.upm.es (8.14.4/8.14.4/neon-v2-001) with ESMTP id u8FHai08032744 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Sep 2016 19:36:44 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 3385B4079E; Thu, 15 Sep 2016 19:36:45 +0200 (CEST) Date: Thu, 15 Sep 2016 19:36:45 +0200 From: Agustin Martin To: 24435@debbugs.gnu.org Subject: Re: bug#24435: 25.1; Problem using Hunspell Message-ID: <20160915173645.ovjfdsezfdzfdrur@agmartin.aq.upm.es> 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> <20160915152200.wr5hndsrb2fznqtr@agmartin.aq.upm.es> <8337l16sp2.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8337l16sp2.fsf@gnu.org> User-Agent: NeoMutt/ (1.7.0) X-Spam-Score: -4.5 (----) X-Debbugs-Envelope-To: 24435 Cc: dpaduchikh@gmail.com, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.5 (----) On Thu, Sep 15, 2016 at 07:20:09PM +0300, Eli Zaretskii wrote: > > Date: Thu, 15 Sep 2016 17:22:01 +0200 > > From: Agustin Martin > > Cc: Dmitri Paduchikh , npostavs@users.sourceforge.net > > > > On Thu, Sep 15, 2016 at 05:25:25PM +0300, 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. > > > > I think it is ispell-call-process what is used for this particular purpose > > by ispell-check-version. No -a seems used here. > > I think you are talking about checking the version, whereas I was > talking about how Hunspell is invoked for the spell-check itself. Right. I stand corrected. I was thinking about the reported error message and missed that you were actually talking about the output of $ pgrep -a hunspell when the hunspell process is launched. Sorry for the noise, -- Agustin From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 17:00:09 2016 Received: (at 24435) by debbugs.gnu.org; 15 Sep 2016 21:00:09 +0000 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 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 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) 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) From: Dmitri Paduchikh To: Eli Zaretskii Subject: Re: bug#24435: 25.1; Problem using Hunspell 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> Date: Fri, 16 Sep 2016 01:59:58 +0500 In-Reply-To: <83k2ed6y0a.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 15 Sep 2016 17:25:25 +0300") Message-ID: <8760pwg9pt.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24435 Cc: 24435@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 15 17:42:29 2016 Received: (at 24435) by debbugs.gnu.org; 15 Sep 2016 21:42:29 +0000 Received: from localhost ([127.0.0.1]:60819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkeQP-0001CO-8C for submit@debbugs.gnu.org; Thu, 15 Sep 2016 17:42:29 -0400 Received: from mail-lf0-f49.google.com ([209.85.215.49]:35735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkeQN-0001C7-DD for 24435@debbugs.gnu.org; Thu, 15 Sep 2016 17:42:27 -0400 Received: by mail-lf0-f49.google.com with SMTP id l131so48744106lfl.2 for <24435@debbugs.gnu.org>; Thu, 15 Sep 2016 14:42:27 -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=LyHS1miSEQAEUx9n1pJcpFGwj3sCl3T8WeRXcFDmjQI=; b=pwMY+BrcHKJydHS0HXbTwmLrrB4sGQGrjquy5r/1vMAMa0TEDJkuQdJCa5Ykjseq/u eFzEobaJM28zCwz6Vy3zb3oyjd6wA3lFK7IHyWH/6v5lkTLYXhAyuChtjVG7rCLB3Ml4 1THctg5lX9nifu1lOQe4ghIZ0F+G0PmpzpkLu/1BP19phMXrsMG5cflURiVmlXon0e46 Z2WMxkzXrZ7p8PGgZfFCpswgzm0jmw0rnBX4RdoUHm//fq3LBYgCFKdxPJI0vilJO2x8 Wq6dlRjx70O/DtQj/zV6ilpXEexv9dkrZJs1p/Nnjw1WUXb5p17G0l46FFE3S171Q2An bt0g== 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=LyHS1miSEQAEUx9n1pJcpFGwj3sCl3T8WeRXcFDmjQI=; b=SHy/QkZS+HFXFzb+vdpe89u2tUkaF342tMzT/+1W+QBTHi7lZ0fDwfZi0OCs9Avmmf qYGMT6cIxXYk9cmAeXKbrnrS4gYQ0OWKHWScisUfb5CPRfhgYtmrONDpNkbF6GpoGoL2 8hqX+3uNMtw7PJreV375vMEuXVycg2s4t0aK35XXYWKsFSWlEcCNsmvSUncTR3tjEGcG cYZJzXaVm4acUumdYIQi0EbctRexU2YlCCFglUzq5Z7HzRgumhDeORutctzLUer+X4ry cvefGkb64bUsubm11UVQ7VHVLi91+QSZ3UiabiNSqVzyvOku8ukbmomemVqvid0W3JTM gXcg== X-Gm-Message-State: AE9vXwOOOHiG0wi83mRSfJ50G3thJwktdvTNZ7SvugVmW7opG8EyG0qQgqhDnO0qkpyzBA== X-Received: by 10.25.16.35 with SMTP id f35mr4552983lfi.160.1473975741420; Thu, 15 Sep 2016 14:42:21 -0700 (PDT) Received: from gmail.com ([46.48.49.226]) by smtp.gmail.com with ESMTPSA id e25sm1534241lji.44.2016.09.15.14.42.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Sep 2016 14:42:20 -0700 (PDT) From: Dmitri Paduchikh To: Agustin Martin Subject: Re: bug#24435: 25.1; Problem using Hunspell References: <87a8fazkaf.fsf@gmail.com> <83a8fa8mfy.fsf@gnu.org> <20160915134123.4mxa3cukzybd7w6d@agmartin.aq.upm.es> Date: Fri, 16 Sep 2016 02:42:19 +0500 In-Reply-To: <20160915134123.4mxa3cukzybd7w6d@agmartin.aq.upm.es> (Agustin Martin's message of "Thu, 15 Sep 2016 15:41:23 +0200") Message-ID: <871t0kg7r8.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24435 Cc: 24435@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) Hello, Agustin Martin wrote: > Hi, > I have been looking at hunspell git repo, > https://github.com/hunspell/hunspell > That string is defined in src/tools/hunspell.cxx file (line 60, > HUNSPELL_PIPE_HEADING) and seems to still be there. No changes in it > since end of last January, and they were only formatting changes. > With hunspell-1.4.1 in Debian GNU/Linux (note that 1.4.0 version is wrong), > $ hunspell -vv < /dev/null > @(#) International Ispell Version 3.2.06 (but really Hunspell 1.4.0) > $ hunspell -a < /dev/null > @(#) International Ispell Version 3.2.06 (but really Hunspell 1.4.0) > Although by the way, > $ hunspell -va < /dev/null > Hunspell 1.4.0 > $ hunspell -vva < /dev/null > Hunspell 1.4.0 > Where does your hunspell come from? Mine is from Arch Linux. https://www.archlinux.org/packages/extra/x86_64/hunspell/ Best regards Dmitri Paduchikh From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 16 02:29:14 2016 Received: (at 24435) by debbugs.gnu.org; 16 Sep 2016 06:29:14 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 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 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 Date: Fri, 16 Sep 2016 09:29:12 +0300 Message-Id: <83lgys5pdz.fsf@gnu.org> From: Eli Zaretskii To: Dmitri Paduchikh In-reply-to: <8760pwg9pt.fsf@gmail.com> (message from Dmitri Paduchikh on Fri, 16 Sep 2016 01:59:58 +0500) Subject: Re: bug#24435: 25.1; Problem using Hunspell 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> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.2 (-------) X-Debbugs-Envelope-To: 24435 Cc: 24435@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.2 (-------) > 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? From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 16 04:07:09 2016 Received: (at 24435) by debbugs.gnu.org; 16 Sep 2016 08:07:09 +0000 Received: from localhost ([127.0.0.1]:60979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkoAv-0001Xw-LZ for submit@debbugs.gnu.org; Fri, 16 Sep 2016 04:07:09 -0400 Received: from mail-lf0-f41.google.com ([209.85.215.41]:32912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkoAt-0001Xh-Ke for 24435@debbugs.gnu.org; Fri, 16 Sep 2016 04:07:08 -0400 Received: by mail-lf0-f41.google.com with SMTP id h127so60600002lfh.0 for <24435@debbugs.gnu.org>; Fri, 16 Sep 2016 01:07:07 -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=htFDMKFIcISQGFSHtkJQpeWaJzop298ykDZyuEPs+o8=; b=Ynelumiq7mGpr0JREtgq/+7exJgsaF6CM3V3G5kUAm0iCV3P9VAoZXQS0tqiX+zGxN 5vE9GGm7Up2T83oMdMbYqVtqAv1JsANhwG4lCqrhp1g89UmJkaAvoLs4jhO2fAAYp4lv FL6vFd5d6LUebhGB9hRdd6dssB0mMfiAU9iwpTmA+f0Kefu1P1HAv1qlCpIxTbcGOgfx ShvbIjiSR7bnin5ZignXTbmzDIJ7tit+p+J9IyCV+qpUS3hmPZ7hH6p44nAbexcRLw2C K1oeafST4/NgmuqyGFs7m/tk+vkbiuuM5BBukoV1M+sQY91GP7Yke9voi31bhfbMGLQv AmsQ== 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=htFDMKFIcISQGFSHtkJQpeWaJzop298ykDZyuEPs+o8=; b=W9oDxt32cvZ1FLhEuoD9U1KQMoDLcG7tm3lyBElDA6iziC5YBoq6amR5PdIEwG/NMX BdpzQYMZG+wn4LgqRnGaGU4+SMpUdFKuO1VbVpn+D/3zRBp2Wi+ZNAayZQQ8YjH4TKkZ CH1u+Ebo8585YwwicwfXXYSB2sYbKcDa8Ty9e32FETZ+mpXQdjxgJ/kue5mxo2cQIiDB QlTUeFXdYkjG4vBKz8AsxuHsxhGWCMzcQ5Ej2xZVrpJui4lFwp194tKWRa74flm6QtDA eduVLLfTnnPX7OiJcWGdJLncyqXzq8pYDSHCMbmOKzrgp988ntMeULquA1oDYwxlAg6V 586A== X-Gm-Message-State: AE9vXwP+My5Dakr9srevakNSjn1bgkYvQIZdNtzn3ejJR3/22JIB2qY+UBUwtr36za42ag== X-Received: by 10.46.33.14 with SMTP id h14mr5503013ljh.22.1474013221671; Fri, 16 Sep 2016 01:07:01 -0700 (PDT) Received: from gmail.com ([46.48.49.226]) by smtp.gmail.com with ESMTPSA id o79sm2075817lfb.33.2016.09.16.01.07.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Sep 2016 01:07:00 -0700 (PDT) From: Dmitri Paduchikh To: Eli Zaretskii Subject: Re: bug#24435: 25.1; Problem using Hunspell 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> <83lgys5pdz.fsf@gnu.org> Date: Fri, 16 Sep 2016 13:06:59 +0500 In-Reply-To: <83lgys5pdz.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 16 Sep 2016 09:29:12 +0300") Message-ID: <87r38ke09o.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24435 Cc: 24435@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, Eli Zaretskii wrote: >> 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? 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 16 04:34:29 2016 Received: (at 24435-done) by debbugs.gnu.org; 16 Sep 2016 08:34:29 +0000 Received: from localhost ([127.0.0.1]:60983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkobM-0003nM-S8 for submit@debbugs.gnu.org; Fri, 16 Sep 2016 04:34:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkobK-0003n9-Ku for 24435-done@debbugs.gnu.org; Fri, 16 Sep 2016 04:34:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkob9-0002yI-RD for 24435-done@debbugs.gnu.org; Fri, 16 Sep 2016 04:34:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkob9-0002xo-OY; Fri, 16 Sep 2016 04:34:15 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3720 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bkob7-0003oR-8a; Fri, 16 Sep 2016 04:34:13 -0400 Date: Fri, 16 Sep 2016 11:34:24 +0300 Message-Id: <83bmzo5jlb.fsf@gnu.org> From: Eli Zaretskii To: Dmitri Paduchikh In-reply-to: <87r38ke09o.fsf@gmail.com> (message from Dmitri Paduchikh on Fri, 16 Sep 2016 13:06:59 +0500) Subject: Re: bug#24435: 25.1; Problem using Hunspell 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> <83lgys5pdz.fsf@gnu.org> <87r38ke09o.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.2 (-------) X-Debbugs-Envelope-To: 24435-done Cc: 24435-done@debbugs.gnu.org, npostavs@users.sourceforge.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.2 (-------) > From: Dmitri Paduchikh > Cc: npostavs@users.sourceforge.net, 24435@debbugs.gnu.org > Date: Fri, 16 Sep 2016 13:06:59 +0500 > > >> $ 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. Thanks, I'm therefore closing this bug report. From unknown Sun Aug 10 16:50:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 14 Oct 2016 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator