Hello
There are at least two versions of babel.el which allows to use the
babelfish translation service.
- the first, original one, by Eric Marsden seems GNU emacs
specific, although it talks about Xemacs.
However the pkg does not work since it complains about
string-make-unibyte which seems specific GNU emacs.
Is there any Xemacs (Mule) function which does the same thing and could
then be aliased?
The relevant code is just
(defun babel-form-encode (pairs)
"Return PAIRS encoded for forms."
(require 'w3-forms)
(mapconcat
(lambda (data)
(concat (w3-form-encode-xwfu (string-make-unibyte (car data))) "="
(w3-form-encode-xwfu (string-make-unibyte (cdr data)))))
pairs "&"))
The other more recent version
by Juergen Hoetzel <juergen(a)hoetzel.info>
is even more demanding emacs 22 is needed and the following functions
are not known to be defined
** The following functions are not known to be defined:
sentence-end, url-retrieve-synchronously, babel-make-unibyte
However
(cond ((fboundp 'string-make-unibyte)
(fset 'babel-make-unibyte #'string-make-unibyte))
((fboundp 'string-as-unibyte)
(fset 'babel-make-unibyte #'string-as-unibyte))
(t
(fset 'babel-make-unibyte #'identity)))
Tells me that is again about string-make-unibyte.
The 2 other functions I don't know
sentence-end, url-retrieve-synchronously
do there exist and Xemacs equivalent?
It seems that url-retrieve-synchronously causes problem as the following
shows.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta