[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Thu, 18 Mar 2004 17:35:39 +0000
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)
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
2004-03-18 Dave Love <address@hidden>
* emacs-lisp/rx.el (rx): Work at compile time, not run time.
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 <address@hidden>
;; Maintainer: FSF
@@ -799,6 +799,9 @@ CHAR
`(repeat N M SEXP)'
matches N to M occurrences of what SEXP matches.
+ matches what was matched previously by submatch N.
evaluate FORM and insert result. If result is a string,
@@ -806,7 +809,7 @@ CHAR
include REGEXP in string notation in the result."
- `(rx-to-string ',regexp))
+ (rx-to-string regexp))
- rx.el changes,
Dave Love <=