From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Agustin Martin Newsgroups: gmane.emacs.bugs Subject: bug#32280: 26.1; FLYSPELL-BUFFER sometimes misbehaves for some input in a large enough buffer Date: Mon, 30 Jul 2018 15:20:33 +0200 Message-ID: <20180730132033.GA1182@agmartin.aq.upm.es> References: <992503e5-5f88-30c7-e9b9-fe0a884d2e52@gmail.com> <20180727160048.GA30487@agmartin.aq.upm.es> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1532956753 23266 195.159.176.226 (30 Jul 2018 13:19:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Jul 2018 13:19:13 +0000 (UTC) User-Agent: Mutt/1.10.1 (2018-07-13) To: 32280@debbugs.gnu.org, Artem Boldarev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 30 15:19:09 2018 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 1fk84o-0005sk-Df for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jul 2018 15:19:07 +0200 Original-Received: from localhost ([::1]:52592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fk86t-0004gm-HA for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jul 2018 09:21:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fk86n-0004gS-7i for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2018 09:21:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fk86i-0001CI-8u for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2018 09:21:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57689) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fk86i-0001Bz-39 for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2018 09:21:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fk86g-00019L-6y for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2018 09:21:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Agustin Martin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Jul 2018 13:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32280 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32280-submit@debbugs.gnu.org id=B32280.15329568544385 (code B ref 32280); Mon, 30 Jul 2018 13:21:02 +0000 Original-Received: (at 32280) by debbugs.gnu.org; 30 Jul 2018 13:20:54 +0000 Original-Received: from localhost ([127.0.0.1]:34474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fk86X-00018e-UT for submit@debbugs.gnu.org; Mon, 30 Jul 2018 09:20:54 -0400 Original-Received: from neon-v2.ccupm.upm.es ([138.100.198.70]:43407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fk86W-00018U-1A for 32280@debbugs.gnu.org; Mon, 30 Jul 2018 09:20:52 -0400 Original-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 w6UDKXSn002676 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Jul 2018 15:20:33 +0200 Original-Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 5774B41CE9; Mon, 30 Jul 2018 15:20:33 +0200 (CEST) Content-Disposition: inline In-Reply-To: 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:149073 Archived-At: On Sat, Jul 28, 2018 at 03:00:40AM +0300, Artem Boldarev wrote: > Hello Agustin, > > Thanks for your suggestion! > > Unfortunately, it does not work on my system with 'emacs -Q'. So, somehow I > need to manually configure my dictionaries anyway. I will consider replacing > 'ispell-dictionary-alist'with 'ispell-local-dictionary-alist' in my > configuration. Thank you for pointing out. Hi, I am using your example file with emacs -Q (Emacs 25) and had no problems, flyspell-buffer works as expected after setting ispell-program-name to hunspell and set ru_RU as dict (hunspell 1.6.2 here). Local Ispell dictionary set to ru_RU Starting new Ispell process hunspell with ru_RU dictionary... Checking region... Spell Checking...100% [laborum] Spell Checking completed. The auto-detected values for hunspell ru_RU are (ru_RU [[:alpha:]] [^[:alpha:]] t (-d ru_RU) nil utf-8) Wonder why otherchars is not shown. > The codepage I specified in the configuration, as it seems, is not the > problem as spell checking works fine *most* of the time. I could spellcheck > large amounts of text without any issues. It seems that hunspell always uses > utf-8 internally, but I am not sure: I will try to investigate this. Seems I was wrong, it is a long time since I digged there. ¿What happens if you use "[[:alpha:]]" and "[^[:alpha:]]" instead if the explicit character strings "[АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЭЮЯабвгдеёжзийклмнопрстуфхцчшщьыъэюя]" and "[^АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЭЮЯабвгдеёжзийклмнопрстуфхцчшщьыъэюя]"? Regards, -- Agustin