From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= Newsgroups: gmane.emacs.help Subject: Re: Numbered regexps throw invalid regex error Date: Thu, 26 Jan 2012 10:29:28 +0100 Message-ID: <4F211CF8.3080608@easy-emacs.de> References: <4F203A13.20105@easy-emacs.de> <4F205FC5.90106@easy-emacs.de> <4F206810.7080001@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1327570191 736 80.91.229.12 (26 Jan 2012 09:29:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Jan 2012 09:29:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 26 10:29:45 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RqLeL-0004cs-35 for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Jan 2012 10:29:45 +0100 Original-Received: from localhost ([::1]:53722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqLeK-0002he-Hr for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Jan 2012 04:29:44 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:54068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqLeD-0002hZ-C4 for help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 04:29:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqLe8-0008GV-Pl for help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 04:29:37 -0500 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:60486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqLe8-0008GC-HD for help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 04:29:32 -0500 Original-Received: from [192.168.178.27] (brln-4db9db3c.pool.mediaWays.net [77.185.219.60]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0Lv6gg-1SZ8Yt2aME-010Y8J; Thu, 26 Jan 2012 10:29:31 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.24) Gecko/20111101 SUSE/3.1.16 Thunderbird/3.1.16 In-Reply-To: X-Provags-ID: V02:K0:PR+IkGFZd3KTLB1z9v9ff30xXXqGHFQ1i9Ibt5UHNgK ltTqu1DM8xHFH8z1BfiT6M6TTxb18FmLYelNSNMiD9Jc/h7XjM J6Ln+kxpMwTqdjf9sG+s8Z0P06nbUBaQcGLps6FcxYaZxoGEW9 7Bi4Bb+vEX7pgbTfKNtGfUiUUP4WvPQ6FEDmP2YLSMGWBzDc8u RLKO9G7WOXghII84qR0PWmCk6r1x+JMmZYaW8BTVxO2iW47a/y abPCgfyHQMUvVGENewFO2FEnCako/N2eq3QOQh2EuEgjrzJuB9 sU3rhPCdshYRGmm46Ndx3opOjqH4CmjO+Srfv9GfxAkFqH5Jx9 1r8JENZoRY4z3MFvG6cGJSl475iGxVngmLBQ9i+RT X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.10 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83568 Archived-At: Am 26.01.2012 09:30, schrieb Tom: > Andreas Röhler easy-emacs.de> writes: >>> >>> There is no mention of an automatic assignment. It says the last one >>> will win, so assigning a number which is already used for >>> a previous group should work. >>> >> >> would consider it a bug then - at least a docu bug >> > > I don't think it's a doc bug. The whole point of the feature is that > you can assign constant numbers to groups, so they don't change if you > add/remove parens. > > If it can suddenly throw a regexp error, just because you've added > a paren around an other paren then it pretty much defeats the > prupose of the feature. > > > > Probably. OTOH one may arg the error message helps counting. Could think of a static variant --as is-- as it provides some security. OTOH one may think at dynamic environments which can't be handled that way. Anyway in favor of a bug report.