From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#24914: 24.5; isearch-regexp: wrong error message Date: Fri, 26 Jan 2018 21:05:31 -0500 Message-ID: <87372sm4yc.fsf@users.sourceforge.net> References: <7c208ac0-8aa2-4db8-a38d-760f91c50500@default> <87h8t7ix7m.fsf@users.sourceforge.net> <87d13visrh.fsf@users.sourceforge.net> <87shcrgg8g.fsf@users.sourceforge.net> <87h8t6gegl.fsf@users.sourceforge.net> <83wp1xwnx1.fsf@gnu.org> <874lp1fipx.fsf@users.sourceforge.net> <83bmj9wan8.fsf@gnu.org> <87vahfe36q.fsf@users.sourceforge.net> <83r2s3t6uv.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1517019048 18609 195.159.176.226 (27 Jan 2018 02:10:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 27 Jan 2018 02:10:48 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 24914@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 27 03:10:43 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 1efFwq-0003iD-R4 for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jan 2018 03:10:28 +0100 Original-Received: from localhost ([::1]:43697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efFyr-0000h4-7T for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Jan 2018 21:12:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37648) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efFsb-0001gR-G9 for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 21:06:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1efFsY-0000Gm-B2 for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 21:06:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36284) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1efFsY-0000Gg-7h for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 21:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1efFsX-0003KJ-WE for bug-gnu-emacs@gnu.org; Fri, 26 Jan 2018 21:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jan 2018 02:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24914 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed patch Original-Received: via spool by 24914-submit@debbugs.gnu.org id=B24914.151701874112760 (code B ref 24914); Sat, 27 Jan 2018 02:06:01 +0000 Original-Received: (at 24914) by debbugs.gnu.org; 27 Jan 2018 02:05:41 +0000 Original-Received: from localhost ([127.0.0.1]:44181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1efFsD-0003Jf-C1 for submit@debbugs.gnu.org; Fri, 26 Jan 2018 21:05:41 -0500 Original-Received: from mail-it0-f45.google.com ([209.85.214.45]:33176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1efFsB-0003JM-Mr; Fri, 26 Jan 2018 21:05:40 -0500 Original-Received: by mail-it0-f45.google.com with SMTP id c102so25896519itd.0; Fri, 26 Jan 2018 18:05:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Q8Z3HgTnuigBhQIJ9D1WueU5sbb/NtaPYRPlTI+5ahs=; b=PXJgtgn2GiBkSI87atawiTdmw6e7W3z4iDALxY2U8VOp+mkEihKU5mLYAGKXJP6ZKd dAIHH8PW6/F6CAXw4abUYLWgLBGsJ69LsbalnwzWqfBXBIjpp1MyyK+jk2arnIufWWIO /tkSczvDYv0NfImtI/W9kxl+ztFjOAPfs5J9DR3irBRfN+q0vmI6moQQkL/ZFOn+24l2 sY4kfZXQCcLE2lMi2p9ZiFG8n6RseU5EaDsgEW9X5D6TEYrCO9jPteB9lr4l/e0UTAZj E9bT8rUY3QoIzRfy6WZWKbTTOTMVZk9JwIgvZqxCWBJZ5GDGZXLxPR9YnWqSU03MYdnx Gc2Q== 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=Q8Z3HgTnuigBhQIJ9D1WueU5sbb/NtaPYRPlTI+5ahs=; b=dVtfPk1czlazbQC49PNbV4Ot5NQ7wPoPPNcWcKTA6MXC/ZD1Qtz8/9+TA7efZq9Yjl /ZxobYIIlC4ve3aTySUoEbNS+PBDJRkDh9iCNBfUYVoLVQRFIdCc546rnBNFJzmux+Zs MSD5trUGCpys6KL/2xQYLIWin9quCLV6Z1XzqH4BLopFJuZTOdflGf/kWu0pb7qiW0ap 2aNkRPibwSYsh++b3/l05DLqUPt+ruva9R8dOr87xyJyqadTNepKr1R1QU0Hgsr04pqY x7a99fkG6qdfQzL07xu9id/PC3rXtc0O+ohOVI/GJfcwVKFdX1t3brVjKGQTOeQ9Xt2n JuqQ== X-Gm-Message-State: AKwxytcE7pjigRTE+wIsy9c4eQZCRA3MCutfcBEjA7uzfjlFGqiqmOTw R3Fe3TVKinI6XtS4SbOTzLPTHg== X-Google-Smtp-Source: AH8x225nf8sJK3L7KIdxf2c7AJU/F75RsAKa+R+QzjXvV3GNAI5bV7wfIPaMUC0Jxi8ki3DCydGAEw== X-Received: by 10.36.40.141 with SMTP id h135mr18735350ith.77.1517018734180; Fri, 26 Jan 2018 18:05:34 -0800 (PST) Original-Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id j77sm1244788iod.47.2018.01.26.18.05.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Jan 2018 18:05:33 -0800 (PST) In-Reply-To: <83r2s3t6uv.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 10 Dec 2017 08:49:44 +0200") 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:142564 Archived-At: tags 24914 fixed close 24914 27.1 quit Eli Zaretskii writes: >> From: Noam Postavsky >> Cc: drew.adams@oracle.com, 24914@debbugs.gnu.org >> Date: Sat, 09 Dec 2017 21:18:05 -0500 >> >> Unfortunately, all this discussion of int size seems to be academic. I >> took another look at the code, there is another limit due to regexp >> opcode format. We can raise the limit to 2^16-1 though. >> [...] >> Here is the updated patch: > > LGTM for master. Thanks for the research and for the patch. Pushed to master [1: 559f160616], also documented limit in emacs-26 [2: 463f96b481]. [1: 559f160616]: 2018-01-26 20:49:44 -0500 Raise limit of regexp repetition (Bug#24914) https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=559f1606166822394df3988c18c0ad02984ac675 [2: 463f96b481]: 2018-01-26 19:53:09 -0500 * doc/lispref/searching.texi: Document regexp repetition limit. https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=463f96b4813fb77d88a7b0fa93f94aa08d71689f