all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: gnu-emacs-bug@moderators.isc.org
Subject: Re: `match-data' set improperly
Date: Thu, 13 Feb 2003 05:08:19 -0500	[thread overview]
Message-ID: <E18jGHz-0001tH-00@fencepost.gnu.org> (raw)
In-Reply-To: <3E4A701A.8060302@ihs.com> (message from Kevin Rodgers on Wed, 12 Feb 2003 09:02:34 -0700)

    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.

  reply	other threads:[~2003-02-13 10:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-12  3:16 `match-data' set improperly Matthew Swift
2003-02-12 10:53 ` Kim F. Storm
2003-02-12 19:25   ` Matt Swift
     [not found] ` <mailman.1845.1045043916.21513.bug-gnu-emacs@gnu.org>
2003-02-12 16:02   ` Kevin Rodgers
2003-02-13 10:08     ` Richard Stallman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-02-13  0:54 Luc Teirlinck
2003-02-13  6:42 ` Matt Swift
2003-02-13 12:25   ` Kim F. Storm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E18jGHz-0001tH-00@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=gnu-emacs-bug@moderators.isc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.