5.1.18 -- TEST RELEASE (SAS fixes, magic S-PLUS converter)
Martin Maechler
maechler at stat.math.ethz.ch
Fri Nov 3 11:34:32 CET 2000
I've found a bug in
M-x ess-fix-miscellaneous
which has been a new feature in 5.1.18:
fixing up S syntax (S-plus, R,..), mostly by
replacing "_" by "<-" and adding spaces around these and "=", "==", etc.}
In 5.1.18, "<=" and ">=" were erronously replaced by "< =" and "> =",
which is really bad.
Please apply the following patch,
or wait for 5.1.19
--- lisp/essl-s.el 2000/10/23 17:07:47 5.21
+++ lisp/essl-s.el 2000/11/03 10:00:57 5.22
@@ -450,9 +450,9 @@
(ess-rep-regexp "\\([^- \t\n]\\)\\([<>]\\)" "\\1 \\2" nil nil verbose)
;; ">" -> "> " , for "<", don't split "<-":
(goto-char from)
- (ess-rep-regexp "\\(>=?\\)\\([^ \t\n]\\)" "\\1 \\2" nil nil verbose)
+ (ess-rep-regexp "\\(>=?\\)\\([^= \t\n]\\)" "\\1 \\2" nil nil verbose)
(goto-char from)
- (ess-rep-regexp "\\(<=?\\)\\([^- \t\n]\\)" "\\1 \\2" nil nil t);; !
+ (ess-rep-regexp "\\(<=?\\)\\([^-= \t\n]\\)" "\\1 \\2" nil nil t);; !
;; -- ensure space around "=", "==", "!=" :
(goto-char from) ;; --> " ="
(ess-rep-regexp "\\([^=!<> ]\\)\\([=!]?\\)=" "\\1 \\2=" nil nil verbose)
Martin Maechler <maechler at stat.math.ethz.ch> http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum LEO D10 Leonhardstr. 27
ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND
phone: x-41-1-632-3408 fax: ...-1228 <><
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
ess-help mailing list -- To (un)subscribe, send
subscribe or unsubscribe
(in the "body", not the subject !) To: ess-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the ESS-help
mailing list