From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Discrepancy in definition/use of match-data? Date: Mon, 14 Jun 2004 19:05:35 +0900 Organization: The XEmacs Project Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87ekoixxn4.fsf@tleepslib.sk.tsukuba.ac.jp> References: <87n03a7as9.fsf@tleepslib.sk.tsukuba.ac.jp> <87vfhx46lc.fsf@tleepslib.sk.tsukuba.ac.jp> <87vfhu20el.fsf@tleepslib.sk.tsukuba.ac.jp> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1087207620 695 80.91.224.253 (14 Jun 2004 10:07:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Jun 2004 10:07:00 +0000 (UTC) Cc: "Stephen J. Turnbull" , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Jun 14 12:06:52 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 1BZoMe-0003Ji-00 for ; Mon, 14 Jun 2004 12:06:52 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BZoMd-0002N1-00 for ; Mon, 14 Jun 2004 12:06:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BZoNT-0002D5-FX for emacs-devel@quimby.gnus.org; Mon, 14 Jun 2004 06:07:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BZoMW-0001i3-3M for emacs-devel@gnu.org; Mon, 14 Jun 2004 06:06:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BZoMT-0001fb-03 for emacs-devel@gnu.org; Mon, 14 Jun 2004 06:06:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BZoMS-0001ep-IA for emacs-devel@gnu.org; Mon, 14 Jun 2004 06:06:40 -0400 Original-Received: from [130.158.98.109] (helo=tleepslib.sk.tsukuba.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BZoLQ-000107-Qi; Mon, 14 Jun 2004 06:05:37 -0400 Original-Received: from steve by tleepslib.sk.tsukuba.ac.jp with local (Exim 3.36 #1 (Debian)) id 1BZoLP-0006pR-00; Mon, 14 Jun 2004 19:05:35 +0900 Original-To: David Kastrup In-Reply-To: (David Kastrup's message of "14 Jun 2004 11:05:42 +0200") User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.5 (chayote, linux) 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:24949 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24949 >>>>> "David" == David Kastrup writes: David> Anyway, the args-out-of-range error that now gets thrown David> gives a basically completely irrelevant second value True. David> Or should one throw a different error altogether in the David> case where match-data is called without a valid match ever David> having been done? That's the solution I chose, except I haven't made it an error yet. When I do, would use invalid-state. -- Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Ask not how you can "do" free software business; ask what your business can "do for" free software.