From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.bugs Subject: bug#17373: 24.3.50; match data is incorrect if there are too many groups Date: Wed, 10 Feb 2016 18:11:54 +0100 Message-ID: <8737t0qylh.fsf@wmi.amu.edu.pl> References: <87ppk0hrkg.fsf@yahoo.fr> <53799AF5.9090708@cs.ucla.edu> <3dc9fa47-c3d8-40e2-b6e4-3f362a0c1b6e@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455124348 3107 80.91.229.3 (10 Feb 2016 17:12:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Feb 2016 17:12:28 +0000 (UTC) Cc: Paul Eggert To: 17373@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 10 18:12:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aTYJF-00006z-RV for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Feb 2016 18:12:09 +0100 Original-Received: from localhost ([::1]:41223 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTYJF-0006EC-86 for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Feb 2016 12:12:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTYJC-0006Ds-AQ for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 12:12:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTYJ8-0005zl-AF for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 12:12:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTYJ8-0005zh-6O for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 12:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aTYJ8-0004oq-2T for bug-gnu-emacs@gnu.org; Wed, 10 Feb 2016 12:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Marcin Borkowski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Feb 2016 17:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17373 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17373-submit@debbugs.gnu.org id=B17373.145512431918515 (code B ref 17373); Wed, 10 Feb 2016 17:12:02 +0000 Original-Received: (at 17373) by debbugs.gnu.org; 10 Feb 2016 17:11:59 +0000 Original-Received: from localhost ([127.0.0.1]:35215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTYJ5-0004oZ-JU for submit@debbugs.gnu.org; Wed, 10 Feb 2016 12:11:59 -0500 Original-Received: from msg.wmi.amu.edu.pl ([150.254.78.50]:40634) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aTYJ3-0004oQ-Vi for 17373@debbugs.gnu.org; Wed, 10 Feb 2016 12:11:58 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 41BA87C964; Wed, 10 Feb 2016 18:11:56 +0100 (CET) Original-Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id usnFlpKAyCE8; Wed, 10 Feb 2016 18:11:56 +0100 (CET) Original-Received: from localhost (unknown [109.232.24.28]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id E1F847C940; Wed, 10 Feb 2016 18:11:55 +0100 (CET) In-Reply-To: <3dc9fa47-c3d8-40e2-b6e4-3f362a0c1b6e@default> (Drew Adams's message of "Mon, 19 May 2014 06:48:16 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112860 Archived-At: On 2014-05-19, at 07:48, Drew Adams wrote: >> Yes, unfortunately Emacs currently has a limit of at most 256 groups of >> match data: one for the entire pattern, and 255 for parenthesized >> subpatterns. If you go over the limit, the excess matches are silently >> discarded. I don't see this limitation documented anywhere; it should >> be. Or better yet, the limitation should be removed. > > Good to know. +1, to documenting it, at least. I can write a patch to the manual, but I'm a bit afraid that if this gets documented, the limit will stay there forever. Is there a chance of someone fluent in C to fix this? (Incidentally, I have one package of mine where this limit could strike, too.) Best, -- Marcin Borkowski