From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: Re: `match-data' set improperly Date: Thu, 13 Feb 2003 05:08:19 -0500 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <200302120316.h1C3Gvcu007789@beth.swift.xxx> <3E4A701A.8060302@ihs.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1045131108 7663 80.91.224.249 (13 Feb 2003 10:11:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 13 Feb 2003 10:11:48 +0000 (UTC) Cc: gnu-emacs-bug@moderators.isc.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18jGIP-0001oO-00 for ; Thu, 13 Feb 2003 11:08:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18jGIH-0002xI-0C for gnu-bug-gnu-emacs@m.gmane.org; Thu, 13 Feb 2003 05:08:37 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18jGI6-0002uN-00 for bug-gnu-emacs@prep.ai.mit.edu; Thu, 13 Feb 2003 05:08:26 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18jGI4-0002tT-00 for bug-gnu-emacs@prep.ai.mit.edu; Thu, 13 Feb 2003 05:08:24 -0500 Original-Received: from horus.isnic.is ([193.4.58.12]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18jGI2-0002t7-00 for bug-gnu-emacs@prep.ai.mit.edu; Thu, 13 Feb 2003 05:08:23 -0500 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [199.232.76.164]) by horus.isnic.is (8.12.3/8.12.3/isnic) with ESMTP id h1DA8LtJ028500 for ; Thu, 13 Feb 2003 10:08:22 GMT (envelope-from rms@gnu.org) Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18jGHz-0001tH-00; Thu, 13 Feb 2003 05:08:19 -0500 Original-To: Kevin Rodgers In-reply-to: <3E4A701A.8060302@ihs.com> (message from Kevin Rodgers on Wed, 12 Feb 2003 09:02:34 -0700) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4453 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4453 I think match-beginning, match-end, and string-match should signal an error if match-data is nil. This is the sort of thing that is really more risky than it looks like. You can convince yourself that nothing will break, and if it is, it had a bug anyway. But the end result is that it makes for more work. This might be a change for the better in the long term, despite that; but we have enough work now, so let's not make more. Meanwhile, we should really focus on changes that make Emacs more powerful for users, not on elegance of the programming system.