GNU bug report logs -
#16942
24.3; replace-match does not return t as stated in the manual
Previous Next
Reported by: phillip.lord <at> newcastle.ac.uk (Phillip Lord)
Date: Wed, 5 Mar 2014 16:43:02 UTC
Severity: minor
Found in version 24.3
Fixed in version 24.4
Done: Glenn Morris <rgm <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 16942 in the body.
You can then email your comments to 16942 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#16942
; Package
emacs
.
(Wed, 05 Mar 2014 16:43:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
phillip.lord <at> newcastle.ac.uk (Phillip Lord)
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 05 Mar 2014 16:43:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This is a small documentation bug.
From info node: `(elisp) Replacing Match'
If you did the last search in a buffer, you should omit the STRING
argument or specify `nil' for it, and make sure that the current
buffer is the one in which you performed the last search. Then
this function edits the buffer, replacing the matched text with
REPLACEMENT. It leaves point at the end of the replacement text,
and returns `t'.
In my hands, replace-match returns nil regardless. The docstring does
not mention the return type.
Phil
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Thu, 06 Mar 2014 02:12:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
phillip.lord <at> newcastle.ac.uk (Phillip Lord)
:
bug acknowledged by developer.
(Thu, 06 Mar 2014 02:12:03 GMT)
Full text and
rfc822 format available.
Message #10 received at 16942-done <at> debbugs.gnu.org (full text, mbox):
Version: 24.4
Phillip Lord wrote:
>>From info node: `(elisp) Replacing Match'
>
> If you did the last search in a buffer, you should omit the STRING
> argument or specify `nil' for it, and make sure that the current
> buffer is the one in which you performed the last search. Then
> this function edits the buffer, replacing the matched text with
> REPLACEMENT. It leaves point at the end of the replacement text,
> and returns `t'.
>
> In my hands, replace-match returns nil regardless. The docstring does
> not mention the return type.
I simply undocumented the return value, since it was both uninteresting
and wrong.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 03 Apr 2014 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 28 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.