From: Richard Stallman <rms@gnu.org>
Subject: rx.el change
Date: Sat, 20 Mar 2004 23:59:30 -0500 [thread overview]
Message-ID: <E1B4v3a-0008Ep-Li@fencepost.gnu.org> (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
reply other threads:[~2004-03-21 4:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=E1B4v3a-0008Ep-Li@fencepost.gnu.org \
--to=rms@gnu.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.