From unknown Fri Sep 12 12:20:27 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#9282 <9282@debbugs.gnu.org> To: bug#9282 <9282@debbugs.gnu.org> Subject: Status: Mention the current-buffer requirement in `match-string{, -no-properties}' docstring Reply-To: bug#9282 <9282@debbugs.gnu.org> Date: Fri, 12 Sep 2025 19:20:27 +0000 retitle 9282 Mention the current-buffer requirement in `match-string{, -no-= properties}' docstring reassign 9282 emacs submitter 9282 =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec severity 9282 minor tag 9282 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 11:31:33 2011 Received: (at submit) by debbugs.gnu.org; 11 Aug 2011 15:31:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QrXEL-0008Kv-D6 for submit@debbugs.gnu.org; Thu, 11 Aug 2011 11:31:33 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QrXEJ-0008Ko-8a for submit@debbugs.gnu.org; Thu, 11 Aug 2011 11:31:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QrXCw-0002Jg-Vg for submit@debbugs.gnu.org; Thu, 11 Aug 2011 11:30:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:37677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrXCw-0002JY-TK for submit@debbugs.gnu.org; Thu, 11 Aug 2011 11:30:06 -0400 Received: from eggs.gnu.org ([140.186.70.92]:53996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrXCs-0005WR-M6 for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2011 11:30:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QrXCo-0002EC-Gv for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2011 11:30:02 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:33691) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrXCo-0002E5-CW for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2011 11:29:58 -0400 Received: by fxg9 with SMTP id 9so2110130fxg.0 for ; Thu, 11 Aug 2011 08:29:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=TZZgGfnvnmLL/5I2INWxiE/Uz1GjdQQsyjUJeGf66bc=; b=fLsc5esw+NcE5EXeApFCOW9ocIwXOf3ccMDtHMLeEYN8NnUJ6uZaVho04U7GmpAjeL DdEL9dZsFyh+gOg3wFJHtGASB/H3aA+0P9WY8zAWiCF5pLrblB3+ETnIY4wg8933l/+2 SqIoeqHEE7kO6bKCVA1zxyv324ZYw934LMC74= Received: by 10.223.64.80 with SMTP id d16mr13058279fai.86.1313076596773; Thu, 11 Aug 2011 08:29:56 -0700 (PDT) Received: from localhost (176.119.broadband10.iol.cz [90.177.119.176]) by mx.google.com with ESMTPS id j19sm1643858faa.17.2011.08.11.08.29.54 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 11 Aug 2011 08:29:55 -0700 (PDT) From: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= To: bug-gnu-emacs Subject: Mention the current-buffer requirement in `match-string{, -no-properties}' docstring Date: Thu, 11 Aug 2011 17:25:09 +0200 Message-ID: <87r54s9dii.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) 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") --=20 =C5=A0t=C4=9Bp=C3=A1n From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 10 22:17:58 2011 Received: (at control) by debbugs.gnu.org; 11 Sep 2011 02:17:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2ZcL-0005yX-Is for submit@debbugs.gnu.org; Sat, 10 Sep 2011 22:17:57 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2ZcK-0005yR-78 for control@debbugs.gnu.org; Sat, 10 Sep 2011 22:17:56 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1R2ZY9-00066x-B1 for control@debbugs.gnu.org; Sun, 11 Sep 2011 04:13:37 +0200 Date: Sun, 11 Sep 2011 04:10:37 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Magne Ingebrigtsen Subject: control message for bug #9282 X-MailScanner-ID: 1R2ZY9-00066x-B1 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1316312017.53594@zqbzQqaFA8+0IuxmoQzHTQ X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) tags 9282 fixed close 9282 24.1 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 10 22:23:32 2011 Received: (at 9282) by debbugs.gnu.org; 11 Sep 2011 02:23:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2Zhg-00067X-Ge for submit@debbugs.gnu.org; Sat, 10 Sep 2011 22:23:32 -0400 Received: from hermes.netfonds.no ([80.91.224.195]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R2Zhd-00067G-9S for 9282@debbugs.gnu.org; Sat, 10 Sep 2011 22:23:26 -0400 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1R2ZdR-0006Ik-JR; Sun, 11 Sep 2011 04:19:05 +0200 From: Lars Magne Ingebrigtsen To: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= Subject: Re: Mention the current-buffer requirement in `match-string{, -no-properties}' docstring In-Reply-To: <87r54s9dii.fsf@gmail.com> (=?utf-8?B?IsWgdMSbcMOhbiBOxJtt?= =?utf-8?B?ZWMiJ3M=?= message of "Thu, 11 Aug 2011 17:25:09 +0200") Date: Sun, 11 Sep 2011 04:10:36 +0200 Message-ID: References: <87r54s9dii.fsf@gmail.com> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) X-Now-Playing: Tara Jane O'Neil & Nikaido Kazumi's _Tara Jane O'Neil & Nikaido Kazumi_: "Lullaby" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-MailScanner-ID: 1R2ZdR-0006Ik-JR X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1316312345.88076@4GHTEBgmXaHfWP2nasa/3A X-Spam-Status: No X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 9282 Cc: 9282@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec 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. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From unknown Fri Sep 12 12:20:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 09 Oct 2011 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator