Package: maxima-emacs
Version: 5.44.0-2
Severity: normal

Dear Maintainer,

When upgrading from 5.43 to 5.44 maxima-emacs started using 'cl-lib'
instead  of plain 'cl'. There are good reasons for that, 'cl' defines
functions in global namespace while 'cl-lib' has them prefixed by cl-

The problem is that this change breaks maxima-emacs with XEmacs, which
does not provide 'cl-lib'

Compiling /usr/share/xemacs21/site-lisp/maxima/imaxima.el...
While compiling toplevel forms in file
/usr/share/xemacs21/site-lisp/maxima/imaxima.el:
  !! File error (("Cannot open load file" "cl-lib"))
>>Error occurred processing imaxima.el: Cannot open load file: cl-lib

So, either maxima-emacs drops XEmacs support or is patched to regain
old behavior, like in attached patch. I cannot assure that this has no
side effects.

More info:
https://www.emacswiki.org/emacs/CommonLispForEmacs
https://emacs.stackexchange.com/questions/48109/require-cl-or-require-cl-lib

Regards,

--
Agustin
--- imaxima.el.orig	2020-09-02 10:45:30.042838277 +0200
+++ imaxima.el	2020-09-02 10:46:13.260707024 +0200
@@ -80,7 +80,7 @@
 (require 'advice)
 
 (require 'comint)
-(require 'cl-lib)
+(require 'cl)
 
 ;; XEmacs stuff
 
@@ -174,7 +174,7 @@
   :group 'imaxima
   :type (cons 'choice
 	      (mapcar (lambda (type) (list 'const type))
-		      (cl-remove-if-not 'imaxima-image-type-available-p
+		      (remove-if-not 'imaxima-image-type-available-p
 				     imaxima-image-types))))
 
 (defcustom imaxima-pt-size 11

Reply via email to