From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" 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: Tue, 30 Apr 2019 14:44:27 +0100 Message-ID: <87wojb7glg.fsf@tcd.ie> References: <83lgkcgzs9.fsf@gnu.org> <20171022201340.GA16074@ACM> <834lqoa9jj.fsf@gnu.org> <20171024203312.GA5875@ACM> <20171025191137.GA16060@ACM> <83wp3h7tar.fsf@gnu.org> <87o94oz210.fsf@tcd.ie> <20190430113302.GB4142@ACM> <8736lzirbn.fsf@tcd.ie> <20190430133203.GC4142@ACM> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="237259"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 28850@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 30 15:45:13 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 1hLT4K-000zRB-Ke for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Apr 2019 15:45:12 +0200 Original-Received: from localhost ([127.0.0.1]:47462 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLT4J-00025x-Lo for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Apr 2019 09:45:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hLT4B-000247-Dz for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 09:45:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hLT4A-0004Fe-By for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 09:45:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55545) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hLT4A-0004FK-8A for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 09:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hLT4A-0007WD-2W for bug-gnu-emacs@gnu.org; Tue, 30 Apr 2019 09:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Apr 2019 13:45: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.155663187828853 (code B ref 28850); Tue, 30 Apr 2019 13:45:02 +0000 Original-Received: (at 28850) by debbugs.gnu.org; 30 Apr 2019 13:44:38 +0000 Original-Received: from localhost ([127.0.0.1]:40856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLT3l-0007VJ-Rp for submit@debbugs.gnu.org; Tue, 30 Apr 2019 09:44:38 -0400 Original-Received: from mail-wr1-f47.google.com ([209.85.221.47]:36069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hLT3j-0007V5-Tp for 28850@debbugs.gnu.org; Tue, 30 Apr 2019 09:44:36 -0400 Original-Received: by mail-wr1-f47.google.com with SMTP id o4so9157759wra.3 for <28850@debbugs.gnu.org>; Tue, 30 Apr 2019 06:44:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=28bPAz3pzdDEXeg/7RAN9ZTeUIvhLVZXdcfCvF4E2P8=; b=NvAvBZjhjv0DA0tyqU+87ccjeDaboxnOvIxikCoq+LkF1xNBUpcmgOPpyycD5/woQE cu5ZuSdi9pCWPCPgbKgRFSGKsoFWHWesCliLuEz22Gkx1zapBMLAIt3uGzRR7vALWtsB AVBLoDwacCXYsJoICexV2zTsE+VMWSvAA/z/bcPF2r0REp/K3tB5XUPlixa+iUDzVZPY aqkl6W1CKKBYFBJ/nL+9A7TdGJE2gHGkgvpRyrzxJAArGZBEO9cjcf8lwn0vBGlG/gWl QpDJ3LVem6/KepU8jYQ1zxDAUdXxmQFowZJmqPGMXZUGERN82aaQCLDxyLEeZ+W1HrxH Z7Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=28bPAz3pzdDEXeg/7RAN9ZTeUIvhLVZXdcfCvF4E2P8=; b=k8derzyg1OwKmZJUlgoqNTF9IMNq1r7sG1OHBbPvWUCdnfDRI078nei982hiTJNX7i Itm9lQKu3gh5CmtYYytdSz+NXD2O70q2lYNR6Q72MoNbj8Xeyx+YrOwFfcIwz17mgTjh A90ENUwTysc2X4PZSkE4U5r10xoKBD3QdppzcHNM3AzZ90gxIHFreVy41Ps4qyceGaql zP0O3m1os4FQCD33tAn6sKQn9c75N0/MJGrdHBIvrL0JAeClgTgv/gSTsch8hYZahevU n7L0i+F2/asVwJqbfirz8sLPH3h28xopHp+FJQ5voOcE2j/1mqaM2Kq8EhDVrbH9aUMe z+lA== X-Gm-Message-State: APjAAAWw28eBjhJiGv0FzWaQ1jp8y1UoIwPuLnP1f/R3O75yZ6yHRm6T eux/qLpBSE6I2JGYg+kqVfH4Cg== X-Google-Smtp-Source: APXvYqyAKuTW/ZktmZwuU8LDmQbWizQsgyxKZLIUIEUfKy0BeLr5MQ+WAyzlO98c/dSTGhQfng3AhA== X-Received: by 2002:adf:db8a:: with SMTP id u10mr32745793wri.82.1556631870120; Tue, 30 Apr 2019 06:44:30 -0700 (PDT) Original-Received: from localhost ([163.172.211.46]) by smtp.gmail.com with ESMTPSA id b11sm4693391wmh.29.2019.04.30.06.44.28 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 30 Apr 2019 06:44:29 -0700 (PDT) In-Reply-To: <20190430133203.GC4142@ACM> (Alan Mackenzie's message of "Tue, 30 Apr 2019 13:32:03 +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: 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:158493 Archived-At: Alan Mackenzie writes: > Hello Basil. > > On Tue, Apr 30, 2019 at 13:57:16 +0100, Basil L. Contovounesios wrote: >> Alan Mackenzie writes: > >> > The cause of this is a (search-forward-regexp limit t) in a loop, where >> > the code fails to check (< (point) limit) at the start. In textprop.c in >> > master, it so happens that the last successful iteration of the loop >> > leaves point beyond limit. So we get the exception. > >> > This is easy to correct, but first I'm going to check for all the other >> > places where the same mistake occurs. Expect a patch soon! > >> How exciting! Thanks for looking into this so quickly. > > I've just committed a patch to all the usual places (including the > savannah master) which I'm confident will have fixed the bug. Feel free > to test this (and tell me what isn't quite fixed ;-). Thanks, I've had no problems so far. I definitely can't reproduce the error in the OP any more, so you can close the report again as far as I'm concerned. > I'm just thinking, maybe this fix should have gone into the emacs-26 > branch. Not sure about that. The patch looks unproblematic enough to me, but that is, of course, Eli's call. Thanks, -- Basil