From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Artem Boldarev Newsgroups: gmane.emacs.bugs Subject: bug#32280: 26.1; FLYSPELL-BUFFER sometimes misbehaves for some input in a large enough buffer Date: Sat, 28 Jul 2018 03:00:40 +0300 Message-ID: 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; format=flowed Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1532735954 24009 195.159.176.226 (27 Jul 2018 23:59:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 27 Jul 2018 23:59:14 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Cc: 32280@debbugs.gnu.org To: Agustin Martin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 28 01:59: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 1fjCdZ-0006A1-0f for geb-bug-gnu-emacs@m.gmane.org; Sat, 28 Jul 2018 01:59:09 +0200 Original-Received: from localhost ([::1]:43382 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fjCff-0004lJ-Qs for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Jul 2018 20:01:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fjCfS-0004jx-Hd for bug-gnu-emacs@gnu.org; Fri, 27 Jul 2018 20:01:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fjCfP-0000lv-Fl for bug-gnu-emacs@gnu.org; Fri, 27 Jul 2018 20:01:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55629) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fjCfP-0000lr-Bx for bug-gnu-emacs@gnu.org; Fri, 27 Jul 2018 20:01:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fjCfP-0003of-3r for bug-gnu-emacs@gnu.org; Fri, 27 Jul 2018 20:01:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Artem Boldarev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Jul 2018 00:01:03 +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.153273605114637 (code B ref 32280); Sat, 28 Jul 2018 00:01:03 +0000 Original-Received: (at 32280) by debbugs.gnu.org; 28 Jul 2018 00:00:51 +0000 Original-Received: from localhost ([127.0.0.1]:60646 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjCfC-0003o0-RN for submit@debbugs.gnu.org; Fri, 27 Jul 2018 20:00:51 -0400 Original-Received: from mail-lj1-f175.google.com ([209.85.208.175]:42028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fjCfB-0003nl-6g for 32280@debbugs.gnu.org; Fri, 27 Jul 2018 20:00:49 -0400 Original-Received: by mail-lj1-f175.google.com with SMTP id f1-v6so5784487ljc.9 for <32280@debbugs.gnu.org>; Fri, 27 Jul 2018 17:00:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=qBNDrAk/3/i8odre6NGso6H0Qy2U7hC17CxIyT15Qq4=; b=k+Q6JqvDTnVr5vzykOV3hsC/NSdDJowr7QFBsr10R3TV66hlK+XfNc+SR+/ytkjapT M4uMam2Gsg8xVPfHSRnulPc5zb4f2uzHXVLaXe9DCB58rPqsuzDavll0VKYx4XopSZDn enQWSh8lT3+grMAdQxmjB92p/McP43tm2uvOfB+DACrDmWTbh9KaIhgCpgvMgZm8FCzL tCp/GflQGJvhjUf2gJQ0XMsYHBwlg14sjCoWZfISN26ReUlZVu2M4UGK09aH4INcF0+A jwP2IdIyZEzpzQoQiEH8pTQoK/fZGFl1wYxiGdoGlnqnqd7XVpDRUD0n2Cl+UAAsC6Ad Jufw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=qBNDrAk/3/i8odre6NGso6H0Qy2U7hC17CxIyT15Qq4=; b=hwk4gTvcFbUaHmVP+lPUbuWGwW8rXE4pEMah5CX/iVUExa13P1LpedAgauhgpkRvpi eGwDXH/QrZFz7Q8Er9grI1c7i2YkVsMfZJ0aRrdYrHT+GtmiWXIW6OMzgJFHZPekZ/aB LgUtMLPYmyEIYP4wtOoUSLdtCaUaSGRISyRhrLaR6DnAWOB+ChcGO44Koru8NMMnPCub pqV3XMpxpGWYOsCkTG8veVftgO+kjJi8kbKpkkJaKUkDVoeNSXJKcCUEXOOvjHQ93aHh O8or3R8tl1Fk9P3iEzUsgqErn5Ux39xVz5RXghaeY5jvq4sdN0SrcK/WeVE/0SpbqLcd lhdA== X-Gm-Message-State: AOUpUlG7jjbXLPCeallaNScTBaDXonUfU8Hw3Yjq8Tp1i7udyTcMnQsn R1IvZMkAfYGVdP2emSD0xStc5x4N X-Google-Smtp-Source: AAOMgpd4IwoSD+kR2w93Iuq47a26p0wggnn/xq7kO7Le1KFUQEepFkIoFUJeL1SboDK441snZFHepA== X-Received: by 2002:a2e:5b4a:: with SMTP id p71-v6mr6114054ljb.91.1532736042833; Fri, 27 Jul 2018 17:00:42 -0700 (PDT) Original-Received: from [192.168.8.8] ([178.165.7.18]) by smtp.gmail.com with ESMTPSA id y68-v6sm710583lfd.66.2018.07.27.17.00.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Jul 2018 17:00:42 -0700 (PDT) In-Reply-To: <20180727160048.GA30487@agmartin.aq.upm.es> Content-Language: ru 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:149032 Archived-At: 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. 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. By the way, I was able to reproduce the problem on the official Windows build of the Emacs with a different version of Hunspell and dictionaries from LibreOffice. > You should not set `ispell-dictionary-alist' yourself. If you really need an > entry with special features, add it to `ispell-local-dictionary-alist', > better with an ad-hoc name. > >>           '(("en_GB" >>              "[A-Za-z]" "[^A-Za-z]" >>              "[']" nil ("-d en_GB") nil iso-8859-1) >> >>             ("ru_RU" >>  "[АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЭЮЯабвгдеёжзийклмнопрстуфхцчшщьыъэюя]" >>  "[^АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЬЫЪЭЮЯабвгдеёжзийклмнопрстуфхцчшщьыъэюя]" >>              "[-]" nil ("-d ru_RU") nil utf-8) > As far as I know hunspell-ru is encoded in koi8-r (at least in Debian > lo-dicts), but you declare it as utf-8. Unless your dict is indeed in utf-8 > and declared as such, this may be the problem. > > ¿What happens if you comment all your "(setq ispell-dictionary-alist ... )" > stuff and just trust the list of available dictionaries provided by Emacs > (Tools/Spellchecking/Change dictionary), selecting ru_RU from it? > > Regards, >