GNU bug report logs -
#23884
24.5; `(query)-replace-regexp` doc: be clearer about \N
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Sat, 2 Jul 2016 14:37:02 UTC
Severity: minor
Found in version 24.5
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23884 in the body.
You can then email your comments to 23884 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#23884
; Package
emacs
.
(Sat, 02 Jul 2016 14:37:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Drew Adams <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 02 Jul 2016 14:37:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Please make it clear what N is in \N in a replacement pattern. State
that \0 matches the entire input pattern, rather than the first
subgroup. Users of Emacs regexps might be used to this, but it doesn't
hurt to call it out explicitly in this doc (both manual and doc
strings).
Here is proof that at least one user, who was trying to use this feature
normally, and seems to be quite competent, tried to use \0 to match the
first subgroup:
http://emacs.stackexchange.com/q/24329/105
In GNU Emacs 24.5.1 (i686-pc-mingw32)
of 2015-04-11 on LEG570
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --prefix=/c/usr --host=i686-pc-mingw32'
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Sat, 02 Jul 2016 15:07:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Drew Adams <drew.adams <at> oracle.com>
:
bug acknowledged by developer.
(Sat, 02 Jul 2016 15:07:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 23884-done <at> debbugs.gnu.org (full text, mbox):
> Date: Sat, 2 Jul 2016 07:36:23 -0700 (PDT)
> From: Drew Adams <drew.adams <at> oracle.com>
>
> Please make it clear what N is in \N in a replacement pattern. State
> that \0 matches the entire input pattern, rather than the first
> subgroup. Users of Emacs regexps might be used to this, but it doesn't
> hurt to call it out explicitly in this doc (both manual and doc
> strings).
>
> Here is proof that at least one user, who was trying to use this feature
> normally, and seems to be quite competent, tried to use \0 to match the
> first subgroup:
>
> http://emacs.stackexchange.com/q/24329/105
Whole generations of programmers were brain-washed with the zero-based
counting, and with the idea that reading the documentation is not
necessary.
Fixed.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 31 Jul 2016 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 18 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.