unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Numbered regexps throw invalid regex error
Date: Thu, 26 Jan 2012 10:29:28 +0100	[thread overview]
Message-ID: <4F211CF8.3080608@easy-emacs.de> (raw)
In-Reply-To: <loom.20120126T092647-897@post.gmane.org>

Am 26.01.2012 09:30, schrieb Tom:
> Andreas Röhler<andreas.roehler<at>  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.






  reply	other threads:[~2012-01-26  9:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-25 10:17 Numbered regexps throw invalid regex error Tom
2012-01-25 17:21 ` Andreas Röhler
2012-01-25 17:51   ` Tom
2012-01-25 20:02     ` Andreas Röhler
2012-01-25 20:14       ` Tom
2012-01-25 20:37         ` Andreas Röhler
2012-01-26  8:30           ` Tom
2012-01-26  9:29             ` Andreas Röhler [this message]
2012-01-26 11:52             ` Tim Landscheidt
2012-01-26 14:36               ` Tom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F211CF8.3080608@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).