From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#25219: 26.0.50; ispell failing Date: Sun, 18 Dec 2016 11:51:37 +0000 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1482061933 26406 195.159.176.226 (18 Dec 2016 11:52:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 18 Dec 2016 11:52:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin) Cc: 25219@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 18 12:52:10 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 1cIa0e-0005sU-Nr for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Dec 2016 12:52:08 +0100 Original-Received: from localhost ([::1]:39981 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIa0j-00008i-0P for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Dec 2016 06:52:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIa0c-00008d-Pb for bug-gnu-emacs@gnu.org; Sun, 18 Dec 2016 06:52:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIa0Y-0004g7-Tc for bug-gnu-emacs@gnu.org; Sun, 18 Dec 2016 06:52:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58331) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cIa0Y-0004g3-Or for bug-gnu-emacs@gnu.org; Sun, 18 Dec 2016 06:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cIa0Y-00005O-Fx for bug-gnu-emacs@gnu.org; Sun, 18 Dec 2016 06:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Dec 2016 11:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25219-submit@debbugs.gnu.org id=B25219.1482061909306 (code B ref 25219); Sun, 18 Dec 2016 11:52:02 +0000 Original-Received: (at 25219) by debbugs.gnu.org; 18 Dec 2016 11:51:49 +0000 Original-Received: from localhost ([127.0.0.1]:45497 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cIa0K-00004r-Qc for submit@debbugs.gnu.org; Sun, 18 Dec 2016 06:51:48 -0500 Original-Received: from mail-wm0-f43.google.com ([74.125.82.43]:37859) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cIa0I-0008WJ-TX for 25219@debbugs.gnu.org; Sun, 18 Dec 2016 06:51:47 -0500 Original-Received: by mail-wm0-f43.google.com with SMTP id t79so77464832wmt.0 for <25219@debbugs.gnu.org>; Sun, 18 Dec 2016 03:51:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=PsZtvMUHc7U8Gez8ohuusbz4jz3bGRXa8yy/4Tg/Wjs=; b=ZLulJWTKU6HFXUXlE8oojtFhcbAZ6tUVK5JIuysCBf4EwxGmMWhbsj1fLiR0Idoc8V +KINcD9hmDC4rtOvnvcMXi3mFdrF76VwwGt1qjStMC82MkjvvDiAC4S14A/4CaR8RQ+m fcHdwW8aWxc0nSHC6F8Opi5RYZP93DALXMt6wtGajeXfPNxLNaGqdZ4I0HCpW2+pVpWG O0HsDj8/qhtfrdD4ucVe4N7pImrIrhiGe9KWdKbK81KXGkJ5FJdZlZI0kUsKNx3TC3Kt 7fKbZiMt0SSWneyLguF6/utwH6VKANBsxu1oGj9mvJV4mD7SoixUoq+9eTg/Lf84rU4K oOGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=PsZtvMUHc7U8Gez8ohuusbz4jz3bGRXa8yy/4Tg/Wjs=; b=XJd4t5xja7n1NkSIIDKEHnMQHoel/XnBPoIX/Zog4XPGQeszdB5QxoraZmD77JPZd0 pDejMpU6jzdZz9C6huwF1y7BIVyVcb2vY1LJEsP7eqm2+RVEKX/km5rvHDb0jrhNLmDh A8Lhk23KQIC6bn2yg6cN+N7IJ0hCWUcr0Z7pIkGA9ziDSwxI0uVBuGniI2GyNc54ulrp a5L0/zEPnFEeVr7zfMyVcYfTwA8SWqkLOi47V1KN9Siv3N/InlKC4uMQ9FTXCkpd/pjp 1gb8eJrIIj04WEs8o/aeSCLWtTB8bApfwEjgEVl3FJ3kBbT+Bc58XgDMWnFBZRtVzroe /mwQ== X-Gm-Message-State: AIkVDXKJUrEVw1hsCPMhIwemjJuoWIW3rJN2gFtm1RZczwViZn6nnMRGv/CJJJTP2DveqQ== X-Received: by 10.28.214.84 with SMTP id n81mr8895799wmg.120.1482061898944; Sun, 18 Dec 2016 03:51:38 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-f570-80e4-3e8c-1ced.holly.idiocy.org. [2001:8b0:3f8:8129:f570:80e4:3e8c:1ced]) by smtp.gmail.com with ESMTPSA id e188sm12236147wma.21.2016.12.18.03.51.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 18 Dec 2016 03:51:38 -0800 (PST) In-Reply-To: (jpff@birtwistle.i-did-not-set--mail-host-address--so-tickle-me's message of "Sat, 17 Dec 2016 19:54:49 +0000") 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:127122 Archived-At: jpff writes: > Load a text file (I used cvte but every file I have tried failed) > > run M-x ispell-buffer > > watch it fail on fist word not in dictionry > > I use ispell before sending mail (dyslexia and sspect keyboad) > > een this way fo a week or so It looks like this started with commit: db6e1f82976a7f232a4a206a3c850ed34cfbfdd3 The following patch appears to fix the problem for me, but I have my doubts it's the best way to handle it and I've only tested with hunspell. modified lisp/textmodes/ispell.el @@ -3338,7 +3338,7 @@ ispell-process-line ;; Markers can move with highlighting! This destroys ;; end of region markers line-end and ispell-region-end (let ((word-start - (copy-marker (+ ispell-start (car (cdr poss))))) + (copy-marker (+ ispell-start -1 (car (cdr poss))))) (word-len (length (car poss))) (line-end (copy-marker ispell-end)) (line-start (copy-marker ispell-start)) Any thoughts? -- Alan Third