On Thursday 27 September 2007, Stephen J. Turnbull wrote:
Ville Skyttä writes:
> > > (replace-match "p." t t master 2) produces "p.".
Aha!
> > >
> > > It looks like the replace-match sexp needs help.
> >
> > Thanks for the analysis, Mike! Actually, I don't think we can sanely
> > use replace-match in this case at all.
Do my patches to 21.5 address this issue?
With the sample test case I have available for the issue, it seems to indeed.
Thanks!
Unpatched:
(let ((master "/home/kupfer/src/lib.local/SCCS/s.build-intel"))
(string-match "\\(.*/\\)\\(s\\.\\)\\(.*\\)" master)
(replace-match "p." t t master 2))
"p."
Patched:
(let ((master "/home/kupfer/src/lib.local/SCCS/s.build-intel"))
(string-match "\\(.*/\\)\\(s\\.\\)\\(.*\\)" master)
(replace-match "p." t t master 2))
"/home/kupfer/src/lib.local/SCCS/p.build-intel"
(Your patch is still
needed, at least until Vin approves and releases a patched version of
21.4, of course.)
Yep, and probably also some time after that - I'm not quite sure what the
policy about how old versions of XEmacs should stuff in the packages tree
support is, but I personally think not only the latest in the 21.4 branch,
but also at least a few minor 21.4.x releases before it.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches