* rx.el change
@ 2004-03-21 4:59 Richard Stallman
0 siblings, 0 replies; only message in thread
From: Richard Stallman @ 2004-03-21 4:59 UTC (permalink / raw)
Would someone please install this?
To: emacs-pretest-bug@gnu.org
From: Dave Love <d.love@dl.ac.uk>
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 <fx@gnu.org>
* 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 <gerd@gnu.org>
;; 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-03-21 4:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-21 4:59 rx.el change Richard Stallman
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.