From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#28850: 26.0.90; Error running timer 'jit-lock-stealth-fontify': (error "Invalid search bound (wrong side of point)") Date: Mon, 06 May 2019 18:35:28 +0300 Message-ID: <83h8a7k33z.fsf@gnu.org> References: <20171024203312.GA5875@ACM> <20171025191137.GA16060@ACM> <83wp3h7tar.fsf@gnu.org> <87o94oz210.fsf@tcd.ie> <20190430113302.GB4142@ACM> <8736lzirbn.fsf@tcd.ie> <83h8afsee5.fsf@gnu.org> <83y33qovrw.fsf@gnu.org> <20190504124102.GB4139@ACM> <83pnoyl4t7.fsf@gnu.org> <20190505090622.GA4193@ACM> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="42351"; mail-complaints-to="usenet@blaine.gmane.org" Cc: contovob@tcd.ie, 28850@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 06 17:37:40 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hNfgO-000AnX-Fl for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 May 2019 17:37:36 +0200 Original-Received: from localhost ([127.0.0.1]:58352 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNfgN-0000hP-9R for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 May 2019 11:37:35 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNfeu-00085F-Es for bug-gnu-emacs@gnu.org; Mon, 06 May 2019 11:36:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hNfet-0007jD-Je for bug-gnu-emacs@gnu.org; Mon, 06 May 2019 11:36:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43699) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hNfes-0007hC-83 for bug-gnu-emacs@gnu.org; Mon, 06 May 2019 11:36:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hNfes-0001pU-2C for bug-gnu-emacs@gnu.org; Mon, 06 May 2019 11:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 May 2019 15:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28850 X-GNU-PR-Package: emacs Original-Received: via spool by 28850-submit@debbugs.gnu.org id=B28850.15571569597024 (code B ref 28850); Mon, 06 May 2019 15:36:02 +0000 Original-Received: (at 28850) by debbugs.gnu.org; 6 May 2019 15:35:59 +0000 Original-Received: from localhost ([127.0.0.1]:57243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNfep-0001pD-2I for submit@debbugs.gnu.org; Mon, 06 May 2019 11:35:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hNfem-0001ou-Ao for 28850@debbugs.gnu.org; Mon, 06 May 2019 11:35:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hNfeg-0007RH-6i; Mon, 06 May 2019 11:35:50 -0400 Original-Received: from [176.228.60.248] (port=2916 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hNfeb-0004Yy-IK; Mon, 06 May 2019 11:35:47 -0400 In-reply-to: <20190505090622.GA4193@ACM> (message from Alan Mackenzie on Sun, 5 May 2019 09:06:22 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 209.51.188.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:158836 Archived-At: > Date: Sun, 5 May 2019 09:06:22 +0000 > Cc: contovob@tcd.ie, 28850@debbugs.gnu.org > From: Alan Mackenzie > > That's the theory. The fix, which is now obvious, is to (setq > before-sws-pos ...) after moving back over a macro. Perhaps I should > check the result of c-down-list-backward too, but that's to be done > after checking the current fix. > > I can't actually test this myself, so would you please try out the patch > below in your test setup, and let me know whether it fixes this nasty > bug. With this patch, the problem is gone, so I guess you hit the nail on the head. Thanks. (In terms of testing, I think you can visit textprop.c, then turn on jit-lock-stealth, and let Emacs run for a while. Without the patch, you should see the error message pretty soon.)