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: rx.el change Date: Sat, 20 Mar 2004 23:59:30 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1079845634 19470 80.91.224.253 (21 Mar 2004 05:07:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 21 Mar 2004 05:07:14 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Mar 21 06:07:11 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 1B4vB1-0001cC-00 for ; Sun, 21 Mar 2004 06:07:11 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B4vB0-0005Gi-00 for ; Sun, 21 Mar 2004 06:07:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4vAW-0002Ox-Jl for emacs-devel@quimby.gnus.org; Sun, 21 Mar 2004 00:06:40 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B4v8H-0001YW-9z for emacs-devel@gnu.org; Sun, 21 Mar 2004 00:04:21 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B4v7i-0001MX-FI for emacs-devel@gnu.org; Sun, 21 Mar 2004 00:04:17 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B4v7i-0001MR-5i for emacs-devel@gnu.org; Sun, 21 Mar 2004 00:03:46 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1B4v3a-0008Ep-Li; Sat, 20 Mar 2004 23:59:30 -0500 Original-To: emacs-devel@gnu.org 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:20663 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20663 Would someone please install this? To: emacs-pretest-bug@gnu.org From: Dave Love Date: Thu, 18 Mar 2004 17:35:39 +0000 Subject: rx.el changes Sender: emacs-pretest-bug-bounces+rms=gnu.org@gnu.org The changes to rx.el since 21.3 need to go in NEWS. The following change isn't there, though I thought I sent it. It makes `rx' work the way it appears to have been intended in view of the doc, the fact it's basically redundant with rx-to-string otherwise, and being what you normally want. It's unlikely to affect much usage, and there have been incompatible changes made already. I don't understand why error messages were changed to start `rx' instead of `Rx', against the conventions for error messages and package names. 2004-03-18 Dave Love * emacs-lisp/rx.el (rx): Work at compile time, not run time. Index: rx.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/emacs-lisp/rx.el,v retrieving revision 1.8 diff -u -p -u -r1.8 rx.el --- rx.el 16 Feb 2004 16:50:18 -0000 1.8 +++ rx.el 18 Mar 2004 17:21:51 -0000 @@ -1,6 +1,6 @@ ;;; rx.el --- sexp notation for regular expressions -;; Copyright (C) 2001 Free Software Foundation, Inc. +;; Copyright (C) 2001, 2003 Free Software Foundation, Inc. ;; Author: Gerd Moellmann ;; Maintainer: FSF @@ -799,6 +799,9 @@ CHAR `(repeat N M SEXP)' matches N to M occurrences of what SEXP matches. +`(backref N)' + matches what was matched previously by submatch N. + `(eval FORM)' evaluate FORM and insert result. If result is a string, `regexp-quote' it. @@ -806,7 +809,7 @@ CHAR `(regexp REGEXP)' include REGEXP in string notation in the result." - `(rx-to-string ',regexp)) + (rx-to-string regexp)) (provide 'rx) _______________________________________________ Emacs-pretest-bug mailing list Emacs-pretest-bug@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-pretest-bug