From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Discrepancy in definition/use of match-data? Date: Thu, 10 Jun 2004 19:01:04 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1086908558 22859 80.91.224.253 (10 Jun 2004 23:02:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 Jun 2004 23:02:38 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Jun 11 01:02:33 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BYYZ7-00012x-00 for ; Fri, 11 Jun 2004 01:02:33 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BYYZ6-0002VF-00 for ; Fri, 11 Jun 2004 01:02:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BYYZo-0003h7-NH for emacs-devel@quimby.gnus.org; Thu, 10 Jun 2004 19:03:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BYYYT-0003BS-D7 for emacs-devel@gnu.org; Thu, 10 Jun 2004 19:01:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BYYYR-0003Av-IY for emacs-devel@gnu.org; Thu, 10 Jun 2004 19:01:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BYYYQ-0003AC-V2 for emacs-devel@gnu.org; Thu, 10 Jun 2004 19:01:51 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BYYXh-0003zS-Dv for emacs-devel@gnu.org; Thu, 10 Jun 2004 19:01:05 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1BYYXg-0005wg-GX; Thu, 10 Jun 2004 19:01:05 -0400 Original-To: David Kastrup In-reply-to: (message from David Kastrup on 09 Jun 2004 17:37:54 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24808 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24808 I think the fix would be to have match-limit return Qnil instead of flagging an error for the condition n >= search_regs.num_regs Correct? I agree with you.