GNU bug report logs - #9282
Mention the current-buffer requirement in `match-string{, -no-properties}' docstring

Previous Next

Package: emacs;

Reported by: Štěpán Němec <stepnem <at> gmail.com>

Date: Thu, 11 Aug 2011 15:32:02 UTC

Severity: minor

Tags: fixed

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.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 9282 in the body.
You can then email your comments to 9282 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9282; Package emacs. (Thu, 11 Aug 2011 15:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Štěpán Němec <stepnem <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 11 Aug 2011 15:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Štěpán Němec <stepnem <at> gmail.com>
To: bug-gnu-emacs <bug-gnu-emacs <at> gnu.org>
Subject: Mention the current-buffer requirement in `match-string{,
	-no-properties}' docstring
Date: Thu, 11 Aug 2011 17:25:09 +0200
As the info documentation points out[1], when retrieving match data for
a buffer (as opposed to a string), `match-string{,-no-properties}' _must_
be called with the matched buffer current. This is a critical
requirement, so it should also be mentioned in the doc strings, not only
the Elisp manual.

[1] (info "(elisp)Simple Match Data")

-- 
Štěpán




Added tag(s) fixed. Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 11 Sep 2011 02:18:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 24.1, send any further explanations to 9282 <at> debbugs.gnu.org and Štěpán Němec <stepnem <at> gmail.com> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 11 Sep 2011 02:18:02 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9282; Package emacs. (Sun, 11 Sep 2011 02:24:01 GMT) Full text and rfc822 format available.

Message #12 received at 9282 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Štěpán Němec <stepnem <at> gmail.com>
Cc: 9282 <at> debbugs.gnu.org
Subject: Re: Mention the current-buffer requirement in `match-string{,
	-no-properties}' docstring
Date: Sun, 11 Sep 2011 04:10:36 +0200
Štěpán Němec <stepnem <at> gmail.com> writes:

> As the info documentation points out[1], when retrieving match data for
> a buffer (as opposed to a string), `match-string{,-no-properties}' _must_
> be called with the matched buffer current. This is a critical
> requirement, so it should also be mentioned in the doc strings, not only
> the Elisp manual.

Ok; done.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 09 Oct 2011 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 212 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.